Code:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> 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: According to the info in the boot sector, sda1 starts
at sector 2048. But according to the info from fdisk,
sda1 starts at sector 63. The info in boot sector on
the starting sector of the MFT is wrong. According to
the info in the boot sector, sda1 has 407551 sectors,
but according to the info from fdisk, it has 1984
sectors.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda2 starts
at sector 409600. But according to the info from
fdisk, sda2 starts at sector 2048. The info in boot
sector on the starting sector of the MFT is wrong.
According to the info in the boot sector, sda2 has
937244671 sectors, but according to the info from
fdisk, it has 407551 sectors.
Operating System: Windows 7
Boot files: /bootmgr /boot/BCD /Windows/System32/winload.exe
/wubildr /ubuntu/winboot/wubildr /wubildr.mbr
/ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk
/ubuntu/disks/swap.disk
sda2/Wubi: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.10
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 937656320. But according to the info from
fdisk, sda3 starts at sector 409600. According to the
info in the boot sector, sda3 has 38903807 sectors,
but according to the info from fdisk, it has 937244671
sectors.
Operating System:
Boot files: /bootmgr /boot/bcd
sda4: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 976560128. But according to the info from
fdisk, sda4 starts at sector 937654272. According to
the info in the boot sector, sda4 has 210992 sectors..
But according to the info from the partition table, it
has 39116847 sectors.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.04 2011-04-18
Boot sector info: Syslinux looks at sector 30526 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: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 2,047 1,985 42 SFS
/dev/sda2 * 2,048 409,599 407,552 42 SFS
/dev/sda3 409,600 937,654,271 937,244,672 42 SFS
/dev/sda4 937,654,272 976,771,119 39,116,848 42 SFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders, total 7843840 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 * 8,192 7,843,839 7,835,648 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 0E7CDFE07CDFC09F ntfs SYSTEM
/dev/sda2 406CBD7B6CBD6BF2 ntfs MNM
/dev/sda3 889E196B9E195354 ntfs RECOVERY
/dev/sda4 10E4-096B vfat HP_TOOLS
/dev/sdb1 1F0C-0B29 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)
======================== sda2/Wubi/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 ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 406CBD7B6CBD6BF2
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 406CBD7B6CBD6BF2
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
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 ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
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 {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 406CBD7B6CBD6BF2
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=406CBD7B6CBD6BF2 loop=/ubuntu/disks/root.disk 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 {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 406CBD7B6CBD6BF2
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=406CBD7B6CBD6BF2 loop=/ubuntu/disks/root.disk ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-12-generic
}
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
--------------------------------------------------------------------------------
============================= sda2/Wubi/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
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0
--------------------------------------------------------------------------------
================= sda2/Wubi: Location of files loaded by Grub: =================
GiB - GB File Fragment(s)
= 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: ========================
MFT Sector of sda1
00000000 46 49 4c 45 30 00 03 00 ea 22 10 00 00 00 00 00 |FILE0...."......|
00000010 01 00 01 00 38 00 01 00 a0 01 00 00 00 04 00 00 |....8...........|
00000020 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |................|
00000030 03 00 98 93 00 00 00 00 10 00 00 00 60 00 00 00 |............`...|
00000040 00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 |........H.......|
00000050 07 c8 3f df 88 3a cb 01 07 c8 3f df 88 3a cb 01 |..?..:....?..:..|
*
00000070 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 30 00 00 00 68 00 00 00 |........0...h...|
000000a0 00 00 18 00 00 00 03 00 4a 00 00 00 18 00 01 00 |........J.......|
000000b0 05 00 00 00 00 00 05 00 07 c8 3f df 88 3a cb 01 |..........?..:..|
000000c0 07 c8 3f df 88 3a cb 01 07 c8 3f df 88 3a cb 01 |..?..:....?..:..|
000000d0 07 c8 3f df 88 3a cb 01 00 40 00 00 00 00 00 00 |..?..:...@......|
000000e0 00 40 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |.@..............|
000000f0 04 03 24 00 4d 00 46 00 54 00 00 00 00 00 00 00 |..$.M.F.T.......|
00000100 80 00 00 00 48 00 00 00 01 00 40 00 00 00 01 00 |....H.....@.....|
00000110 00 00 00 00 00 00 00 00 3f 00 00 00 00 00 00 00 |........?.......|
00000120 40 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 |@...............|
00000130 00 00 04 00 00 00 00 00 00 00 04 00 00 00 00 00 |................|
00000140 21 40 55 42 00 01 70 89 b0 00 00 00 50 00 00 00 |!@UB..p.....P...|
00000150 01 00 40 00 00 00 05 00 00 00 00 00 00 00 00 00 |..@.............|
00000160 01 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
00000170 00 20 00 00 00 00 00 00 08 10 00 00 00 00 00 00 |. ..............|
00000180 08 10 00 00 00 00 00 00 21 01 54 42 21 01 fd fd |........!.TB!...|
00000190 00 00 01 00 00 00 98 93 ff ff ff ff 00 00 00 00 |................|
000001a0 00 00 04 00 00 00 00 00 21 40 55 42 00 01 70 89 |........!@UB..p.|
000001b0 b0 00 00 00 50 00 00 00 01 00 40 00 00 00 05 00 |....P.....@.....|
000001c0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................|
000001d0 40 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 |@........ ......|
000001e0 08 10 00 00 00 00 00 00 08 10 00 00 00 00 00 00 |................|
000001f0 21 01 54 42 21 01 fd fd 00 00 01 00 00 00 03 00 |!.TB!...........|
00000200
MFT Sector of sda2
00000000 46 49 4c 45 30 00 03 00 f2 92 10 32 06 00 00 00 |FILE0......2....|
00000010 01 00 01 00 38 00 01 00 d8 01 00 00 00 04 00 00 |....8...........|
00000020 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |................|
00000030 3e 02 ff ff 00 00 00 00 10 00 00 00 60 00 00 00 |>...........`...|
00000040 00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 |........H.......|
00000050 0a c7 3f bc 7f 3a cb 01 0a c7 3f bc 7f 3a cb 01 |..?..:....?..:..|
*
00000070 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 30 00 00 00 68 00 00 00 |........0...h...|
000000a0 00 00 18 00 00 00 03 00 4a 00 00 00 18 00 01 00 |........J.......|
000000b0 05 00 00 00 00 00 05 00 0a c7 3f bc 7f 3a cb 01 |..........?..:..|
000000c0 0a c7 3f bc 7f 3a cb 01 0a c7 3f bc 7f 3a cb 01 |..?..:....?..:..|
000000d0 0a c7 3f bc 7f 3a cb 01 00 40 00 00 00 00 00 00 |..?..:...@......|
000000e0 00 40 00 00 00 00 00 00 06 00 00 00 00 00 00 00 |.@..............|
000000f0 04 03 24 00 4d 00 46 00 54 00 00 00 00 00 00 00 |..$.M.F.T.......|
00000100 80 00 00 00 68 00 00 00 01 00 40 00 00 00 01 00 |....h.....@.....|
00000110 00 00 00 00 00 00 00 00 bf 9d 01 00 00 00 00 00 |................|
00000120 40 00 00 00 00 00 00 00 00 00 dc 19 00 00 00 00 |@...............|
00000130 00 00 dc 19 00 00 00 00 00 00 dc 19 00 00 00 00 |................|
00000140 33 60 c3 00 00 00 0c 32 00 0f f8 ea 09 32 a0 01 |3`.....2.....2..|
00000150 54 1b fd 42 00 03 78 da 6b 03 43 c0 c6 00 d8 f7 |T..B..x.k.C.....|
00000160 8d fd 00 00 00 00 00 00 b0 00 00 00 68 00 00 00 |............h...|
00000170 01 00 40 00 00 00 05 00 00 00 00 00 00 00 00 00 |..@.............|
00000180 0d 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 |........@.......|
00000190 00 e0 00 00 00 00 00 00 08 d0 00 00 00 00 00 00 |................|
000001a0 08 d0 00 00 00 00 00 00 31 01 ff ff 0b 31 07 0a |........1....1..|
000001b0 04 02 41 02 ef 5f 9c 03 41 01 4b 3d 5e fd 41 01 |..A.._..A.K=^.A.|
000001c0 87 c8 76 02 31 01 98 fe 00 41 01 aa 0b 80 00 00 |..v.1....A......|
000001d0 ff ff ff ff 00 00 00 00 00 20 00 00 00 00 00 00 |......... ......|
000001e0 08 10 00 00 00 00 00 00 08 10 00 00 00 00 00 00 |................|
000001f0 31 01 ff ff 0b 11 01 ff 00 d5 ac 04 80 fa 3e 02 |1.............>.|
00000200
Unknown BootLoader on sda4
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 ce 19 |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 20 35 3a |........?.... 5:|
00000020 30 38 03 00 19 03 00 00 00 00 00 00 02 00 00 00 |08..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 6b 09 e4 10 4e 4f 20 4e 41 4d 45 20 20 |..)k...NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200
=============================== StdErr Messages: ===============================
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
M not able to boot into Ubuntu...It displays a blank screen which lasts forever. It was working fine few days back.. Please help
Bookmarks