Code:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for on this drive.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows Vista
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.10
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /boot/bcd
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.05 2011-12-09
Boot sector info: Syslinux looks at sector 8224 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. No errors
found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 63 1,070,440,357 1,070,440,295 7 NTFS / exFAT / HPFS
/dev/sda2 1,070,440,446 1,226,833,919 156,393,474 5 Extended
/dev/sda5 1,070,440,448 1,218,711,551 148,271,104 83 Linux
/dev/sda6 1,218,713,600 1,226,833,919 8,120,320 82 Linux swap / Solaris
/dev/sda3 1,226,835,855 1,250,258,624 23,422,770 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 4012 MB, 4012900352 bytes
120 heads, 55 sectors/track, 1187 cylinders, total 7837696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 32 7,837,695 7,837,664 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 963E63DE3E63B641 ntfs HP
/dev/sda3 949CA48C9CA46A86 ntfs FACTORY_IMAGE
/dev/sda5 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a ext4
/dev/sda6 45766b40-ef85-4fe1-bc5c-83e80ccfc416 swap
/dev/sdb1 CA2B-BCAE vfat PENDRIVE
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sda5/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=67069b68-8bb1-406e-a8f3-8b7b22b0bb1a ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=67069b68-8bb1-406e-a8f3-8b7b22b0bb1a ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-12-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 67069b68-8bb1-406e-a8f3-8b7b22b0bb1a
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 963E63DE3E63B641
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda3)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 949CA48C9CA46A86
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda5/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=67069b68-8bb1-406e-a8f3-8b7b22b0bb1a / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=45766b40-ef85-4fe1-bc5c-83e80ccfc416 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
= boot/grub/core.img 1
= boot/grub/grub.cfg 1
= boot/initrd.img-3.0.0-12-generic 2
= boot/vmlinuz-3.0.0-12-generic 1
= initrd.img 2
= vmlinuz 1
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
========================= sdb1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
# If you would like to use the new menu and be presented with the option to install or run from USB at startup, remove # from the following line. This line was commented out (by request of many) to allow the old menu to be presented and to enable booting straight into the Live Environment!
# ui gfxboot bootlogo
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? ldlinux.sys 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/gfxboot.c32 1
?? = ?? syslinux/syslinux.cfg 1
?? = ?? syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/gfxboot.c32 : COM32R module (v4.xx)
syslinux/vesamenu.c32 : COM32R module (v4.xx)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 49 21 1e 40 e8 f9 8c 37 e9 e5 63 92 44 37 6b 0c |I!.@...7..c.D7k.|
00000010 0d 73 29 39 1e 9c 77 be 51 88 86 0c 89 a4 ad d5 |.s)9..w.Q.......|
00000020 24 2b d7 1a 59 3d 16 c1 cc 7c 48 ae 32 56 df 6b |$+..Y=...|H.2V.k|
00000030 ee 4a 5b c2 26 41 c9 06 2a 40 82 c6 b1 59 4c 54 |.J[.&A..*@...YLT|
00000040 a0 29 0c 22 c8 97 1e d8 bf 1d b3 57 9c 37 d4 77 |.).".......W.7.w|
00000050 d3 15 63 0e 6b 80 38 b9 70 04 ab 5f 0a 8e 1f 33 |..c.k.8.p.._...3|
00000060 14 24 01 0f af c2 22 6d 10 20 3c 08 d5 6b 45 52 |.$...."m. <..kER|
00000070 08 41 49 65 11 25 06 04 ff 17 80 24 66 e9 1a 2e |.AIe.%.....$f...|
00000080 6b 24 ba db a4 07 76 49 79 49 4c b5 92 e4 82 06 |k$....vIyIL.....|
00000090 e8 7a 2d 54 00 92 63 8e 97 95 7e 93 b3 7c fc 88 |.z-T..c...~..|..|
000000a0 64 7b ba b5 b9 03 7c d6 e5 ae ee 97 29 74 6f 84 |d{....|.....)to.|
000000b0 2f 16 bf 46 31 1c c6 e0 e7 e7 2a 9c 63 a5 96 e7 |/..F1.....*.c...|
000000c0 f8 60 59 cc 9c 5c 74 62 8a 14 f5 fb da 2e 09 69 |.`Y..\tb.......i|
000000d0 2a 9a 79 be 35 2e 4e 10 8d 4d 94 55 3a 89 a2 eb |*.y.5.N..M.U:...|
000000e0 f5 ce 8d 7a 53 0c 8d 32 e4 d5 a5 11 03 7a 0d fa |...zS..2.....z..|
000000f0 8a f1 e2 7b dd cc c6 2f 2d bd 02 95 64 33 f2 b3 |...{.../-...d3..|
00000100 e7 8a d1 25 83 d8 6d 8f 8b 3c e7 e9 3d a8 2a 10 |...%..m..<..=.*.|
00000110 81 93 96 e9 6c d2 ee 9a 95 ea 6a e6 60 c7 ef 87 |....l.....j.`...|
00000120 93 c2 48 1f 3a c8 a6 b3 52 6a 36 86 95 1e e1 ca |..H.:...Rj6.....|
00000130 b3 c1 3a 60 73 ba be 36 bb 3d da a8 fc 7d 37 63 |..:`s..6.=...}7c|
00000140 c9 a8 06 3f e6 97 7a a0 00 2d 21 f0 1f 3e 94 70 |...?..z..-!..>.p|
00000150 a2 0f d7 8a 26 5a cc f9 7c f8 4a 90 27 22 91 10 |....&Z..|.J.'"..|
00000160 d8 96 bf cf 98 52 47 77 b0 9b f4 f4 0b 20 d3 f8 |.....RGw..... ..|
00000170 e4 27 9f 5d 50 59 0b 70 e5 d9 c4 26 f2 61 12 5a |.'.]PY.p...&.a.Z|
00000180 b9 61 f9 fb d0 6b d5 a8 28 b4 7b f8 64 38 7e 48 |.a...k..(.{.d8~H|
00000190 94 a1 6a 5e 36 aa e2 dd 21 81 b9 06 a5 dd b3 41 |..j^6...!......A|
000001a0 35 43 95 d1 83 f4 cc 4f d8 0f 5e f6 3f 2f 7f 2d |5C.....O..^.?/.-|
000001b0 5e 04 58 cc 1c 25 14 d8 b8 93 77 c8 ac 72 00 fe |^.X..%....w..r..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 70 d6 08 00 fe |...........p....|
000001d0 ff ff 05 fe ff ff 02 70 d6 08 00 f0 7b 00 00 00 |.......p....{...|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
========= Devices which don't seem to have a corresponding hard drive: =========
sdc sdd sde sdf
=============================== StdErr Messages: ===============================
unlzma: Decoder error
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
/home/ubuntu/Desktop/boot_info_script.sh: line 1579: [: 2.73495e+09: integer expression expected
Bookmarks