daily pastebin goal
53%
SHARE
TWEET

boot info script

a guest Aug 20th, 2015 180 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Boot Info Script 0.61      [1 April 2012]
  2.  
  3.  
  4. "gawk" could not be found, using "busybox awk" instead.
  5. This may lead to unreliable results.
  6.  
  7. Identifying MBRs...
  8. Computing Partition Table of /dev/sda...
  9. Computing Partition Table of /dev/sdb...
  10. Computing Partition Table of /dev/sdc...
  11. Computing Partition Table of /dev/sdd...
  12. Computing Partition Table of /dev/sde...
  13. Searching sda1 for information...
  14. Searching sdb1 for information...
  15. Searching sdc1 for information...
  16. Searching sdc2 for information...
  17. Searching sdd1 for information...
  18. Searching sde1 for information...
  19.  
  20. Finished. The results are in the file "RESULTS.txt"
  21. located in "/home/ubuntu/Downloads/".
  22.  
  23.  
  24.                   Boot Info Script 0.61      [1 April 2012]
  25.  
  26.  
  27. ============================= Boot Info Summary: ===============================
  28.  
  29.  => Windows is installed in the MBR of /dev/sda.
  30.  => No boot loader is installed in the MBR of /dev/sdb.
  31.  => Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
  32.     the same hard drive for core.img. core.img is at this location and looks
  33.     in partition 135 for .
  34.  => Windows is installed in the MBR of /dev/sdd.
  35.  => Windows is installed in the MBR of /dev/sde.
  36.  
  37. sda1: __________________________________________________________________________
  38.  
  39.     File system:       ntfs
  40.     Boot sector type:  Windows Vista/7: NTFS
  41.     Boot sector info:  No errors found in the Boot Parameter Block.
  42.     Operating System:  
  43.     Boot files:        
  44.  
  45. sdb1: __________________________________________________________________________
  46.  
  47.     File system:       ext4
  48.     Boot sector type:  -
  49.     Boot sector info:
  50.     Operating System:  Ubuntu 15.04
  51.     Boot files:        /boot/grub/grub.cfg /etc/fstab
  52.  
  53. sdc1: __________________________________________________________________________
  54.  
  55.     File system:       ntfs
  56.     Boot sector type:  Windows Vista/7: NTFS
  57.     Boot sector info:  No errors found in the Boot Parameter Block.
  58.     Operating System:  
  59.     Boot files:        /Windows/System32/winload.exe
  60.  
  61. sdc2: __________________________________________________________________________
  62.  
  63.     File system:       ntfs
  64.     Boot sector type:  Windows Vista/7: NTFS
  65.     Boot sector info:  No errors found in the Boot Parameter Block.
  66.     Operating System:  
  67.     Boot files:        
  68.  
  69. sdd1: __________________________________________________________________________
  70.  
  71.     File system:       ntfs
  72.     Boot sector type:  Windows Vista/7: NTFS
  73.     Boot sector info:  No errors found in the Boot Parameter Block.
  74.     Operating System:  
  75.     Boot files:        /bootmgr /Boot/BCD
  76.  
  77. sde1: __________________________________________________________________________
  78.  
  79.     File system:       ntfs
  80.     Boot sector type:  Windows Vista/7: NTFS
  81.     Boot sector info:  No errors found in the Boot Parameter Block.
  82.     Operating System:  
  83.     Boot files:        
  84.  
  85. ============================ Drive/Partition Info: =============================
  86.  
  87. Drive: sda _____________________________________________________________________
  88.  
  89. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  90. Units: sectors of 1 * 512 = 512 bytes
  91. Sector size (logical/physical): 512 bytes / 512 bytes
  92. I/O size (minimum/optimal): 512 bytes / 512 bytes
  93.  
  94. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  95.  
  96. /dev/sda1               2,048   976,769,023   976,766,976   7 NTFS / exFAT / HPFS
  97.  
  98.  
  99. Drive: sdb _____________________________________________________________________
  100.  
  101. Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  102. Units: sectors of 1 * 512 = 512 bytes
  103. Sector size (logical/physical): 512 bytes / 4096 bytes
  104. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  105.  
  106. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  107.  
  108. /dev/sdb1               2,048 1,953,523,711 1,953,521,664  83 Linux
  109.  
  110.  
  111. Drive: sdc _____________________________________________________________________
  112.  
  113. Disk /dev/sdc: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  114. Units: sectors of 1 * 512 = 512 bytes
  115. Sector size (logical/physical): 512 bytes / 512 bytes
  116. I/O size (minimum/optimal): 512 bytes / 512 bytes
  117.  
  118. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  119.  
  120. /dev/sdc1    *          2,048   233,517,055   233,515,008   7 NTFS / exFAT / HPFS
  121. /dev/sdc2         233,517,056   234,438,655       921,600  27 Hidden NTFS (Recovery Environment)
  122.  
  123.  
  124. Drive: sdd _____________________________________________________________________
  125.  
  126. Disk /dev/sdd: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  127. Units: sectors of 1 * 512 = 512 bytes
  128. Sector size (logical/physical): 512 bytes / 512 bytes
  129. I/O size (minimum/optimal): 512 bytes / 512 bytes
  130.  
  131. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  132.  
  133. /dev/sdd1    *          2,048   234,438,655   234,436,608   7 NTFS / exFAT / HPFS
  134.  
  135.  
  136. Drive: sde _____________________________________________________________________
  137.  
  138. Disk /dev/sde: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  139. Units: sectors of 1 * 512 = 512 bytes
  140. Sector size (logical/physical): 512 bytes / 4096 bytes
  141. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  142.  
  143. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  144.  
  145. /dev/sde1               2,048 1,953,521,663 1,953,519,616   7 NTFS / exFAT / HPFS
  146.  
  147.  
  148. "blkid" output: ________________________________________________________________
  149.  
  150. Device           UUID                                   TYPE       LABEL
  151.  
  152. /dev/loop0                                              squashfs  
  153. /dev/sda1        288820B788208582                       ntfs       Misc
  154. /dev/sdb1        b73b7fc7-04e5-4f87-9667-7b0273272188   ext4      
  155. /dev/sdc1        443AB0913AB0818A                       ntfs      
  156. /dev/sdc2        6A983F02983ECC77                       ntfs      
  157. /dev/sdd1        2C20FE9820FE67EA                       ntfs       Kingston SSD
  158. /dev/sde1        94B88CD0B88CB272                       ntfs       Steam
  159. /dev/sr0         2015-04-22-12-30-17-00                 iso9660    Ubuntu 15.04 amd64
  160.  
  161. ================================ Mount points: =================================
  162.  
  163. Device           Mount_Point              Type       Options
  164.  
  165. /dev/loop0       /rofs                    squashfs   (ro,noatime)
  166. /dev/sda1        /media/ubuntu/Misc       fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  167. /dev/sdb1        /media/ubuntu/b73b7fc7-04e5-4f87-9667-7b0273272188 ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
  168. /dev/sdc1        /media/ubuntu/443AB0913AB0818A fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  169. /dev/sdd1        /media/ubuntu/Kingston SSD fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  170. /dev/sde1        /media/ubuntu/Steam      fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  171. /dev/sr0         /cdrom                   iso9660    (ro,noatime)
  172.  
  173.  
  174. =========================== sdb1/boot/grub/grub.cfg: ===========================
  175.  
  176. --------------------------------------------------------------------------------
  177. #
  178. # DO NOT EDIT THIS FILE
  179. #
  180. # It is automatically generated by grub-mkconfig using templates
  181. # from /etc/grub.d and settings from /etc/default/grub
  182. #
  183.  
  184. ### BEGIN /etc/grub.d/00_header ###
  185. if [ -s $prefix/grubenv ]; then
  186.   set have_grubenv=true
  187.   load_env
  188. fi
  189. if [ "${next_entry}" ] ; then
  190.    set default="${next_entry}"
  191.    set next_entry=
  192.    save_env next_entry
  193.    set boot_once=true
  194. else
  195.    set default="0"
  196. fi
  197.  
  198. if [ x"${feature_menuentry_id}" = xy ]; then
  199.   menuentry_id_option="--id"
  200. else
  201.   menuentry_id_option=""
  202. fi
  203.  
  204. export menuentry_id_option
  205.  
  206. if [ "${prev_saved_entry}" ]; then
  207.   set saved_entry="${prev_saved_entry}"
  208.   save_env saved_entry
  209.   set prev_saved_entry=
  210.   save_env prev_saved_entry
  211.   set boot_once=true
  212. fi
  213.  
  214. function savedefault {
  215.   if [ -z "${boot_once}" ]; then
  216.     saved_entry="${chosen}"
  217.     save_env saved_entry
  218.   fi
  219. }
  220. function recordfail {
  221.   set recordfail=1
  222.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  223. }
  224. function load_video {
  225.   if [ x$feature_all_video_module = xy ]; then
  226.     insmod all_video
  227.   else
  228.     insmod efi_gop
  229.     insmod efi_uga
  230.     insmod ieee1275_fb
  231.     insmod vbe
  232.     insmod vga
  233.     insmod video_bochs
  234.     insmod video_cirrus
  235.   fi
  236. }
  237.  
  238. if [ x$feature_default_font_path = xy ] ; then
  239.    font=unicode
  240. else
  241. insmod part_msdos
  242. insmod ext2
  243. set root='hd1,msdos1'
  244. if [ x$feature_platform_search_hint = xy ]; then
  245.   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  246. else
  247.   search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  248. fi
  249.     font="/usr/share/grub/unicode.pf2"
  250. fi
  251.  
  252. if loadfont $font ; then
  253.   set gfxmode=auto
  254.   load_video
  255.   insmod gfxterm
  256.   set locale_dir=$prefix/locale
  257.   set lang=en_US
  258.   insmod gettext
  259. fi
  260. terminal_output gfxterm
  261. if [ "${recordfail}" = 1 ] ; then
  262.   set timeout=-1
  263. else
  264.   if [ x$feature_timeout_style = xy ] ; then
  265.     set timeout_style=menu
  266.     set timeout=10
  267.   # Fallback normal timeout code in case the timeout_style feature is
  268.   # unavailable.
  269.   else
  270.     set timeout=10
  271.   fi
  272. fi
  273. ### END /etc/grub.d/00_header ###
  274.  
  275. ### BEGIN /etc/grub.d/05_debian_theme ###
  276. set menu_color_normal=white/black
  277. set menu_color_highlight=black/light-gray
  278. if background_color 44,0,30,0; then
  279.   clear
  280. fi
  281. ### END /etc/grub.d/05_debian_theme ###
  282.  
  283. ### BEGIN /etc/grub.d/10_linux ###
  284. function gfxmode {
  285.         set gfxpayload="${1}"
  286.         if [ "${1}" = "keep" ]; then
  287.                 set vt_handoff=vt.handoff=7
  288.         else
  289.                 set vt_handoff=
  290.         fi
  291. }
  292. if [ "${recordfail}" != 1 ]; then
  293.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  294.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  295.       if [ ${match} = 0 ]; then
  296.         set linux_gfx_mode=keep
  297.       else
  298.         set linux_gfx_mode=text
  299.       fi
  300.     else
  301.       set linux_gfx_mode=text
  302.     fi
  303.   else
  304.     set linux_gfx_mode=keep
  305.   fi
  306. else
  307.   set linux_gfx_mode=text
  308. fi
  309. export linux_gfx_mode
  310. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b73b7fc7-04e5-4f87-9667-7b0273272188' {
  311.         recordfail
  312.         load_video
  313.         gfxmode $linux_gfx_mode
  314.         insmod gzio
  315.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  316.         insmod part_msdos
  317.         insmod ext2
  318.         set root='hd1,msdos1'
  319.         if [ x$feature_platform_search_hint = xy ]; then
  320.           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  321.         else
  322.           search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  323.         fi
  324.         linux   /boot/vmlinuz-3.19.0-15-generic root=UUID=b73b7fc7-04e5-4f87-9667-7b0273272188 ro  quiet splash $vt_handoff
  325.         initrd  /boot/initrd.img-3.19.0-15-generic
  326. }
  327. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b73b7fc7-04e5-4f87-9667-7b0273272188' {
  328.         menuentry 'Ubuntu, with Linux 3.19.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-15-generic-advanced-b73b7fc7-04e5-4f87-9667-7b0273272188' {
  329.                 recordfail
  330.                 load_video
  331.                 gfxmode $linux_gfx_mode
  332.                 insmod gzio
  333.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  334.                 insmod part_msdos
  335.                 insmod ext2
  336.                 set root='hd1,msdos1'
  337.                 if [ x$feature_platform_search_hint = xy ]; then
  338.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  339.                 else
  340.                   search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  341.                 fi
  342.                 echo    'Loading Linux 3.19.0-15-generic ...'
  343.                 linux   /boot/vmlinuz-3.19.0-15-generic root=UUID=b73b7fc7-04e5-4f87-9667-7b0273272188 ro  quiet splash $vt_handoff
  344.                 echo    'Loading initial ramdisk ...'
  345.                 initrd  /boot/initrd.img-3.19.0-15-generic
  346.         }
  347.         menuentry 'Ubuntu, with Linux 3.19.0-15-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-15-generic-init-upstart-b73b7fc7-04e5-4f87-9667-7b0273272188' {
  348.                 recordfail
  349.                 load_video
  350.                 gfxmode $linux_gfx_mode
  351.                 insmod gzio
  352.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  353.                 insmod part_msdos
  354.                 insmod ext2
  355.                 set root='hd1,msdos1'
  356.                 if [ x$feature_platform_search_hint = xy ]; then
  357.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  358.                 else
  359.                   search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  360.                 fi
  361.                 echo    'Loading Linux 3.19.0-15-generic ...'
  362.                 linux   /boot/vmlinuz-3.19.0-15-generic root=UUID=b73b7fc7-04e5-4f87-9667-7b0273272188 ro  quiet splash $vt_handoff init=/sbin/upstart
  363.                 echo    'Loading initial ramdisk ...'
  364.                 initrd  /boot/initrd.img-3.19.0-15-generic
  365.         }
  366.         menuentry 'Ubuntu, with Linux 3.19.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-15-generic-recovery-b73b7fc7-04e5-4f87-9667-7b0273272188' {
  367.                 recordfail
  368.                 load_video
  369.                 insmod gzio
  370.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  371.                 insmod part_msdos
  372.                 insmod ext2
  373.                 set root='hd1,msdos1'
  374.                 if [ x$feature_platform_search_hint = xy ]; then
  375.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  376.                 else
  377.                   search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  378.                 fi
  379.                 echo    'Loading Linux 3.19.0-15-generic ...'
  380.                 linux   /boot/vmlinuz-3.19.0-15-generic root=UUID=b73b7fc7-04e5-4f87-9667-7b0273272188 ro recovery nomodeset
  381.                 echo    'Loading initial ramdisk ...'
  382.                 initrd  /boot/initrd.img-3.19.0-15-generic
  383.         }
  384. }
  385.  
  386. ### END /etc/grub.d/10_linux ###
  387.  
  388. ### BEGIN /etc/grub.d/20_linux_xen ###
  389.  
  390. ### END /etc/grub.d/20_linux_xen ###
  391.  
  392. ### BEGIN /etc/grub.d/20_memtest86+ ###
  393. menuentry 'Memory test (memtest86+)' {
  394.         insmod part_msdos
  395.         insmod ext2
  396.         set root='hd1,msdos1'
  397.         if [ x$feature_platform_search_hint = xy ]; then
  398.           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  399.         else
  400.           search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  401.         fi
  402.         knetbsd /boot/memtest86+.elf
  403. }
  404. menuentry 'Memory test (memtest86+, serial console 115200)' {
  405.         insmod part_msdos
  406.         insmod ext2
  407.         set root='hd1,msdos1'
  408.         if [ x$feature_platform_search_hint = xy ]; then
  409.           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b73b7fc7-04e5-4f87-9667-7b0273272188
  410.         else
  411.           search --no-floppy --fs-uuid --set=root b73b7fc7-04e5-4f87-9667-7b0273272188
  412.         fi
  413.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  414. }
  415. ### END /etc/grub.d/20_memtest86+ ###
  416.  
  417. ### BEGIN /etc/grub.d/30_os-prober ###
  418. menuentry 'Windows Recovery Environment (loader) (on /dev/sdd1)' --class windows --class os $menuentry_id_option 'osprober-chain-2C20FE9820FE67EA' {
  419.         insmod part_msdos
  420.         insmod ntfs
  421.         set root='hd3,msdos1'
  422.         if [ x$feature_platform_search_hint = xy ]; then
  423.           search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1  2C20FE9820FE67EA
  424.         else
  425.           search --no-floppy --fs-uuid --set=root 2C20FE9820FE67EA
  426.         fi
  427.         parttool ${root} hidden-
  428.         drivemap -s (hd0) ${root}
  429.         chainloader +1
  430. }
  431. set timeout_style=menu
  432. if [ "${timeout}" = 0 ]; then
  433.   set timeout=10
  434. fi
  435. ### END /etc/grub.d/30_os-prober ###
  436.  
  437. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  438. ### END /etc/grub.d/30_uefi-firmware ###
  439.  
  440. ### BEGIN /etc/grub.d/40_custom ###
  441. # This file provides an easy way to add custom menu entries.  Simply type the
  442. # menu entries you want to add after this comment.  Be careful not to change
  443. # the 'exec tail' line above.
  444. ### END /etc/grub.d/40_custom ###
  445.  
  446. ### BEGIN /etc/grub.d/41_custom ###
  447. if [ -f  ${config_directory}/custom.cfg ]; then
  448.   source ${config_directory}/custom.cfg
  449. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  450.   source $prefix/custom.cfg;
  451. fi
  452. ### END /etc/grub.d/41_custom ###
  453. --------------------------------------------------------------------------------
  454.  
  455. =============================== sdb1/etc/fstab: ================================
  456.  
  457. --------------------------------------------------------------------------------
  458. # /etc/fstab: static file system information.
  459. #
  460. # Use 'blkid' to print the universally unique identifier for a
  461. # device; this may be used with UUID= as a more robust way to name devices
  462. # that works even if disks are added and removed. See fstab(5).
  463. #
  464. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  465. # / was on /dev/sdb1 during installation
  466. UUID=b73b7fc7-04e5-4f87-9667-7b0273272188 /               ext4    errors=remount-ro 0       1
  467. --------------------------------------------------------------------------------
  468.  
  469. =================== sdb1: Location of files loaded by Grub: ====================
  470.  
  471.            GiB - GB             File                                 Fragment(s)
  472.  
  473.  
  474. =============================== StdErr Messages: ===============================
  475.  
  476. cat: /tmp/BootInfo-kE7pg8AW/Tmp_Log: No such file or directory
  477.   No volume groups found
RAW Paste Data
Top