Advertisement
Guest User

Untitled

a guest
Oct 11th, 2012
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.42 KB | None | 0 0
  1. Boot Info Script 0.61 [1 April 2012]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. for (,msdos5)/boot/grub on this drive.
  9. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13. File system: swap
  14. Boot sector type: -
  15. Boot sector info:
  16.  
  17. sda2: __________________________________________________________________________
  18.  
  19. File system: Extended Partition
  20. Boot sector type: -
  21. Boot sector info:
  22.  
  23. sda5: __________________________________________________________________________
  24.  
  25. File system: ext4
  26. Boot sector type: -
  27. Boot sector info:
  28. Operating System: Ubuntu 12.04.1 LTS
  29. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  30.  
  31. sda6: __________________________________________________________________________
  32.  
  33. File system: ext4
  34. Boot sector type: -
  35. Boot sector info:
  36. Operating System:
  37. Boot files:
  38.  
  39. sdb1: __________________________________________________________________________
  40.  
  41. File system: vfat
  42. Boot sector type: SYSLINUX 4.05 20120131
  43. Boot sector info: Syslinux looks at sector 1451400 of /dev/sdb1 for its
  44. second stage. SYSLINUX is installed in the directory.
  45. According to the info in the boot sector, sdb1 starts
  46. at sector 0. But according to the info from fdisk,
  47. sdb1 starts at sector 62.
  48. Operating System:
  49. Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
  50. /efi/boot/bootx64.efi /ldlinux.sys
  51.  
  52. ============================ Drive/Partition Info: =============================
  53.  
  54. Drive: sda _____________________________________________________________________
  55.  
  56. Disk /dev/sda: 750.2 GB, 750156374016 bytes
  57. 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
  58. Units = sectors of 1 * 512 = 512 bytes
  59. Sector size (logical/physical): 512 bytes / 4096 bytes
  60.  
  61. Partition Boot Start Sector End Sector # of Sectors Id System
  62.  
  63. /dev/sda1 * 2,048 15,929,343 15,927,296 82 Linux swap / Solaris
  64. /dev/sda2 15,931,390 1,465,147,391 1,449,216,002 5 Extended
  65. /dev/sda5 15,931,392 293,273,599 277,342,208 83 Linux
  66. /dev/sda6 293,275,648 1,465,147,391 1,171,871,744 83 Linux
  67.  
  68.  
  69. Drive: sdb _____________________________________________________________________
  70.  
  71. Disk /dev/sdb: 8075 MB, 8075083776 bytes
  72. 249 heads, 62 sectors/track, 1021 cylinders, total 15771648 sectors
  73. Units = sectors of 1 * 512 = 512 bytes
  74. Sector size (logical/physical): 512 bytes / 512 bytes
  75.  
  76. Partition Boot Start Sector End Sector # of Sectors Id System
  77.  
  78. /dev/sdb1 * 62 15,762,197 15,762,136 c W95 FAT32 (LBA)
  79.  
  80.  
  81. "blkid" output: ________________________________________________________________
  82.  
  83. Device UUID TYPE LABEL
  84.  
  85. /dev/loop0 squashfs
  86. /dev/loop1 0560cb51-783c-4046-a918-6140e306f402 ext3
  87. /dev/sda1 8ca96f5f-0d09-428e-9bfa-5eb50d03106c swap
  88. /dev/sda5 8f348824-72af-4b39-8a8e-c0e99e0868ba ext4
  89. /dev/sda6 7b9b22c0-a45d-42c3-81a6-79ebccf0602b ext4
  90. /dev/sdb1 53D2-D883 vfat
  91.  
  92. ================================ Mount points: =================================
  93.  
  94. Device Mount_Point Type Options
  95.  
  96. /dev/loop0 /rofs squashfs (ro,noatime)
  97. /dev/sdb1 /cdrom vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  98.  
  99.  
  100. =========================== sda5/boot/grub/grub.cfg: ===========================
  101.  
  102. --------------------------------------------------------------------------------
  103. #
  104. # DO NOT EDIT THIS FILE
  105. #
  106. # It is automatically generated by grub-mkconfig using templates
  107. # from /etc/grub.d and settings from /etc/default/grub
  108. #
  109.  
  110. ### BEGIN /etc/grub.d/00_header ###
  111. if [ -s $prefix/grubenv ]; then
  112. set have_grubenv=true
  113. load_env
  114. fi
  115. set default="0"
  116. if [ "${prev_saved_entry}" ]; then
  117. set saved_entry="${prev_saved_entry}"
  118. save_env saved_entry
  119. set prev_saved_entry=
  120. save_env prev_saved_entry
  121. set boot_once=true
  122. fi
  123.  
  124. function savedefault {
  125. if [ -z "${boot_once}" ]; then
  126. saved_entry="${chosen}"
  127. save_env saved_entry
  128. fi
  129. }
  130.  
  131. function recordfail {
  132. set recordfail=1
  133. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  134. }
  135.  
  136. function load_video {
  137. insmod vbe
  138. insmod vga
  139. insmod video_bochs
  140. insmod video_cirrus
  141. }
  142.  
  143. insmod part_msdos
  144. insmod ext2
  145. set root='(hd0,msdos5)'
  146. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  147. if loadfont /usr/share/grub/unicode.pf2 ; then
  148. set gfxmode=auto
  149. load_video
  150. insmod gfxterm
  151. insmod part_msdos
  152. insmod ext2
  153. set root='(hd0,msdos5)'
  154. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  155. set locale_dir=($root)/boot/grub/locale
  156. set lang=en_US
  157. insmod gettext
  158. fi
  159. terminal_output gfxterm
  160. if [ "${recordfail}" = 1 ]; then
  161. set timeout=10
  162. else
  163. set timeout=10
  164. fi
  165. ### END /etc/grub.d/00_header ###
  166.  
  167. ### BEGIN /etc/grub.d/05_debian_theme ###
  168. set menu_color_normal=white/black
  169. set menu_color_highlight=black/light-gray
  170. if background_color 44,0,30; then
  171. clear
  172. fi
  173. ### END /etc/grub.d/05_debian_theme ###
  174.  
  175. ### BEGIN /etc/grub.d/10_linux ###
  176. function gfxmode {
  177. set gfxpayload="${1}"
  178. if [ "${1}" = "keep" ]; then
  179. set vt_handoff=vt.handoff=7
  180. else
  181. set vt_handoff=
  182. fi
  183. }
  184. if [ "${recordfail}" != 1 ]; then
  185. if [ -e ${prefix}/gfxblacklist.txt ]; then
  186. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  187. if [ ${match} = 0 ]; then
  188. set linux_gfx_mode=keep
  189. else
  190. set linux_gfx_mode=text
  191. fi
  192. else
  193. set linux_gfx_mode=text
  194. fi
  195. else
  196. set linux_gfx_mode=keep
  197. fi
  198. else
  199. set linux_gfx_mode=text
  200. fi
  201. export linux_gfx_mode
  202. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  203. menuentry 'Ubuntu, with Linux 3.2.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  204. recordfail
  205. gfxmode $linux_gfx_mode
  206. insmod gzio
  207. insmod part_msdos
  208. insmod ext2
  209. set root='(hd0,msdos5)'
  210. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  211. linux /boot/vmlinuz-3.2.0-31-generic root=UUID=8f348824-72af-4b39-8a8e-c0e99e0868ba ro quiet splash $vt_handoff
  212. initrd /boot/initrd.img-3.2.0-31-generic
  213. }
  214. menuentry 'Ubuntu, with Linux 3.2.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  215. recordfail
  216. insmod gzio
  217. insmod part_msdos
  218. insmod ext2
  219. set root='(hd0,msdos5)'
  220. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  221. echo 'Loading Linux 3.2.0-31-generic ...'
  222. linux /boot/vmlinuz-3.2.0-31-generic root=UUID=8f348824-72af-4b39-8a8e-c0e99e0868ba ro recovery nomodeset
  223. echo 'Loading initial ramdisk ...'
  224. initrd /boot/initrd.img-3.2.0-31-generic
  225. }
  226. submenu "Previous Linux versions" {
  227. menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  228. recordfail
  229. gfxmode $linux_gfx_mode
  230. insmod gzio
  231. insmod part_msdos
  232. insmod ext2
  233. set root='(hd0,msdos5)'
  234. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  235. linux /boot/vmlinuz-3.2.0-29-generic root=UUID=8f348824-72af-4b39-8a8e-c0e99e0868ba ro quiet splash $vt_handoff
  236. initrd /boot/initrd.img-3.2.0-29-generic
  237. }
  238. menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  239. recordfail
  240. insmod gzio
  241. insmod part_msdos
  242. insmod ext2
  243. set root='(hd0,msdos5)'
  244. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  245. echo 'Loading Linux 3.2.0-29-generic ...'
  246. linux /boot/vmlinuz-3.2.0-29-generic root=UUID=8f348824-72af-4b39-8a8e-c0e99e0868ba ro recovery nomodeset
  247. echo 'Loading initial ramdisk ...'
  248. initrd /boot/initrd.img-3.2.0-29-generic
  249. }
  250. }
  251. ### END /etc/grub.d/10_linux ###
  252.  
  253. ### BEGIN /etc/grub.d/20_linux_xen ###
  254. ### END /etc/grub.d/20_linux_xen ###
  255.  
  256. ### BEGIN /etc/grub.d/20_memtest86+ ###
  257. menuentry "Memory test (memtest86+)" {
  258. insmod part_msdos
  259. insmod ext2
  260. set root='(hd0,msdos5)'
  261. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  262. linux16 /boot/memtest86+.bin
  263. }
  264. menuentry "Memory test (memtest86+, serial console 115200)" {
  265. insmod part_msdos
  266. insmod ext2
  267. set root='(hd0,msdos5)'
  268. search --no-floppy --fs-uuid --set=root 8f348824-72af-4b39-8a8e-c0e99e0868ba
  269. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  270. }
  271. ### END /etc/grub.d/20_memtest86+ ###
  272.  
  273. ### BEGIN /etc/grub.d/30_os-prober ###
  274. if [ "x${timeout}" != "x-1" ]; then
  275. if keystatus; then
  276. if keystatus --shift; then
  277. set timeout=10
  278. else
  279. set timeout=10
  280. fi
  281. else
  282. if sleep --interruptible 3 ; then
  283. set timeout=10
  284. fi
  285. fi
  286. fi
  287. ### END /etc/grub.d/30_os-prober ###
  288.  
  289. ### BEGIN /etc/grub.d/40_custom ###
  290. # This file provides an easy way to add custom menu entries. Simply type the
  291. # menu entries you want to add after this comment. Be careful not to change
  292. # the 'exec tail' line above.
  293. ### END /etc/grub.d/40_custom ###
  294.  
  295. ### BEGIN /etc/grub.d/41_custom ###
  296. if [ -f $prefix/custom.cfg ]; then
  297. source $prefix/custom.cfg;
  298. fi
  299. ### END /etc/grub.d/41_custom ###
  300. --------------------------------------------------------------------------------
  301.  
  302. =============================== sda5/etc/fstab: ================================
  303.  
  304. --------------------------------------------------------------------------------
  305. # /etc/fstab: static file system information.
  306. #
  307. # Use 'blkid' to print the universally unique identifier for a
  308. # device; this may be used with UUID= as a more robust way to name devices
  309. # that works even if disks are added and removed. See fstab(5).
  310. #
  311. # <file system> <mount point> <type> <options> <dump> <pass>
  312. proc /proc proc nodev,noexec,nosuid 0 0
  313. # / was on /dev/sda5 during installation
  314. UUID=8f348824-72af-4b39-8a8e-c0e99e0868ba / ext4 errors=remount-ro 0 1
  315. # /home was on /dev/sda6 during installation
  316. UUID=7b9b22c0-a45d-42c3-81a6-79ebccf0602b /home ext4 defaults 0 2
  317. # swap was on /dev/sda1 during installation
  318. UUID=8ca96f5f-0d09-428e-9bfa-5eb50d03106c none swap sw 0 0
  319.  
  320. #Time Capsule Mount
  321. //192.168.1.114/Data/ /media/Capsule cifs password=shagme123,uid=andrija,gid=andrija,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
  322. --------------------------------------------------------------------------------
  323.  
  324. =================== sda5: Location of files loaded by Grub: ====================
  325.  
  326. GiB - GB File Fragment(s)
  327.  
  328. 45.815456390 = 49.193971712 boot/grub/core.img 1
  329. 45.746315002 = 49.119731712 boot/grub/grub.cfg 1
  330. 8.799804688 = 9.448718336 boot/initrd.img-3.2.0-29-generic 2
  331. 12.401367188 = 13.315866624 boot/initrd.img-3.2.0-31-generic 2
  332. 45.730201721 = 49.102430208 boot/vmlinuz-3.2.0-29-generic 1
  333. 8.847396851 = 9.499820032 boot/vmlinuz-3.2.0-31-generic 1
  334. 8.799804688 = 9.448718336 initrd.img.old 2
  335. 8.847396851 = 9.499820032 vmlinuz 1
  336. 45.730201721 = 49.102430208 vmlinuz.old 1
  337.  
  338. =========================== sdb1/boot/grub/grub.cfg: ===========================
  339.  
  340. --------------------------------------------------------------------------------
  341.  
  342. if loadfont /boot/grub/font.pf2 ; then
  343. set gfxmode=auto
  344. insmod efi_gop
  345. insmod efi_uga
  346. insmod gfxterm
  347. terminal_output gfxterm
  348. fi
  349.  
  350. set menu_color_normal=white/black
  351. set menu_color_highlight=black/light-gray
  352.  
  353. menuentry "Try Ubuntu without installing" {
  354. set gfxpayload=keep
  355. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
  356. initrd /casper/initrd.lz
  357. }
  358. menuentry "Install Ubuntu" {
  359. set gfxpayload=keep
  360. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
  361. initrd /casper/initrd.lz
  362. }
  363. menuentry "Check disc for defects" {
  364. set gfxpayload=keep
  365. linux /casper/vmlinuz boot=casper integrity-check quiet splash --
  366. initrd /casper/initrd.lz
  367. }
  368. --------------------------------------------------------------------------------
  369.  
  370. ========================= sdb1/syslinux/syslinux.cfg: ==========================
  371.  
  372. --------------------------------------------------------------------------------
  373. # D-I config version 2.0
  374. include menu.cfg
  375. default vesamenu.c32
  376. prompt 0
  377. timeout 50
  378. ui gfxboot bootlogo
  379. --------------------------------------------------------------------------------
  380.  
  381. =================== sdb1: Location of files loaded by Grub: ====================
  382.  
  383. GiB - GB File Fragment(s)
  384.  
  385. ?? = ?? boot/grub/grub.cfg 1
  386.  
  387. ================= sdb1: Location of files loaded by Syslinux: ==================
  388.  
  389. GiB - GB File Fragment(s)
  390.  
  391. ?? = ?? ldlinux.sys 1
  392. ?? = ?? syslinux/chain.c32 1
  393. ?? = ?? syslinux/gfxboot.c32 1
  394. ?? = ?? syslinux/syslinux.cfg 1
  395. ?? = ?? syslinux/vesamenu.c32 1
  396.  
  397. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  398.  
  399. syslinux/chain.c32 : COM32R module (v4.xx)
  400. syslinux/gfxboot.c32 : COM32R module (v4.xx)
  401. syslinux/vesamenu.c32 : COM32R module (v4.xx)
  402.  
  403. =============================== StdErr Messages: ===============================
  404.  
  405. xz: (stdin): Compressed data is corrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement