daily pastebin goal
29%
SHARE
TWEET

bash_info_script

a guest Oct 19th, 2012 52 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. ============================= 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 (,msdos7)/boot/grub on this drive.
  9.  => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
  10.  => No boot loader is installed in the MBR of /dev/sdc.
  11.  
  12. sda2: __________________________________________________________________________
  13.  
  14.     File system:       Extended Partition
  15.     Boot sector type:  -
  16.     Boot sector info:
  17.  
  18. sda5: __________________________________________________________________________
  19.  
  20.     File system:       ntfs
  21.     Boot sector type:  Windows Vista/7: NTFS
  22.     Boot sector info:  According to the info in the boot sector, sda5 starts
  23.                        at sector 2048.
  24.     Operating System:  
  25.     Boot files:        
  26.  
  27. sda6: __________________________________________________________________________
  28.  
  29.     File system:       swap
  30.     Boot sector type:  -
  31.     Boot sector info:
  32.  
  33. sda7: __________________________________________________________________________
  34.  
  35.     File system:       ext4
  36.     Boot sector type:  -
  37.     Boot sector info:
  38.     Operating System:  Ubuntu 12.10
  39.     Boot files:        /boot/grub/grub.cfg /etc/fstab
  40.  
  41. sda3: __________________________________________________________________________
  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:  Windows 7
  47.     Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
  48.  
  49. sdb1: __________________________________________________________________________
  50.  
  51.     File system:       vfat
  52.     Boot sector type:  SYSLINUX 4.05 20120702
  53.     Boot sector info:  Syslinux looks at sector 3141224 of /dev/sdb1 for its
  54.                        second stage. SYSLINUX is installed in the  directory.
  55.                        The integrity check of the ADV area failed. According
  56.                        to the info in the boot sector, sdb1 starts at sector
  57.                        0. But according to the info from fdisk, sdb1 starts
  58.                        at sector 63.
  59.     Operating System:  
  60.     Boot files:        /syslinux.cfg /ldlinux.sys
  61.  
  62. sdc1: __________________________________________________________________________
  63.  
  64.     File system:       vfat
  65.     Boot sector type:  FAT32
  66.     Boot sector info:  According to the info in the boot sector, sdc1 starts
  67.                        at sector 0. But according to the info from fdisk,
  68.                        sdc1 starts at sector 16.
  69.     Operating System:  
  70.     Boot files:        
  71.  
  72. ============================ Drive/Partition Info: =============================
  73.  
  74. Drive: sda _____________________________________________________________________
  75.  
  76. Disk /dev/sda: 120.0 GB, 120034123776 bytes
  77. 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
  78. Units = sectors of 1 * 512 = 512 bytes
  79. Sector size (logical/physical): 512 bytes / 512 bytes
  80.  
  81. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  82.  
  83. /dev/sda2    *          2,046   183,283,711   183,281,666   f W95 Extended (LBA)
  84. /dev/sda5         138,055,680   183,283,711    45,228,032   7 NTFS / exFAT / HPFS
  85. /dev/sda6         134,051,840   138,055,679     4,003,840  82 Linux swap / Solaris
  86. /dev/sda7               2,048   134,048,922   134,046,875  83 Linux
  87. /dev/sda3         183,293,952   234,438,655    51,144,704   7 NTFS / exFAT / HPFS
  88.  
  89.  
  90. Drive: sdb _____________________________________________________________________
  91.  
  92. Disk /dev/sdb: 4048 MB, 4048551936 bytes
  93. 255 heads, 63 sectors/track, 492 cylinders, total 7907328 sectors
  94. Units = sectors of 1 * 512 = 512 bytes
  95. Sector size (logical/physical): 512 bytes / 512 bytes
  96.  
  97. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  98.  
  99. /dev/sdb1    *             63     7,887,914     7,887,852   b W95 FAT32
  100.  
  101.  
  102. Drive: sdc _____________________________________________________________________
  103.  
  104. Disk /dev/sdc: 1018 MB, 1018691584 bytes
  105. 4 heads, 16 sectors/track, 31088 cylinders, total 1989632 sectors
  106. Units = sectors of 1 * 512 = 512 bytes
  107. Sector size (logical/physical): 512 bytes / 512 bytes
  108.  
  109. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  110.  
  111. /dev/sdc1    *             16     1,989,631     1,989,616   c W95 FAT32 (LBA)
  112.  
  113.  
  114. "blkid" output: ________________________________________________________________
  115.  
  116. Device           UUID                                   TYPE       LABEL
  117.  
  118. /dev/loop0                                              squashfs  
  119. /dev/sda3        94EAA2A5EAA2835A                       ntfs       Darkdevil's Drive
  120. /dev/sda5        8ECE2F3CCE2F1BC9                       ntfs       <Gateway Drive>
  121. /dev/sda6        c1a02fe7-35e2-4b0d-a2c3-50ec3da0c1b6   swap      
  122. /dev/sda7        f28cb8b6-6c7c-47f7-a13a-580148f644c0   ext4      
  123. /dev/sdb1        10B7-0C28                              vfat       dArKd3ViL
  124. /dev/sdc1        9BD1-7A37                              vfat      
  125. /dev/sr1                                                iso9660    Idea Net Setter
  126.  
  127. ================================ Mount points: =================================
  128.  
  129. Device           Mount_Point              Type       Options
  130.  
  131. /dev/loop0       /rofs                    squashfs   (ro,noatime)
  132. /dev/sda5        /media/ubuntu/<Gateway Drive> fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
  133. /dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  134. /dev/sdc1        /media/ubuntu/9BD1-7A37  vfat       (rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
  135.  
  136.  
  137. =========================== sda7/boot/grub/grub.cfg: ===========================
  138.  
  139. --------------------------------------------------------------------------------
  140. #
  141. # DO NOT EDIT THIS FILE
  142. #
  143. # It is automatically generated by grub-mkconfig using templates
  144. # from /etc/grub.d and settings from /etc/default/grub
  145. #
  146.  
  147. ### BEGIN /etc/grub.d/00_header ###
  148. if [ -s $prefix/grubenv ]; then
  149.   set have_grubenv=true
  150.   load_env
  151. fi
  152. set default="0"
  153.  
  154. if [ x"${feature_menuentry_id}" = xy ]; then
  155.   menuentry_id_option="--id"
  156. else
  157.   menuentry_id_option=""
  158. fi
  159.  
  160. export menuentry_id_option
  161.  
  162. if [ "${prev_saved_entry}" ]; then
  163.   set saved_entry="${prev_saved_entry}"
  164.   save_env saved_entry
  165.   set prev_saved_entry=
  166.   save_env prev_saved_entry
  167.   set boot_once=true
  168. fi
  169.  
  170. function savedefault {
  171.   if [ -z "${boot_once}" ]; then
  172.     saved_entry="${chosen}"
  173.     save_env saved_entry
  174.   fi
  175. }
  176.  
  177. function recordfail {
  178.   set recordfail=1
  179.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  180. }
  181.  
  182. function load_video {
  183.   if [ x$feature_all_video_module = xy ]; then
  184.     insmod all_video
  185.   else
  186.     insmod efi_gop
  187.     insmod efi_uga
  188.     insmod ieee1275_fb
  189.     insmod vbe
  190.     insmod vga
  191.     insmod video_bochs
  192.     insmod video_cirrus
  193.   fi
  194. }
  195.  
  196. if [ x$feature_default_font_path = xy ] ; then
  197.    font=unicode
  198. else
  199. insmod ldm
  200. insmod ext2
  201. set root='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'
  202. if [ x$feature_platform_search_hint = xy ]; then
  203.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'  f28cb8b6-6c7c-47f7-a13a-580148f644c0
  204. else
  205.   search --no-floppy --fs-uuid --set=root f28cb8b6-6c7c-47f7-a13a-580148f644c0
  206. fi
  207.     font="/usr/share/grub/unicode.pf2"
  208. fi
  209.  
  210. if loadfont $font ; then
  211.   set gfxmode=auto
  212.   load_video
  213.   insmod gfxterm
  214.   set locale_dir=$prefix/locale
  215.   set lang=en_US
  216.   insmod gettext
  217. fi
  218. terminal_output gfxterm
  219. if [ "${recordfail}" = 1 ]; then
  220.   set timeout=10
  221. else
  222.   set timeout=10
  223. fi
  224. ### END /etc/grub.d/00_header ###
  225.  
  226. ### BEGIN /etc/grub.d/05_debian_theme ###
  227. set menu_color_normal=white/black
  228. set menu_color_highlight=black/light-gray
  229. if background_color 44,0,30; then
  230.   clear
  231. fi
  232. ### END /etc/grub.d/05_debian_theme ###
  233.  
  234. ### BEGIN /etc/grub.d/10_linux ###
  235. function gfxmode {
  236.         set gfxpayload="${1}"
  237.         if [ "${1}" = "keep" ]; then
  238.                 set vt_handoff=vt.handoff=7
  239.         else
  240.                 set vt_handoff=
  241.         fi
  242. }
  243. if [ "${recordfail}" != 1 ]; then
  244.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  245.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  246.       if [ ${match} = 0 ]; then
  247.         set linux_gfx_mode=keep
  248.       else
  249.         set linux_gfx_mode=text
  250.       fi
  251.     else
  252.       set linux_gfx_mode=text
  253.     fi
  254.   else
  255.     set linux_gfx_mode=keep
  256.   fi
  257. else
  258.   set linux_gfx_mode=text
  259. fi
  260. export linux_gfx_mode
  261. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  262. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f28cb8b6-6c7c-47f7-a13a-580148f644c0' {
  263. recordfail
  264.         gfxmode $linux_gfx_mode
  265.         insmod gzio
  266.         insmod ldm
  267.         insmod ext2
  268.         set root='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'
  269.         if [ x$feature_platform_search_hint = xy ]; then
  270.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'  f28cb8b6-6c7c-47f7-a13a-580148f644c0
  271.         else
  272.           search --no-floppy --fs-uuid --set=root f28cb8b6-6c7c-47f7-a13a-580148f644c0
  273.         fi
  274.         linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=f28cb8b6-6c7c-47f7-a13a-580148f644c0 ro   quiet splash $vt_handoff
  275.         initrd  /boot/initrd.img-3.5.0-17-generic
  276. }
  277. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-f28cb8b6-6c7c-47f7-a13a-580148f644c0' {
  278.         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-f28cb8b6-6c7c-47f7-a13a-580148f644c0' {
  279.         recordfail
  280.                 gfxmode $linux_gfx_mode
  281.                 insmod gzio
  282.                 insmod ldm
  283.                 insmod ext2
  284.                 set root='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'
  285.                 if [ x$feature_platform_search_hint = xy ]; then
  286.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'  f28cb8b6-6c7c-47f7-a13a-580148f644c0
  287.                 else
  288.                   search --no-floppy --fs-uuid --set=root f28cb8b6-6c7c-47f7-a13a-580148f644c0
  289.                 fi
  290.                 echo    'Loading Linux 3.5.0-17-generic ...'
  291.                 linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=f28cb8b6-6c7c-47f7-a13a-580148f644c0 ro   quiet splash $vt_handoff
  292.                 echo    'Loading initial ramdisk ...'
  293.                 initrd  /boot/initrd.img-3.5.0-17-generic
  294.         }
  295.         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-f28cb8b6-6c7c-47f7-a13a-580148f644c0' {
  296.         recordfail
  297.                 insmod gzio
  298.                 insmod ldm
  299.                 insmod ext2
  300.                 set root='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'
  301.                 if [ x$feature_platform_search_hint = xy ]; then
  302.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'  f28cb8b6-6c7c-47f7-a13a-580148f644c0
  303.                 else
  304.                   search --no-floppy --fs-uuid --set=root f28cb8b6-6c7c-47f7-a13a-580148f644c0
  305.                 fi
  306.                 echo    'Loading Linux 3.5.0-17-generic ...'
  307.                 linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=f28cb8b6-6c7c-47f7-a13a-580148f644c0 ro recovery nomodeset
  308.                 echo    'Loading initial ramdisk ...'
  309.                 initrd  /boot/initrd.img-3.5.0-17-generic
  310.         }
  311. }
  312.  
  313. ### END /etc/grub.d/10_linux ###
  314.  
  315. ### BEGIN /etc/grub.d/20_linux_xen ###
  316.  
  317. ### END /etc/grub.d/20_linux_xen ###
  318.  
  319. ### BEGIN /etc/grub.d/20_memtest86+ ###
  320. menuentry "Memory test (memtest86+)" {
  321.         insmod ldm
  322.         insmod ext2
  323.         set root='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'
  324.         if [ x$feature_platform_search_hint = xy ]; then
  325.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'  f28cb8b6-6c7c-47f7-a13a-580148f644c0
  326.         else
  327.           search --no-floppy --fs-uuid --set=root f28cb8b6-6c7c-47f7-a13a-580148f644c0
  328.         fi
  329.         linux16 /boot/memtest86+.bin
  330. }
  331. menuentry "Memory test (memtest86+, serial console 115200)" {
  332.         insmod ldm
  333.         insmod ext2
  334.         set root='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'
  335.         if [ x$feature_platform_search_hint = xy ]; then
  336.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/c1b04316-16e9-11e0-ba93-00197de67dcb/Volume1'  f28cb8b6-6c7c-47f7-a13a-580148f644c0
  337.         else
  338.           search --no-floppy --fs-uuid --set=root f28cb8b6-6c7c-47f7-a13a-580148f644c0
  339.         fi
  340.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  341. }
  342. ### END /etc/grub.d/20_memtest86+ ###
  343.  
  344. ### BEGIN /etc/grub.d/30_os-prober ###
  345. menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-94EAA2A5EAA2835A' {
  346.         insmod part_msdos
  347.         insmod ntfs
  348.         set root='hd0,msdos3'
  349.         if [ x$feature_platform_search_hint = xy ]; then
  350.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  94EAA2A5EAA2835A
  351.         else
  352.           search --no-floppy --fs-uuid --set=root 94EAA2A5EAA2835A
  353.         fi
  354.         chainloader +1
  355. }
  356. ### END /etc/grub.d/30_os-prober ###
  357.  
  358. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  359. ### END /etc/grub.d/30_uefi-firmware ###
  360.  
  361. ### BEGIN /etc/grub.d/40_custom ###
  362. # This file provides an easy way to add custom menu entries.  Simply type the
  363. # menu entries you want to add after this comment.  Be careful not to change
  364. # the 'exec tail' line above.
  365. ### END /etc/grub.d/40_custom ###
  366.  
  367. ### BEGIN /etc/grub.d/41_custom ###
  368. if [ -f  ${config_directory}/custom.cfg ]; then
  369.   source ${config_directory}/custom.cfg
  370. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  371.   source $prefix/custom.cfg;
  372. fi
  373. ### END /etc/grub.d/41_custom ###
  374. --------------------------------------------------------------------------------
  375.  
  376. =============================== sda7/etc/fstab: ================================
  377.  
  378. --------------------------------------------------------------------------------
  379. # /etc/fstab: static file system information.
  380. #
  381. # Use 'blkid' to print the universally unique identifier for a
  382. # device; this may be used with UUID= as a more robust way to name devices
  383. # that works even if disks are added and removed. See fstab(5).
  384. #
  385. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  386. # / was on /dev/sda7 during installation
  387. UUID=f28cb8b6-6c7c-47f7-a13a-580148f644c0 /               ext4    errors=remount-ro 0       1
  388. # swap was on /dev/sda6 during installation
  389. UUID=c1a02fe7-35e2-4b0d-a2c3-50ec3da0c1b6 none            swap    sw              0       0
  390. --------------------------------------------------------------------------------
  391.  
  392. =================== sda7: Location of files loaded by Grub: ====================
  393.  
  394.            GiB - GB             File                                 Fragment(s)
  395.  
  396.                =                boot/grub/grub.cfg                             1
  397.                =                boot/initrd.img-3.5.0-17-generic               2
  398.                =                boot/vmlinuz-3.5.0-17-generic                  1
  399.                =                initrd.img                                     2
  400.                =                vmlinuz                                        1
  401.  
  402. ============================== sdb1/syslinux.cfg: ==============================
  403.  
  404. --------------------------------------------------------------------------------
  405. default menu.c32
  406. prompt 0
  407. menu title UNetbootin
  408. timeout 100
  409.  
  410. label unetbootindefault
  411. menu label Default
  412. kernel /ubnkern
  413. append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
  414.  
  415. label ubnentry0
  416. menu label ^Help
  417. kernel /ubnkern
  418. append initrd=/ubninit
  419.  
  420. label ubnentry1
  421. menu label ^Try Ubuntu without installing
  422. kernel /casper/vmlinuz
  423. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash --
  424.  
  425. label ubnentry2
  426. menu label ^Install Ubuntu
  427. kernel /casper/vmlinuz
  428. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity  quiet splash --
  429.  
  430. label ubnentry3
  431. menu label ^Check disc for defects
  432. kernel /casper/vmlinuz
  433. append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --
  434.  
  435. label ubnentry4
  436. menu label Test ^memory
  437. kernel /install/mt86plus
  438. append initrd=/ubninit
  439.  
  440. label ubnentry5
  441. menu label ^Boot from first hard disk
  442. kernel /ubnkern
  443. append initrd=/ubninit
  444.  
  445. --------------------------------------------------------------------------------
  446.  
  447. ================= sdb1: Location of files loaded by Syslinux: ==================
  448.  
  449.            GiB - GB             File                                 Fragment(s)
  450.  
  451.             ?? = ??             ldlinux.sys                                    1
  452.             ?? = ??             menu.c32                                       1
  453.             ?? = ??             syslinux.cfg                                   1
  454.  
  455. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  456.  
  457.  menu.c32                           :  COM32R module (v4.xx)
  458.  
  459. =============================== StdErr Messages: ===============================
  460.  
  461. xz: (stdin): Compressed data is corrupt
  462. awk: cmd. line:36: Math support is not compiled in
  463. awk: cmd. line:36: Math support is not compiled in
  464. awk: cmd. line:36: Math support is not compiled in
  465. awk: cmd. line:36: Math support is not compiled in
  466. awk: cmd. line:36: Math support is not compiled in
  467. /home/ubuntu/Downloads/bootinfoscript-061/bootinfoscript: line 1646: [: 2.73495e+09: integer expression expected
  468.   No volume groups found
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top