Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

bootinfoscript

By: a guest on Nov 7th, 2012  |  syntax: None  |  size: 14.82 KB  |  hits: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                   Boot Info Script 0.60    from 17 May 2011
  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  on this drive.
  9.  
  10. sda1: __________________________________________________________________________
  11.  
  12.     File system:       ntfs
  13.     Boot sector type:  Grub2 (v1.99)
  14.     Boot sector info:   Grub2 (v1.99) is installed in the boot sector of sda1
  15.                        and looks at sector 856028928 of the same hard drive
  16.                        for core.img. core.img is at this location and looks
  17.                        for  on this drive. No errors found in the Boot
  18.                        Parameter Block.
  19.     Operating System:  
  20.     Boot files:        /bootmgr /Boot/BCD
  21.  
  22. sda2: __________________________________________________________________________
  23.  
  24.     File system:       ntfs
  25.     Boot sector type:  Windows Vista/7
  26.     Boot sector info:   No errors found in the Boot Parameter Block.
  27.     Operating System:  Windows 7
  28.     Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
  29.                        /wubildr /ubuntu/winboot/wubildr /wubildr.mbr
  30.                        /ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk
  31.                        /ubuntu/disks/swap.disk
  32.  
  33. sda2/Wubi: _____________________________________________________________________
  34.  
  35.     File system:       ext3
  36.     Boot sector type:  -
  37.     Boot sector info:  
  38.     Mounting failed:   mount: wrong fs type, bad option, bad superblock on /dev/loop0,
  39.        missing codepage or helper program, or other error
  40.        In some cases useful info is found in syslog - try
  41.        dmesg | tail  or so
  42.  
  43.  
  44. sda3: __________________________________________________________________________
  45.  
  46.     File system:       Extended Partition
  47.     Boot sector type:  Unknown
  48.     Boot sector info:  
  49.  
  50. sda5: __________________________________________________________________________
  51.  
  52.     File system:       ext4
  53.     Boot sector type:  -
  54.     Boot sector info:  
  55.     Operating System:  Ubuntu 11.10
  56.     Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  57.  
  58. sda6: __________________________________________________________________________
  59.  
  60.     File system:       swap
  61.     Boot sector type:  -
  62.     Boot sector info:  
  63.  
  64. ============================ Drive/Partition Info: =============================
  65.  
  66. Drive: sda _____________________________________________________________________
  67.  
  68. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  69. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  70. Units = sectors of 1 * 512 = 512 bytes
  71. Sector size (logical/physical): 512 bytes / 512 bytes
  72.  
  73. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  74.  
  75. /dev/sda1    *          2,048     3,074,047     3,072,000   7 NTFS / exFAT / HPFS
  76. /dev/sda2           3,074,048   792,451,119   789,377,072   7 NTFS / exFAT / HPFS
  77. /dev/sda3         792,453,118   976,771,071   184,317,954   5 Extended
  78. /dev/sda5         792,453,120   972,865,535   180,412,416  83 Linux
  79. /dev/sda6         972,867,584   976,771,071     3,903,488  82 Linux swap / Solaris
  80.  
  81.  
  82. "blkid" output: ________________________________________________________________
  83.  
  84. Device           UUID                                   TYPE       LABEL
  85.  
  86. /dev/sda1        AEA407BBA40784D5                       ntfs       SYSTEM_DRV
  87. /dev/sda2        96BA0BCCBA0BA837                       ntfs       Windows7_OS
  88. /dev/sda5        9af2f618-d04c-4a05-800e-6f8e852b7332   ext4      
  89. /dev/sda6        f86c12c0-cffe-4f08-9fb9-815bdadcdf88   swap      
  90.  
  91. ================================ Mount points: =================================
  92.  
  93. Device           Mount_Point              Type       Options
  94.  
  95. /dev/sda5        /                        ext4       (rw,errors=remount-ro,commit=0)
  96.  
  97.  
  98. =========================== sda5/boot/grub/grub.cfg: ===========================
  99.  
  100. --------------------------------------------------------------------------------
  101. #
  102. # DO NOT EDIT THIS FILE
  103. #
  104. # It is automatically generated by grub-mkconfig using templates
  105. # from /etc/grub.d and settings from /etc/default/grub
  106. #
  107.  
  108. ### BEGIN /etc/grub.d/00_header ###
  109. if [ -s $prefix/grubenv ]; then
  110.   set have_grubenv=true
  111.   load_env
  112. fi
  113. set default="0"
  114. if [ "${prev_saved_entry}" ]; then
  115.   set saved_entry="${prev_saved_entry}"
  116.   save_env saved_entry
  117.   set prev_saved_entry=
  118.   save_env prev_saved_entry
  119.   set boot_once=true
  120. fi
  121.  
  122. function savedefault {
  123.   if [ -z "${boot_once}" ]; then
  124.     saved_entry="${chosen}"
  125.     save_env saved_entry
  126.   fi
  127. }
  128.  
  129. function recordfail {
  130.   set recordfail=1
  131.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  132. }
  133.  
  134. function load_video {
  135.   insmod vbe
  136.   insmod vga
  137.   insmod video_bochs
  138.   insmod video_cirrus
  139. }
  140.  
  141. insmod part_msdos
  142. insmod ext2
  143. set root='(hd0,msdos5)'
  144. search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  145. if loadfont /usr/share/grub/unicode.pf2 ; then
  146.   set gfxmode=auto
  147.   load_video
  148.   insmod gfxterm
  149.   insmod part_msdos
  150.   insmod ext2
  151.   set root='(hd0,msdos5)'
  152.   search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  153.   set locale_dir=($root)/boot/grub/locale
  154.   set lang=en_US
  155.   insmod gettext
  156. fi
  157. terminal_output gfxterm
  158. if [ "${recordfail}" = 1 ]; then
  159.   set timeout=-1
  160. else
  161.   set timeout=10
  162. fi
  163. ### END /etc/grub.d/00_header ###
  164.  
  165. ### BEGIN /etc/grub.d/05_debian_theme ###
  166. set menu_color_normal=white/black
  167. set menu_color_highlight=black/light-gray
  168. if background_color 44,0,30; then
  169.   clear
  170. fi
  171. ### END /etc/grub.d/05_debian_theme ###
  172.  
  173. ### BEGIN /etc/grub.d/10_linux ###
  174. if [ ${recordfail} != 1 ]; then
  175.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  176.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  177.       if [ ${match} = 0 ]; then
  178.         set linux_gfx_mode=keep
  179.       else
  180.         set linux_gfx_mode=text
  181.       fi
  182.     else
  183.       set linux_gfx_mode=text
  184.     fi
  185.   else
  186.     set linux_gfx_mode=keep
  187.   fi
  188. else
  189.   set linux_gfx_mode=text
  190. fi
  191. export linux_gfx_mode
  192. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  193. menuentry 'Ubuntu, with Linux 3.0.0-26-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  194.         recordfail
  195.         set gfxpayload=$linux_gfx_mode
  196.         insmod gzio
  197.         insmod part_msdos
  198.         insmod ext2
  199.         set root='(hd0,msdos5)'
  200.         search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  201.         linux   /boot/vmlinuz-3.0.0-26-generic-pae root=UUID=9af2f618-d04c-4a05-800e-6f8e852b7332 ro   quiet splash vt.handoff=7
  202.         initrd  /boot/initrd.img-3.0.0-26-generic-pae
  203. }
  204. menuentry 'Ubuntu, with Linux 3.0.0-26-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  205.         recordfail
  206.         insmod gzio
  207.         insmod part_msdos
  208.         insmod ext2
  209.         set root='(hd0,msdos5)'
  210.         search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  211.         echo    'Loading Linux 3.0.0-26-generic-pae ...'
  212.         linux   /boot/vmlinuz-3.0.0-26-generic-pae root=UUID=9af2f618-d04c-4a05-800e-6f8e852b7332 ro recovery nomodeset
  213.         echo    'Loading initial ramdisk ...'
  214.         initrd  /boot/initrd.img-3.0.0-26-generic-pae
  215. }
  216. submenu "Previous Linux versions" {
  217. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  218.         recordfail
  219.         set gfxpayload=$linux_gfx_mode
  220.         insmod gzio
  221.         insmod part_msdos
  222.         insmod ext2
  223.         set root='(hd0,msdos5)'
  224.         search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  225.         linux   /boot/vmlinuz-3.0.0-12-generic root=UUID=9af2f618-d04c-4a05-800e-6f8e852b7332 ro   quiet splash vt.handoff=7
  226.         initrd  /boot/initrd.img-3.0.0-12-generic
  227. }
  228. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  229.         recordfail
  230.         insmod gzio
  231.         insmod part_msdos
  232.         insmod ext2
  233.         set root='(hd0,msdos5)'
  234.         search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  235.         echo    'Loading Linux 3.0.0-12-generic ...'
  236.         linux   /boot/vmlinuz-3.0.0-12-generic root=UUID=9af2f618-d04c-4a05-800e-6f8e852b7332 ro recovery nomodeset
  237.         echo    'Loading initial ramdisk ...'
  238.         initrd  /boot/initrd.img-3.0.0-12-generic
  239. }
  240. }
  241. ### END /etc/grub.d/10_linux ###
  242.  
  243. ### BEGIN /etc/grub.d/20_linux_xen ###
  244. ### END /etc/grub.d/20_linux_xen ###
  245.  
  246. ### BEGIN /etc/grub.d/20_memtest86+ ###
  247. menuentry "Memory test (memtest86+)" {
  248.         insmod part_msdos
  249.         insmod ext2
  250.         set root='(hd0,msdos5)'
  251.         search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  252.         linux16 /boot/memtest86+.bin
  253. }
  254. menuentry "Memory test (memtest86+, serial console 115200)" {
  255.         insmod part_msdos
  256.         insmod ext2
  257.         set root='(hd0,msdos5)'
  258.         search --no-floppy --fs-uuid --set=root 9af2f618-d04c-4a05-800e-6f8e852b7332
  259.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  260. }
  261. ### END /etc/grub.d/20_memtest86+ ###
  262.  
  263. ### BEGIN /etc/grub.d/30_os-prober ###
  264. menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
  265.         insmod part_msdos
  266.         insmod ntfs
  267.         set root='(hd0,msdos1)'
  268.         search --no-floppy --fs-uuid --set=root AEA407BBA40784D5
  269.         chainloader +1
  270. }
  271. menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
  272.         insmod part_msdos
  273.         insmod ntfs
  274.         set root='(hd0,msdos2)'
  275.         search --no-floppy --fs-uuid --set=root 96BA0BCCBA0BA837
  276.         chainloader +1
  277. }
  278. ### END /etc/grub.d/30_os-prober ###
  279.  
  280. ### BEGIN /etc/grub.d/40_custom ###
  281. # This file provides an easy way to add custom menu entries.  Simply type the
  282. # menu entries you want to add after this comment.  Be careful not to change
  283. # the 'exec tail' line above.
  284. ### END /etc/grub.d/40_custom ###
  285.  
  286. ### BEGIN /etc/grub.d/41_custom ###
  287. if [ -f  $prefix/custom.cfg ]; then
  288.   source $prefix/custom.cfg;
  289. fi
  290. ### END /etc/grub.d/41_custom ###
  291. --------------------------------------------------------------------------------
  292.  
  293. =============================== sda5/etc/fstab: ================================
  294.  
  295. --------------------------------------------------------------------------------
  296. # /etc/fstab: static file system information.
  297. #
  298. # Use 'blkid' to print the universally unique identifier for a
  299. # device; this may be used with UUID= as a more robust way to name devices
  300. # that works even if disks are added and removed. See fstab(5).
  301. #
  302. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  303. proc            /proc           proc    nodev,noexec,nosuid 0       0
  304. # / was on /dev/sda5 during installation
  305. UUID=9af2f618-d04c-4a05-800e-6f8e852b7332 /               ext4    errors=remount-ro 0       1
  306. # swap was on /dev/sda6 during installation
  307. UUID=f86c12c0-cffe-4f08-9fb9-815bdadcdf88 none            swap    sw              0       0
  308. --------------------------------------------------------------------------------
  309.  
  310. =================== sda5: Location of files loaded by Grub: ====================
  311.  
  312.            GiB - GB             File                                 Fragment(s)
  313.  
  314.                =                boot/grub/core.img                             1
  315.                =                boot/grub/grub.cfg                             1
  316.                =                boot/initrd.img-3.0.0-12-generic               1
  317.                =                boot/initrd.img-3.0.0-26-generic-pae           1
  318.                =                boot/vmlinuz-3.0.0-12-generic                  1
  319.                =                boot/vmlinuz-3.0.0-26-generic-pae              1
  320.                =                initrd.img                                     1
  321.                =                initrd.img.old                                 1
  322.                =                vmlinuz                                        1
  323.  
  324. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  325.  
  326. Unknown BootLoader on sda3
  327.  
  328. 00000000  80 ac 82 36 34 f5 c2 00  b5 7b ef 29 9b 6e bf e5  |...64....{.).n..|
  329. 00000010  03 34 5a 1e 24 a9 6a 25  db 37 22 5a 38 26 54 ea  |.4Z.$.j%.7"Z8&T.|
  330. 00000020  17 ae 8b 6d ac 3e 07 aa  0f 99 da 35 cd 15 f3 2c  |...m.>.....5...,|
  331. 00000030  7d c4 34 e2 51 a5 7f 91  98 d1 bb fe 5f ad fd 3d  |}.4.Q......._..=|
  332. 00000040  fc 25 7b 56 94 c7 b3 ef  bb 04 70 09 f6 57 d9 aa  |.%{V......p..W..|
  333. 00000050  54 7b 85 8a ff 91 8f c9  bc 61 98 9e 94 7c e8 f8  |T{.......a...|..|
  334. 00000060  50 6e 73 50 10 f1 ef 2f  dc 1a d9 06 39 8f 91 bb  |PnsP.../....9...|
  335. 00000070  aa ae 6e 71 4c cd bb 2e  65 4f d5 92 ef f5 38 79  |..nqL...eO....8y|
  336. 00000080  2e ec 94 bc 3a 15 d5 d1  95 38 31 8c b6 1c 41 c3  |....:....81...A.|
  337. 00000090  9d c9 0f f8 5e b8 21 22  b4 fc 90 43 98 72 0c 21  |....^.!"...C.r.!|
  338. 000000a0  bc fb ff f9 38 9d 85 30  04 c6 97 fc 91 63 04 1d  |....8..0.....c..|
  339. 000000b0  51 28 86 85 52 b4 e6 02  ca bf e9 0b a8 58 85 4a  |Q(..R........X.J|
  340. 000000c0  18 fb cf 67 2b e3 22 aa  49 1a 30 b7 e0 c0 f8 31  |...g+.".I.0....1|
  341. 000000d0  e0 28 f9 6d 44 1d 23 32  c8 01 05 4c 3f 03 bf 59  |.(.mD.#2...L?..Y|
  342. 000000e0  62 53 27 64 2c 48 cf a2  83 9e 15 19 cd 94 40 55  |bS'd,H........@U|
  343. 000000f0  68 2b 7e 1c 5a 54 00 0c  c8 1c 00 68 83 d6 e0 af  |h+~.ZT.....h....|
  344. 00000100  b8 5d 25 57 5f 2c a1 7a  d3 a8 6d 85 71 3c fe f0  |.]%W_,.z..m.q<..|
  345. 00000110  13 91 40 e8 b3 bd 97 f5  ec 73 fa bc 93 32 02 aa  |..@......s...2..|
  346. 00000120  3e 77 ec 99 e5 f1 c2 8a  58 a2 54 5a ed 21 4f 62  |>w......X.TZ.!Ob|
  347. 00000130  fc ba 57 35 6e b4 07 49  5a 65 13 ab 8a 72 47 ab  |..W5n..IZe...rG.|
  348. 00000140  12 08 9e 8e d8 f2 4d 3b  34 e7 e7 f8 69 99 53 08  |......M;4...i.S.|
  349. 00000150  41 0a e6 65 ab 99 76 6e  2c 50 71 91 89 ff d1 0f  |A..e..vn,Pq.....|
  350. 00000160  52 6d 54 91 60 96 67 ea  83 d4 50 c1 f9 0b 2b 47  |RmT.`.g...P...+G|
  351. 00000170  05 d8 0d d7 86 d3 00 bd  84 99 2a d1 b5 2e c1 37  |..........*....7|
  352. 00000180  20 03 31 08 9b 36 29 f2  6a cc a2 14 c4 d3 f8 75  | .1..6).j......u|
  353. 00000190  66 8f e9 ea 28 b4 c8 99  81 9e 63 cc 29 67 33 89  |f...(.....c.)g3.|
  354. 000001a0  9c 2a 5a 4b a8 39 ba bd  09 34 08 4c eb 54 d5 fb  |.*ZK.9...4.L.T..|
  355. 000001b0  85 85 a2 fc a9 ab e8 65  43 bc 3a e0 07 03 00 fe  |.......eC.:.....|
  356. 000001c0  ff ff 83 fe ff ff 02 00  00 00 00 e0 c0 0a 00 fe  |................|
  357. 000001d0  ff ff 05 fe ff ff 02 e0  c0 0a 00 98 3b 00 00 00  |............;...|
  358. 000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  359. 000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
  360. 00000200
  361.  
  362.  
  363. =============================== StdErr Messages: ===============================
  364.  
  365. unlzma: Decoder error
  366. unlzma: Decoder error
  367. awk: cmd. line:36: Math support is not compiled in
  368. awk: cmd. line:36: Math support is not compiled in
  369. awk: cmd. line:36: Math support is not compiled in
  370. awk: cmd. line:36: Math support is not compiled in
  371. awk: cmd. line:36: Math support is not compiled in
  372. awk: cmd. line:36: Math support is not compiled in
  373. awk: cmd. line:36: Math support is not compiled in
  374. awk: cmd. line:36: Math support is not compiled in
  375. awk: cmd. line:36: Math support is not compiled in