This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 8th, 2012  |  syntax: None  |  size: 16.15 KB  |  views: 24  |  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.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.     in partition 72 for .
  9.  => Windows is installed in the MBR of /dev/sdb.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13.     File system:       ntfs
  14.     Boot sector type:  Windows Vista/7: NTFS
  15.     Boot sector info:  No errors found in the Boot Parameter Block.
  16.     Operating System:  
  17.     Boot files:        
  18.  
  19. sda2: __________________________________________________________________________
  20.  
  21.     File system:       ext4
  22.     Boot sector type:  -
  23.     Boot sector info:
  24.     Operating System:  Ubuntu 12.10
  25.     Boot files:        /boot/grub/grub.cfg /etc/fstab
  26.  
  27. sda3: __________________________________________________________________________
  28.  
  29.     File system:       swap
  30.     Boot sector type:  -
  31.     Boot sector info:
  32.  
  33. sdb1: __________________________________________________________________________
  34.  
  35.     File system:       ntfs
  36.     Boot sector type:  Windows Vista/7: NTFS
  37.     Boot sector info:  No errors found in the Boot Parameter Block.
  38.     Operating System:  
  39.     Boot files:        /bootmgr /Boot/BCD
  40.  
  41. sdb2: __________________________________________________________________________
  42.  
  43.     File system:       ntfs
  44.     Boot sector type:  Windows Vista/7: NTFS
  45.     Boot sector info:  No errors found in the Boot Parameter Block.
  46.     Operating System:  
  47.     Boot files:        /bootmgr /Windows/System32/winload.exe
  48.  
  49. ============================ Drive/Partition Info: =============================
  50.  
  51. Drive: sda _____________________________________________________________________
  52.  
  53. Disk /dev/sda: 320.1 GB, 320072933376 bytes
  54. 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
  55. Units = sectors of 1 * 512 = 512 bytes
  56. Sector size (logical/physical): 512 bytes / 512 bytes
  57.  
  58. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  59.  
  60. /dev/sda1               2,048   512,002,047   512,000,000   7 NTFS / exFAT / HPFS
  61. /dev/sda2    *    512,002,048   615,518,207   103,516,160  83 Linux
  62. /dev/sda3         615,518,208   625,141,759     9,623,552  82 Linux swap / Solaris
  63.  
  64.  
  65. Drive: sdb _____________________________________________________________________
  66.  
  67. Disk /dev/sdb: 80.0 GB, 80026361856 bytes
  68. 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
  69. Units = sectors of 1 * 512 = 512 bytes
  70. Sector size (logical/physical): 512 bytes / 512 bytes
  71.  
  72. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  73.  
  74. /dev/sdb1    *          2,048       718,847       716,800   7 NTFS / exFAT / HPFS
  75. /dev/sdb2             718,848   156,299,263   155,580,416   7 NTFS / exFAT / HPFS
  76.  
  77.  
  78. "blkid" output: ________________________________________________________________
  79.  
  80. Device           UUID                                   TYPE       LABEL
  81.  
  82. /dev/sda1        2E084C99084C61C7                       ntfs       Data
  83. /dev/sda2        a211f7a6-d8d6-4b93-8427-3bf1ccd24749   ext4      
  84. /dev/sda3        96808897-a78f-4ebc-b78b-1e5493c62e19   swap      
  85. /dev/sdb1        0422965B22965192                       ntfs       System Reserved
  86. /dev/sdb2        F8D0A6E5D0A6A8F8                       ntfs      
  87.  
  88. ================================ Mount points: =================================
  89.  
  90. Device           Mount_Point              Type       Options
  91.  
  92. /dev/sda2        /                        ext4       (rw,errors=remount-ro)
  93.  
  94.  
  95. =========================== sda2/boot/grub/grub.cfg: ===========================
  96.  
  97. --------------------------------------------------------------------------------
  98. #
  99. # DO NOT EDIT THIS FILE
  100. #
  101. # It is automatically generated by grub-mkconfig using templates
  102. # from /etc/grub.d and settings from /etc/default/grub
  103. #
  104.  
  105. ### BEGIN /etc/grub.d/00_header ###
  106. if [ -s $prefix/grubenv ]; then
  107.   set have_grubenv=true
  108.   load_env
  109. fi
  110. set default="0"
  111.  
  112. if [ x"${feature_menuentry_id}" = xy ]; then
  113.   menuentry_id_option="--id"
  114. else
  115.   menuentry_id_option=""
  116. fi
  117.  
  118. export menuentry_id_option
  119.  
  120. if [ "${prev_saved_entry}" ]; then
  121.   set saved_entry="${prev_saved_entry}"
  122.   save_env saved_entry
  123.   set prev_saved_entry=
  124.   save_env prev_saved_entry
  125.   set boot_once=true
  126. fi
  127.  
  128. function savedefault {
  129.   if [ -z "${boot_once}" ]; then
  130.     saved_entry="${chosen}"
  131.     save_env saved_entry
  132.   fi
  133. }
  134.  
  135. function recordfail {
  136.   set recordfail=1
  137.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  138. }
  139.  
  140. function load_video {
  141.   if [ x$feature_all_video_module = xy ]; then
  142.     insmod all_video
  143.   else
  144.     insmod efi_gop
  145.     insmod efi_uga
  146.     insmod ieee1275_fb
  147.     insmod vbe
  148.     insmod vga
  149.     insmod video_bochs
  150.     insmod video_cirrus
  151.   fi
  152. }
  153.  
  154. if [ x$feature_default_font_path = xy ] ; then
  155.    font=unicode
  156. else
  157. insmod part_msdos
  158. insmod ext2
  159. set root='hd0,msdos2'
  160. if [ x$feature_platform_search_hint = xy ]; then
  161.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  162. else
  163.   search --no-floppy --fs-uuid --set=root a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  164. fi
  165.     font="/usr/share/grub/unicode.pf2"
  166. fi
  167.  
  168. if loadfont $font ; then
  169.   set gfxmode=auto
  170.   load_video
  171.   insmod gfxterm
  172.   set locale_dir=$prefix/locale
  173.   set lang=en_AU
  174.   insmod gettext
  175. fi
  176. terminal_output gfxterm
  177. if [ "${recordfail}" = 1 ]; then
  178.   set timeout=-1
  179. else
  180.   set timeout=10
  181. fi
  182. ### END /etc/grub.d/00_header ###
  183.  
  184. ### BEGIN /etc/grub.d/05_debian_theme ###
  185. set menu_color_normal=white/black
  186. set menu_color_highlight=black/light-gray
  187. if background_color 44,0,30; then
  188.   clear
  189. fi
  190. ### END /etc/grub.d/05_debian_theme ###
  191.  
  192. ### BEGIN /etc/grub.d/10_linux ###
  193. function gfxmode {
  194.         set gfxpayload="${1}"
  195.         if [ "${1}" = "keep" ]; then
  196.                 set vt_handoff=vt.handoff=7
  197.         else
  198.                 set vt_handoff=
  199.         fi
  200. }
  201. if [ "${recordfail}" != 1 ]; then
  202.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  203.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  204.       if [ ${match} = 0 ]; then
  205.         set linux_gfx_mode=keep
  206.       else
  207.         set linux_gfx_mode=text
  208.       fi
  209.     else
  210.       set linux_gfx_mode=text
  211.     fi
  212.   else
  213.     set linux_gfx_mode=keep
  214.   fi
  215. else
  216.   set linux_gfx_mode=text
  217. fi
  218. export linux_gfx_mode
  219. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  220. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a211f7a6-d8d6-4b93-8427-3bf1ccd24749' {
  221. recordfail
  222.         gfxmode $linux_gfx_mode
  223.         insmod gzio
  224.         insmod part_msdos
  225.         insmod ext2
  226.         set root='hd0,msdos2'
  227.         if [ x$feature_platform_search_hint = xy ]; then
  228.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  229.         else
  230.           search --no-floppy --fs-uuid --set=root a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  231.         fi
  232.         linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=a211f7a6-d8d6-4b93-8427-3bf1ccd24749 ro   quiet splash $vt_handoff
  233.         initrd  /boot/initrd.img-3.5.0-17-generic
  234. }
  235. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-a211f7a6-d8d6-4b93-8427-3bf1ccd24749' {
  236.         menuentry 'Ubuntu, with Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-a211f7a6-d8d6-4b93-8427-3bf1ccd24749' {
  237.         recordfail
  238.                 gfxmode $linux_gfx_mode
  239.                 insmod gzio
  240.                 insmod part_msdos
  241.                 insmod ext2
  242.                 set root='hd0,msdos2'
  243.                 if [ x$feature_platform_search_hint = xy ]; then
  244.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  245.                 else
  246.                   search --no-floppy --fs-uuid --set=root a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  247.                 fi
  248.                 echo    'Loading Linux 3.5.0-17-generic ...'
  249.                 linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=a211f7a6-d8d6-4b93-8427-3bf1ccd24749 ro   quiet splash $vt_handoff
  250.                 echo    'Loading initial ramdisk ...'
  251.                 initrd  /boot/initrd.img-3.5.0-17-generic
  252.         }
  253.         menuentry 'Ubuntu, with Linux 3.5.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-a211f7a6-d8d6-4b93-8427-3bf1ccd24749' {
  254.         recordfail
  255.                 insmod gzio
  256.                 insmod part_msdos
  257.                 insmod ext2
  258.                 set root='hd0,msdos2'
  259.                 if [ x$feature_platform_search_hint = xy ]; then
  260.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  261.                 else
  262.                   search --no-floppy --fs-uuid --set=root a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  263.                 fi
  264.                 echo    'Loading Linux 3.5.0-17-generic ...'
  265.                 linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=a211f7a6-d8d6-4b93-8427-3bf1ccd24749 ro recovery nomodeset
  266.                 echo    'Loading initial ramdisk ...'
  267.                 initrd  /boot/initrd.img-3.5.0-17-generic
  268.         }
  269. }
  270.  
  271. ### END /etc/grub.d/10_linux ###
  272.  
  273. ### BEGIN /etc/grub.d/20_linux_xen ###
  274.  
  275. ### END /etc/grub.d/20_linux_xen ###
  276.  
  277. ### BEGIN /etc/grub.d/20_memtest86+ ###
  278. menuentry "Memory test (memtest86+)" {
  279.         insmod part_msdos
  280.         insmod ext2
  281.         set root='hd0,msdos2'
  282.         if [ x$feature_platform_search_hint = xy ]; then
  283.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  284.         else
  285.           search --no-floppy --fs-uuid --set=root a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  286.         fi
  287.         linux16 /boot/memtest86+.bin
  288. }
  289. menuentry "Memory test (memtest86+, serial console 115200)" {
  290.         insmod part_msdos
  291.         insmod ext2
  292.         set root='hd0,msdos2'
  293.         if [ x$feature_platform_search_hint = xy ]; then
  294.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  295.         else
  296.           search --no-floppy --fs-uuid --set=root a211f7a6-d8d6-4b93-8427-3bf1ccd24749
  297.         fi
  298.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  299. }
  300. ### END /etc/grub.d/20_memtest86+ ###
  301.  
  302. ### BEGIN /etc/grub.d/30_os-prober ###
  303. menuentry 'Ubuntu 12.10 (12.10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-798bc304-1529-401c-974b-8fed78409e11' {
  304.         insmod part_msdos
  305.         insmod ext2
  306.         set root='hd1,msdos1'
  307.         if [ x$feature_platform_search_hint = xy ]; then
  308.           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  798bc304-1529-401c-974b-8fed78409e11
  309.         else
  310.           search --no-floppy --fs-uuid --set=root 798bc304-1529-401c-974b-8fed78409e11
  311.         fi
  312.         linux /boot/vmlinuz-3.5.0-17-generic root=UUID=798bc304-1529-401c-974b-8fed78409e11 ro quiet splash $vt_handoff
  313.         initrd /boot/initrd.img-3.5.0-17-generic
  314. }
  315. submenu 'Advanced options for Ubuntu 12.10 (12.10)' $menuentry_id_option 'osprober-gnulinux-advanced-798bc304-1529-401c-974b-8fed78409e11' {
  316.         menuentry 'Ubuntu (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic--798bc304-1529-401c-974b-8fed78409e11' {
  317.                 insmod part_msdos
  318.                 insmod ext2
  319.                 set root='hd1,msdos1'
  320.                 if [ x$feature_platform_search_hint = xy ]; then
  321.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  798bc304-1529-401c-974b-8fed78409e11
  322.                 else
  323.                   search --no-floppy --fs-uuid --set=root 798bc304-1529-401c-974b-8fed78409e11
  324.                 fi
  325.                 linux /boot/vmlinuz-3.5.0-17-generic root=UUID=798bc304-1529-401c-974b-8fed78409e11 ro quiet splash $vt_handoff
  326.                 initrd /boot/initrd.img-3.5.0-17-generic
  327.         }
  328.         menuentry 'Ubuntu, with Linux 3.5.0-17-generic (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic--798bc304-1529-401c-974b-8fed78409e11' {
  329.                 insmod part_msdos
  330.                 insmod ext2
  331.                 set root='hd1,msdos1'
  332.                 if [ x$feature_platform_search_hint = xy ]; then
  333.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  798bc304-1529-401c-974b-8fed78409e11
  334.                 else
  335.                   search --no-floppy --fs-uuid --set=root 798bc304-1529-401c-974b-8fed78409e11
  336.                 fi
  337.                 linux /boot/vmlinuz-3.5.0-17-generic root=UUID=798bc304-1529-401c-974b-8fed78409e11 ro quiet splash $vt_handoff
  338.                 initrd /boot/initrd.img-3.5.0-17-generic
  339.         }
  340.         menuentry 'Ubuntu, with Linux 3.5.0-17-generic (recovery mode) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic-root=UUID=798bc304-1529-401c-974b-8fed78409e11 ro recovery nomodeset-798bc304-1529-401c-974b-8fed78409e11' {
  341.                 insmod part_msdos
  342.                 insmod ext2
  343.                 set root='hd1,msdos1'
  344.                 if [ x$feature_platform_search_hint = xy ]; then
  345.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  798bc304-1529-401c-974b-8fed78409e11
  346.                 else
  347.                   search --no-floppy --fs-uuid --set=root 798bc304-1529-401c-974b-8fed78409e11
  348.                 fi
  349.                 linux /boot/vmlinuz-3.5.0-17-generic root=UUID=798bc304-1529-401c-974b-8fed78409e11 ro recovery nomodeset
  350.                 initrd /boot/initrd.img-3.5.0-17-generic
  351.         }
  352.         menuentry 'Ubuntu 12.10 (12.10) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.5.0-17-generic--798bc304-1529-401c-974b-8fed78409e11' {
  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  798bc304-1529-401c-974b-8fed78409e11
  358.                 else
  359.                   search --no-floppy --fs-uuid --set=root 798bc304-1529-401c-974b-8fed78409e11
  360.                 fi
  361.                 linux /boot/vmlinuz-3.5.0-17-generic root=UUID=a211f7a6-d8d6-4b93-8427-3bf1ccd24749 ro quiet splash $vt_handoff
  362.                 initrd /boot/initrd.img-3.5.0-17-generic
  363.         }
  364. }
  365.  
  366. ### END /etc/grub.d/30_os-prober ###
  367.  
  368. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  369. ### END /etc/grub.d/30_uefi-firmware ###
  370.  
  371. ### BEGIN /etc/grub.d/40_custom ###
  372. # This file provides an easy way to add custom menu entries.  Simply type the
  373. # menu entries you want to add after this comment.  Be careful not to change
  374. # the 'exec tail' line above.
  375. ### END /etc/grub.d/40_custom ###
  376.  
  377. ### BEGIN /etc/grub.d/41_custom ###
  378. if [ -f  ${config_directory}/custom.cfg ]; then
  379.   source ${config_directory}/custom.cfg
  380. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  381.   source $prefix/custom.cfg;
  382. fi
  383. ### END /etc/grub.d/41_custom ###
  384. --------------------------------------------------------------------------------
  385.  
  386. =============================== sda2/etc/fstab: ================================
  387.  
  388. --------------------------------------------------------------------------------
  389. # /etc/fstab: static file system information.
  390. #
  391. # Use 'blkid' to print the universally unique identifier for a
  392. # device; this may be used with UUID= as a more robust way to name devices
  393. # that works even if disks are added and removed. See fstab(5).
  394. #
  395. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  396. # / was on /dev/sdb1 during installation
  397. UUID=a211f7a6-d8d6-4b93-8427-3bf1ccd24749 /               ext4    errors=remount-ro 0       1
  398. # swap was on /dev/sda3 during installation
  399. UUID=96808897-a78f-4ebc-b78b-1e5493c62e19 none            swap    sw              0       0
  400. --------------------------------------------------------------------------------
  401.  
  402. =================== sda2: Location of files loaded by Grub: ====================
  403.  
  404.            GiB - GB             File                                 Fragment(s)
  405.  
  406.  286.569385529 = 307.701534720  boot/grub/grub.cfg                             1
  407.  267.194854736 = 286.898290688  boot/initrd.img-3.5.0-17-generic               1
  408.  268.403842926 = 288.196431872  boot/vmlinuz-3.5.0-17-generic                  1
  409.  267.194854736 = 286.898290688  initrd.img                                     1
  410.  267.194854736 = 286.898290688  initrd.img.old                                 1
  411.  268.403842926 = 288.196431872  vmlinuz                                        1
  412.  
  413. ========= Devices which don't seem to have a corresponding hard drive: =========
  414.  
  415. sdc
clone this paste RAW Paste Data