PDA

View Full Version : [ubuntu] Win7 gone from Grub after update



darlid01
December 30th, 2010, 02:04 AM
I thought I found a thread about this already, but now I can't find it. I know I need to edit the Grub to put the entry back in for Win7, but I'm not sure what to put in. I'm also not sure where the file is that I need to edit. Ubuntu 10.10 is working great, but I also need Win7 for some work stuff.

I'm one of those users that can get around using the GUI and if I know what I'm supposed to put in Terminal I can do so, but I'm no programmer. Let me know what info you need. I attached the bootscript results.

darlid01
December 30th, 2010, 02:17 AM
Oh, and FYI, it was all working fine until the last update to 10.10. It booted into grub and I could pick between Ubuntu or Win7 (Or memtest) So somehow the update borked it.

degarb
December 30th, 2010, 03:09 AM
I am a novice at best.

But should she auto detect the other os's? Should this not be possible?

I understand grub may disappear if you reinstall winodows, but grub is easy to reinstall from live cd (though an ap SHOULD be written for live cd to make this graphical, to alleviate having to regoogle the how to guide.)

Quackers
December 30th, 2010, 04:21 AM
Please post results.txt in code tags

Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda

sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 316,223,487 316,221,440 7 HPFS/NTFS
/dev/sda2 316,225,534 625,141,759 308,916,226 5 Extended
/dev/sda5 316,225,536 623,187,967 306,962,432 83 Linux
/dev/sda6 623,190,016 625,141,759 1,951,744 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda2: PTTYPE="dos"
/dev/sda5 ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ext4
/dev/sda6 4de25da7-12e9-459c-bf9b-d8a1c547979e swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)


=========================== 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 part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux /boot/vmlinuz-2.6.35-24-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro quiet splash
initrd /boot/initrd.img-2.6.35-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
echo 'Loading Linux 2.6.35-24-generic-pae ...'
linux /boot/vmlinuz-2.6.35-24-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux /boot/vmlinuz-2.6.35-23-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro quiet splash
initrd /boot/initrd.img-2.6.35-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
echo 'Loading Linux 2.6.35-23-generic-pae ...'
linux /boot/vmlinuz-2.6.35-23-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux /boot/vmlinuz-2.6.35-22-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
echo 'Loading Linux 2.6.35-22-generic-pae ...'
linux /boot/vmlinuz-2.6.35-22-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic-pae
}
### 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 ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
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 ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### 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 ###

=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=4de25da7-12e9-459c-bf9b-d8a1c547979e none swap sw 0 0

=================== sda5: Location of files loaded by Grub: ===================


316.6GB: boot/grub/core.img
280.7GB: boot/grub/grub.cfg
163.1GB: boot/initrd.img-2.6.35-22-generic-pae
280.6GB: boot/initrd.img-2.6.35-23-generic-pae
281.0GB: boot/initrd.img-2.6.35-24-generic-pae
316.6GB: boot/vmlinuz-2.6.35-22-generic-pae
316.6GB: boot/vmlinuz-2.6.35-23-generic-pae
279.8GB: boot/vmlinuz-2.6.35-24-generic-pae
281.0GB: initrd.img
280.6GB: initrd.img.old
279.8GB: vmlinuz
316.6GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 10 60 4d 34 15 2c 93 5d 41 3d b2 84 07 be b4 be |.`M4.,.]A=......|
00000010 86 7a 3c 89 2f 9e 6e f6 cf 00 b9 eb 1e d1 1b 52 |.z<./.n........R|
00000020 82 a5 cb 28 b1 ae 0c 0a 9a 3f 90 de 96 e1 06 c1 |...(.....?......|
00000030 43 0b 3e 23 3b 16 01 1d d4 dd 9e d3 f5 be eb fc |C.>#;...........|
00000040 10 e4 dd 77 e2 6e 41 c3 98 57 15 b1 48 c8 0c c5 |...w.nA..W..H...|
00000050 6a 49 cb 5c df 72 a6 19 e9 c3 39 fe fb 7e d2 4f |jI.\.r....9..~.O|
00000060 3e de bc f8 24 22 4e a9 28 6c 02 7b 0b 72 b3 30 |>...$"N.(l.{.r.0|
00000070 22 a1 47 a1 28 a1 a5 c9 95 44 ac e8 3f 67 f3 d8 |".G.(....D..?g..|
00000080 6c a6 66 c7 b3 b4 4a 6c e4 f7 c3 e4 7c c0 71 7b |l.f...Jl....|.q{|
00000090 68 c9 46 29 1b 52 13 c9 4b d6 6d dc 01 95 41 cf |h.F).R..K.m...A.|
000000a0 56 1a 70 2e 05 91 08 93 69 21 af e0 43 98 d4 35 |V.p.....i!..C..5|
000000b0 90 10 45 d9 e1 b8 c4 0a 96 0e 60 3e 5e 84 60 e7 |..E.......`>^.`.|
000000c0 e7 da f7 a1 40 1e 6f 64 66 ed 2e a6 42 2b 34 04 |....@.odf...B+4.|
000000d0 97 88 65 71 df 36 c6 57 c1 87 4d 49 e2 8f 99 88 |..eq.6.W..MI....|
000000e0 bc 10 75 f6 c0 45 ed 63 ae 3b 6c 44 d1 12 a8 14 |..u..E.c.;lD....|
000000f0 a8 2f 07 f1 a8 a3 d3 92 f0 02 07 ec d9 4d 66 6e |./...........Mfn|
00000100 6d 34 78 2e 40 86 70 8a 5c 24 81 4e 92 cd b3 91 |m4x.@.p.\$.N....|
00000110 49 72 c2 ea 99 3d ed 75 7a ca d9 8c 99 97 6e 40 |Ir...=.uz.....n@|
00000120 3d 94 b9 c5 b9 7a c1 0b ae c8 3f f1 23 65 b8 5a |=....z....?.#e.Z|
00000130 75 41 4d d5 13 10 ec f9 9f 05 2b e8 8c 62 9d 77 |uAM.......+..b.w|
00000140 30 00 cc fb bd be 1e 91 91 d2 5d 8a 64 c1 39 49 |0.........].d.9I|
00000150 07 b8 85 6e 20 7a 6c 84 ef b3 7a 71 05 3d 93 cf |...n zl...zq.=..|
00000160 12 68 51 d5 27 88 3b 26 41 83 55 38 f7 4e 77 87 |.hQ.'.;&A.U8.Nw.|
00000170 95 e7 23 8d 0b b3 d5 eb e7 f3 aa 87 5d 0c 8b c6 |..#.........]...|
00000180 6d b2 ff de 72 1b b0 99 7b 04 85 41 92 5f 0e 63 |m...r...{..A._.c|
00000190 16 b3 24 5e f3 d4 79 15 40 5b d1 6c 8e 8d 1d 25 |..$^..y.@[.l...%|
000001a0 f2 78 40 77 83 ad c6 95 38 04 d2 c2 5e 6d 28 db |.x@w....8...^m(.|
000001b0 4d 32 77 36 b0 cf c8 ff 3c 11 87 a3 8c f7 da c3 |M2w6....<.......|
000001c0 8d 18 80 f0 cc 8c 57 c7 5f f1 dd 04 8e 4e 5f 52 |......W._....N_R|
000001d0 28 e9 6b f0 1b 65 c9 a2 ff f2 55 f2 d5 cf df 31 |(.k..e....U....1|
000001e0 c0 26 2c d5 f6 15 69 be 3a 35 91 8e f0 7e 80 2f |.&,...i.:5...~./|
000001f0 79 65 c3 f2 3e 6a a1 6d 02 8c 94 5c a7 84 dd 65 |ye..>j.m...\...e|
00000200



I'm afraid I have some bad news for you. There is no Windows on your sda drive. If it was on that drive it has now been over-written.
Is the update you were talking about an upgrade? From 10.04 to 10.10 ?

It may be possible to get some data or part of the Windows system back by using testdisk, but you should stop using Ubuntu immediately as by using it you are effectively over-writing anything that could be recovered. Use the Live cd desktop instead.

degarb
December 30th, 2010, 04:30 AM
What could have caused this? What user error?

The only thing I can think of is accidentally deleting a windows partition during a full install. (for new users' ease the installer should ask: What partitions should we take space away for Ubuntu? Not resize>new. Though, I didn't try the auto route for fear of the too auto extreme.)

Quackers
December 30th, 2010, 04:34 AM
If the OP was "upgrading" to 10.10 by clean installing it, the new installer can easily over-write existing operating systems if "install alongside" option is used.

nebileix
December 30th, 2010, 04:38 AM
Have u tried to do this?


$sudo update-grub

presence1960
December 30th, 2010, 04:42 AM
It looks like your windows is on sda1, but is somehow corrupted. You can boot the windows 7 install disk and choose Repair. It will search for windows installs. Make sure your windows is highlighted & click next. Choose command prompt and run
chkdsk C: /r

After it completes which may take a while type exit and reboot. See if windows boots.

I do not know how you are booting to ubuntu because GRUB is not installed in the MBR, but lilo is there. Lilo provides a generic windows bootloader for the MBR.

After doing the above post another boot info script results please.


============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda
no GRUB here!!
sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
this is windows see below also



=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 316,223,487 316,221,440 7 HPFS/NTFS
/dev/sda2 316,225,534 625,141,759 308,916,226 5 Extended
/dev/sda5 316,225,536 623,187,967 306,962,432 83 Linux
/dev/sda6 623,190,016 625,141,759 1,951,744 82 Linux swap / Solaris

sda1 is definitely windows

Quackers
December 30th, 2010, 04:47 AM
Doh! You're absolutely right presence1960, I'm a fool.
I thought sda1 not mounting was due to it being Win 7's boot partition. I failed to look at its size!
My apologies to the OP for scaring them!

presence1960
December 30th, 2010, 04:49 AM
No you definitely are not a fool! We all make mistakes. You do a lot of good in here. If we can get sda1 fixed all the OP will have to do is reinstall GRUB.

presence1960
December 30th, 2010, 04:54 AM
Have u tried to do this?


$sudo update-grub

That will accomplish nothing because GRUB is not installed in the MBR...see below from OP's boot info script results:


============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda


The boot info script is an excellent tool for troubleshooting boot problems. if you need to learn how to interpret it's output just ask, many of us here will be glad to help. I say this because without the boot info script for boot problems we are really shooting in the dark and running multiple commands blindly can do more harm than good in the end.

Quackers
December 30th, 2010, 04:56 AM
Thank you, but I really should take more time to wake up before posting!
You're right, of course.

nebileix
December 30th, 2010, 06:05 AM
That will accomplish nothing because GRUB is not installed in the MBR...see below from OP's boot info script results:


============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda


The boot info script is an excellent tool for troubleshooting boot problems. if you need to learn how to interpret it's output just ask, many of us here will be glad to help. I say this because without the boot info script for boot problems we are really shooting in the dark and running multiple commands blindly can do more harm than good in the end.

haha.. oopss my bad.. I only see the OP title and missed out the lilo in the result.

presence1960
December 30th, 2010, 06:08 AM
haha.. oopss my bad.. I only see the OP title and missed out the lilo in the result.

no problem, just trying to help. That's how I got schooled in here.

darlid01
December 30th, 2010, 04:43 PM
Thanks guys. I will run chkdsk on sda1 and repost the script results.

darlid01
December 30th, 2010, 09:10 PM
ran chkdsk then rebooted.


darlid01@LV07A59:~$ sudo os-prober
darlid01@LV07A59:~$ sudo update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-24-generic-pae
Found initrd image: /boot/initrd.img-2.6.35-24-generic-pae
Found linux image: /boot/vmlinuz-2.6.35-23-generic-pae
Found initrd image: /boot/initrd.img-2.6.35-23-generic-pae
Found linux image: /boot/vmlinuz-2.6.35-22-generic-pae
Found initrd image: /boot/initrd.img-2.6.35-22-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
done
darlid01@LV07A59:~$ sudo bash ~/Desktop/boot_info_script*.sh
Identifying MBRs...
Computing Partition Table of /dev/sda...
Searching sda1 for information...
Searching sda2 for information...
Searching sda5 for information...
Searching sda6 for information...
Finished. The results are in the file RESULTS1.txt located in /home/darlid01/Desktop
Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda

sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 316,223,487 316,221,440 7 HPFS/NTFS
/dev/sda2 316,225,534 625,141,759 308,916,226 5 Extended
/dev/sda5 316,225,536 623,187,967 306,962,432 83 Linux
/dev/sda6 623,190,016 625,141,759 1,951,744 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda2: PTTYPE="dos"
/dev/sda5 ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ext4
/dev/sda6 4de25da7-12e9-459c-bf9b-d8a1c547979e swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)


=========================== 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 part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux /boot/vmlinuz-2.6.35-24-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro quiet splash
initrd /boot/initrd.img-2.6.35-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
echo 'Loading Linux 2.6.35-24-generic-pae ...'
linux /boot/vmlinuz-2.6.35-24-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux /boot/vmlinuz-2.6.35-23-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro quiet splash
initrd /boot/initrd.img-2.6.35-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
echo 'Loading Linux 2.6.35-23-generic-pae ...'
linux /boot/vmlinuz-2.6.35-23-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux /boot/vmlinuz-2.6.35-22-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
echo 'Loading Linux 2.6.35-22-generic-pae ...'
linux /boot/vmlinuz-2.6.35-22-generic-pae root=UUID=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic-pae
}
### 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 ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
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 ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### 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 ###

=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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=ac8d9308-bc64-41ca-aadc-1fa5ebf9eb7c / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=4de25da7-12e9-459c-bf9b-d8a1c547979e none swap sw 0 0

=================== sda5: Location of files loaded by Grub: ===================


316.6GB: boot/grub/core.img
279.8GB: boot/grub/grub.cfg
163.1GB: boot/initrd.img-2.6.35-22-generic-pae
280.6GB: boot/initrd.img-2.6.35-23-generic-pae
281.0GB: boot/initrd.img-2.6.35-24-generic-pae
316.6GB: boot/vmlinuz-2.6.35-22-generic-pae
316.6GB: boot/vmlinuz-2.6.35-23-generic-pae
279.8GB: boot/vmlinuz-2.6.35-24-generic-pae
281.0GB: initrd.img
280.6GB: initrd.img.old
279.8GB: vmlinuz
316.6GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 10 60 4d 34 15 2c 93 5d 41 3d b2 84 07 be b4 be |.`M4.,.]A=......|
00000010 86 7a 3c 89 2f 9e 6e f6 cf 00 b9 eb 1e d1 1b 52 |.z<./.n........R|
00000020 82 a5 cb 28 b1 ae 0c 0a 9a 3f 90 de 96 e1 06 c1 |...(.....?......|
00000030 43 0b 3e 23 3b 16 01 1d d4 dd 9e d3 f5 be eb fc |C.>#;...........|
00000040 10 e4 dd 77 e2 6e 41 c3 98 57 15 b1 48 c8 0c c5 |...w.nA..W..H...|
00000050 6a 49 cb 5c df 72 a6 19 e9 c3 39 fe fb 7e d2 4f |jI.\.r....9..~.O|
00000060 3e de bc f8 24 22 4e a9 28 6c 02 7b 0b 72 b3 30 |>...$"N.(l.{.r.0|
00000070 22 a1 47 a1 28 a1 a5 c9 95 44 ac e8 3f 67 f3 d8 |".G.(....D..?g..|
00000080 6c a6 66 c7 b3 b4 4a 6c e4 f7 c3 e4 7c c0 71 7b |l.f...Jl....|.q{|
00000090 68 c9 46 29 1b 52 13 c9 4b d6 6d dc 01 95 41 cf |h.F).R..K.m...A.|
000000a0 56 1a 70 2e 05 91 08 93 69 21 af e0 43 98 d4 35 |V.p.....i!..C..5|
000000b0 90 10 45 d9 e1 b8 c4 0a 96 0e 60 3e 5e 84 60 e7 |..E.......`>^.`.|
000000c0 e7 da f7 a1 40 1e 6f 64 66 ed 2e a6 42 2b 34 04 |....@.odf...B+4.|
000000d0 97 88 65 71 df 36 c6 57 c1 87 4d 49 e2 8f 99 88 |..eq.6.W..MI....|
000000e0 bc 10 75 f6 c0 45 ed 63 ae 3b 6c 44 d1 12 a8 14 |..u..E.c.;lD....|
000000f0 a8 2f 07 f1 a8 a3 d3 92 f0 02 07 ec d9 4d 66 6e |./...........Mfn|
00000100 6d 34 78 2e 40 86 70 8a 5c 24 81 4e 92 cd b3 91 |m4x.@.p.\$.N....|
00000110 49 72 c2 ea 99 3d ed 75 7a ca d9 8c 99 97 6e 40 |Ir...=.uz.....n@|
00000120 3d 94 b9 c5 b9 7a c1 0b ae c8 3f f1 23 65 b8 5a |=....z....?.#e.Z|
00000130 75 41 4d d5 13 10 ec f9 9f 05 2b e8 8c 62 9d 77 |uAM.......+..b.w|
00000140 30 00 cc fb bd be 1e 91 91 d2 5d 8a 64 c1 39 49 |0.........].d.9I|
00000150 07 b8 85 6e 20 7a 6c 84 ef b3 7a 71 05 3d 93 cf |...n zl...zq.=..|
00000160 12 68 51 d5 27 88 3b 26 41 83 55 38 f7 4e 77 87 |.hQ.'.;&A.U8.Nw.|
00000170 95 e7 23 8d 0b b3 d5 eb e7 f3 aa 87 5d 0c 8b c6 |..#.........]...|
00000180 6d b2 ff de 72 1b b0 99 7b 04 85 41 92 5f 0e 63 |m...r...{..A._.c|
00000190 16 b3 24 5e f3 d4 79 15 40 5b d1 6c 8e 8d 1d 25 |..$^..y.@[.l...%|
000001a0 f2 78 40 77 83 ad c6 95 38 04 d2 c2 5e 6d 28 db |.x@w....8...^m(.|
000001b0 4d 32 77 36 b0 cf c8 ff 3c 11 87 a3 8c f7 da c3 |M2w6....<.......|
000001c0 8d 18 80 f0 cc 8c 57 c7 5f f1 dd 04 8e 4e 5f 52 |......W._....N_R|
000001d0 28 e9 6b f0 1b 65 c9 a2 ff f2 55 f2 d5 cf df 31 |(.k..e....U....1|
000001e0 c0 26 2c d5 f6 15 69 be 3a 35 91 8e f0 7e 80 2f |.&,...i.:5...~./|
000001f0 79 65 c3 f2 3e 6a a1 6d 02 8c 94 5c a7 84 dd 65 |ye..>j.m...\...e|
00000200
Still not finding Win7
Could this be because I have McAfee Endpoint Encryption installed in Win7? It was working with the encryption before the last update, but then os-prober ran and now there is no Win7.

wilee-nilee
December 30th, 2010, 09:57 PM
I suspect it is the Mcafee, it is showing a partition and the right size, but it is encrypted, at least the access to it correct?

So it was working before, but is the boot up the same was there a Mcafee screen at the Windows choice, when you could get there. Is there a Mcafee recovery disc.

You might consider truecrpyt, next time around, it is just encryption, but open source and works on all the major platforms, and has e recovery option disc.

darlid01
December 30th, 2010, 10:58 PM
The thing is that McAfee was there before and it was working before. I may look into the option of decrypting it, but since this is a corporate environment, I have to use their encryption tools. If it was totally up to me, I wouldn't even have Win7 on this box. I already have a virtualbox Win7 and it works for almost everything except for navigating the security on the wireless in this place.

So, I am thinking that Lilo or Grub needs to be told to boot from that partition even though it doesn't see Win7. Does that sound correct?

If I am unable to figure this out, then I'll have to reinstall Win7 again, shrink it, install Ubuntu, then I'll post the script so you guys can see what it looks like. I'm curious now what the entry was.

darlid01
February 8th, 2011, 05:04 PM
Well, I've rebuilt the system.
Here's the script. We'll see if it holds this time.
I made sure to use Grub thistime as well.

Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for (,msdos5)/boot/grub.
=> Windows 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 7
Boot files/dirs: /Windows/System32/winload.exe

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

sda3: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 2,048 296,822,783 296,820,736 7 HPFS/NTFS
/dev/sda2 * 624,502,784 625,117,183 614,400 7 HPFS/NTFS
/dev/sda3 296,824,830 624,500,735 327,675,906 5 Extended
/dev/sda5 296,824,832 580,026,367 283,201,536 83 Linux
/dev/sda6 580,028,416 624,500,735 44,472,320 82 Linux swap / Solaris


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 2,048 156,299,263 156,297,216 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/mmcblk0p1 2fc3c2f8-05ed-4357-8cc3-e116ec421595 ext4 2 gig SD
/dev/sda1 884CA1324CA11C46 ntfs OSDisk
/dev/sda2 5080A20D80A1F99C ntfs BDEDrive
/dev/sda3: PTTYPE="dos"
/dev/sda5 d2633e65-a9b9-4b5f-97df-0213588ece0f ext4
/dev/sda6 bc5cc8c0-c5f1-4cb6-a76d-7a6661b4d306 swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 1B0053466D2ED77E ntfs New Volume
/dev/sdb: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)
/dev/mmcblk0p1 /media/2 gig SD ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 /media/New Volume fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_ permissions)


=========================== 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 part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos2)'
search --no-floppy --fs-uuid --set 5080a20d80a1f99c
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 -o value -s UUID' 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=d2633e65-a9b9-4b5f-97df-0213588ece0f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=bc5cc8c0-c5f1-4cb6-a76d-7a6661b4d306 none swap sw 0 0

=================== sda5: Location of files loaded by Grub: ===================


229.4GB: boot/grub/core.img
154.2GB: boot/grub/grub.cfg
152.9GB: boot/initrd.img-2.6.35-22-generic
229.4GB: boot/vmlinuz-2.6.35-22-generic
152.9GB: initrd.img
229.4GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda3

00000000 51 00 7e 47 d6 ed 3e 70 36 c7 50 7c 4d 4c d9 17 |Q.~G..>p6.P|ML..|
00000010 c1 89 4b d4 69 bc 86 c7 2b 76 8a 90 d0 b5 b2 6f |..K.i...+v.....o|
00000020 9d d8 c4 9b 7a 4d 29 50 a0 c9 67 b0 5d f0 1d a8 |....zM)P..g.]...|
00000030 00 8d 0d 2e 4f 53 b7 6e f6 ce 49 16 d5 07 f5 54 |....OS.n..I....T|
00000040 50 1b a8 57 38 cf 21 d1 1e 73 5f 09 ad 8e 11 89 |P..W8.!..s_.....|
00000050 47 b5 6e 81 e3 58 91 46 e4 ad c2 22 ee a1 0d 8d |G.n..X.F..."....|
00000060 97 29 bc 39 19 df d6 28 dd 45 4a 13 f0 e5 12 e3 |.).9...(.EJ.....|
00000070 66 1e 4b 81 3c c4 ab 94 05 d2 ec 2c d0 76 2a 39 |f.K.<......,.v*9|
00000080 e4 9e 25 77 32 c9 0c f3 91 8e 03 25 34 5f 38 52 |..%w2......%4_8R|
00000090 4d cd e4 0b e0 39 e2 f2 5b 09 ab be 1f f8 49 ec |M....9..[.....I.|
000000a0 12 33 c7 f2 8b 05 2f 5c 43 c7 a3 f8 1f 67 b9 da |.3..../\C....g..|
000000b0 8c 6e 20 2f 93 ca 5a 60 60 6d 93 ef 87 f8 e5 67 |.n /..Z``m.....g|
000000c0 7f fa a1 e2 ff 66 da 87 90 e1 ed d1 ce 2c dc 1c |.....f.......,..|
000000d0 fc 73 78 e1 8f 44 f0 d1 a8 73 cb 5c 62 52 1d 21 |.sx..D...s.\bR.!|
000000e0 02 02 56 82 46 0c 76 46 c8 8d 19 7c 18 2f a8 8c |..V.F.vF...|./..|
000000f0 3d e8 cc c0 ef 25 c0 ea b6 5a 4d 94 31 a1 60 51 |=....%...ZM.1.`Q|
00000100 37 5a f0 6e 14 eb b7 21 51 f0 e1 37 45 7e 01 83 |7Z.n...!Q..7E~..|
00000110 c6 9a 14 98 11 d9 53 b9 a1 6e 60 2e d1 88 2c 7c |......S..n`...,||
00000120 cc 1c 80 37 55 de 3c 58 27 41 d7 2a 34 de b5 93 |...7U.<X'A.*4...|
00000130 82 d1 0d 19 1a 25 3f c7 c6 f3 ad 35 7c f5 21 50 |.....%?....5|.!P|
00000140 58 09 4f 91 76 b3 6d a3 ac c1 ba 0f b2 1c c2 6e |X.O.v.m........n|
00000150 2e 70 01 27 25 d9 11 52 fc 49 c5 12 6e 4c 2a 97 |.p.'%..R.I..nL*.|
00000160 1d ed 73 87 e7 0f 8e 41 4c 09 5c 21 2a ad 1e 02 |..s....AL.\!*...|
00000170 3b 62 17 24 62 f6 9e 2d 2a de 15 b2 17 1d 64 fe |;b.$b..-*.....d.|
00000180 d6 16 6f 39 72 a9 73 20 aa 6c 5e cf eb ea 1e 5e |..o9r.s .l^....^|
00000190 30 9c 84 26 e3 42 f1 7c 1f 34 f6 be 5d 7f bc 2c |0..&.B.|.4..]..,|
000001a0 f2 cf 37 cb c1 ca 18 47 3a e3 4c 54 cf c8 93 f2 |..7....G:.LT....|
000001b0 e9 59 34 cc 5c 2a a6 02 78 f2 d7 2b 3f 08 00 fe |.Y4.\*..x..+?...|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 50 e1 10 00 fe |...........P....|
000001d0 ff ff 05 fe ff ff cb 51 e1 10 37 9e a6 02 00 00 |.......Q..7.....|
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

darlid01
May 7th, 2011, 02:42 PM
Well, it happened again. This time when upgrading to 11.04

I ran the boot script before so I would have a baseline.



Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda

sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

sda3: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 2,048 296,822,783 296,820,736 7 HPFS/NTFS
/dev/sda2 * 624,502,784 625,117,183 614,400 7 HPFS/NTFS
/dev/sda3 296,824,830 624,500,735 327,675,906 5 Extended
/dev/sda5 296,824,832 580,026,367 283,201,536 83 Linux
/dev/sda6 580,028,416 624,500,735 44,472,320 82 Linux swap Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/mmcblk0p1 185F-32B5 vfat à({
/dev/sda2 5080A20D80A1F99C ntfs BDEDrive
/dev/sda3: PTTYPE="dos"
/dev/sda5 d2633e65-a9b9-4b5f-97df-0213588ece0f ext4
/dev/sda6 bc5cc8c0-c5f1-4cb6-a76d-7a6661b4d306 swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)
/dev/mmcblk0p1 /media/185F-32B5 vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, shortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== 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 part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.35-27-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash
initrd /boot/initrd.img-2.6.35-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.35-27-generic ...'
linux /boot/vmlinuz-2.6.35-27-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.35-25-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash
initrd /boot/initrd.img-2.6.35-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.35-25-generic ...'
linux /boot/vmlinuz-2.6.35-25-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set d2633e65-a9b9-4b5f-97df-0213588ece0f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos2)'
search --no-floppy --fs-uuid --set 5080a20d80a1f99c
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 -o value -s UUID' 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=d2633e65-a9b9-4b5f-97df-0213588ece0f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=bc5cc8c0-c5f1-4cb6-a76d-7a6661b4d306 none swap sw 0 0

=================== sda5: Location of files loaded by Grub: ===================


229.4GB: boot/grub/core.img
195.5GB: boot/grub/grub.cfg
204.4GB: boot/initrd.img-2.6.35-22-generic
152.9GB: boot/initrd.img-2.6.35-25-generic
216.1GB: boot/initrd.img-2.6.35-27-generic
199.4GB: boot/initrd.img-2.6.35-28-generic
229.4GB: boot/vmlinuz-2.6.35-22-generic
229.4GB: boot/vmlinuz-2.6.35-25-generic
229.4GB: boot/vmlinuz-2.6.35-27-generic
152.6GB: boot/vmlinuz-2.6.35-28-generic
199.4GB: initrd.img
216.1GB: initrd.img.old
152.6GB: vmlinuz
229.4GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 c3 4e 17 b8 d2 d8 fd fd 82 ff b3 a4 00 6a 8a 5f |.N...........j._|
00000010 fa 02 d0 93 f8 98 8c 19 fc 29 55 a4 6c 22 17 9a |.........)U.l"..|
00000020 c5 3b f0 64 ef 8f 4b aa f1 9e 0a 51 e9 29 ca 9a |.;.d..K....Q.)..|
00000030 66 bc 0b a0 d0 2e 58 3b 1a a4 bc d1 80 6f 1d 2f |f.....X;.....o./|
00000040 2e 67 24 54 e6 8e 7a 27 47 04 67 f4 5a 92 27 b9 |.g$T..z'G.g.Z.'.|
00000050 30 44 07 0c f3 c6 cc ce 02 42 73 39 0d 3a 03 55 |0D.......Bs9.:.U|
00000060 d5 d1 51 6a 74 47 b3 11 bb e4 96 95 1c e8 88 90 |..QjtG..........|
00000070 b6 d8 3e b2 12 7f 55 06 77 c8 64 22 5f a2 48 bc |..>...U.w.d"_.H.|
00000080 61 3b 61 27 e2 89 f0 2b 15 14 9f ff 0b e9 55 ef |a;a'...+......U.|
00000090 8f 8f 6c 04 72 16 ee 7e ec a3 75 b2 82 1e 7d f5 |..l.r..~..u...}.|
000000a0 09 17 6c dd 4f d6 c3 af 1a b5 eb 9d 02 f0 a9 43 |..l.O..........C|
000000b0 8d 10 44 63 21 b1 a1 c4 66 02 7b d2 84 95 f9 eb |..Dc!...f.{.....|
000000c0 dd 2e 73 ab 7c 4b 5f 98 0b e2 78 6c 69 95 c8 01 |..s.|K_...xli...|
000000d0 d6 c5 bf 3b d9 ab 35 1a 7c 6d f0 9f fa d8 c9 60 |...;..5.|m.....`|
000000e0 9f 8f 56 e3 30 3f 77 a2 56 22 2b 65 e0 2a 63 80 |..V.0?w.V"+e.*c.|
000000f0 61 d6 b5 99 59 54 13 b2 a1 ee 76 82 01 40 a3 5b |a...YT....v..@.[|
00000100 4c 4a 7d c3 8d 7a 9c 5d 6d 50 28 5d 6a 61 a1 80 |LJ}..z.]mP(]ja..|
00000110 b0 4b fa ca 54 8f ce 49 17 32 eb 25 87 f9 f5 6c |.K..T..I.2.%...l|
00000120 6e 4f 5f 69 8c da 49 92 22 5e b8 83 67 2d 93 5e |nO_i..I."^..g-.^|
00000130 6c f6 c6 10 1a 20 d5 c4 4d b2 47 e8 d6 67 1a 40 |l.... ..M.G..g.@|
00000140 b0 63 fb 9f 33 38 e7 51 6a 0e cb ce 68 6f 9b 92 |.c..38.Qj...ho..|
00000150 a4 39 b8 b7 8a 6f 2a 4d 24 4d 97 6c 5f da 39 9a |.9...o*M$M.l_.9.|
00000160 10 7d 96 67 1e 0e 29 c6 65 97 6e 20 0c 03 a6 8b |.}.g..).e.n ....|
00000170 c4 36 0f 5d 22 d7 3a 25 3a 3f 02 86 d2 83 01 3c |.6.]".:%:?.....<|
00000180 2d fb 21 f3 9f 07 71 84 c3 2f 8b 91 e1 de 1c 80 |-.!...q../......|
00000190 17 d1 87 05 6a 48 55 b0 f4 0d 62 f1 3c 29 91 8c |....jHU...b.<)..|
000001a0 e9 62 7f 4d 10 1e 05 87 27 51 38 f1 09 cb 10 d7 |.b.M....'Q8.....|
000001b0 21 f2 74 84 20 8e 74 a3 5f 70 5b 5b 2c cc f0 c2 |!.t. .t._p[[,...|
000001c0 85 23 aa c0 a8 58 d5 f3 1d e3 db 79 4e b4 4f 8a |.#...X.....yN.O.|
000001d0 5c 14 68 28 a9 43 d7 75 a7 b1 77 2f c8 ff 40 64 |\.h(.C.u..w/..@d|
000001e0 da 91 f8 7c 55 e5 b0 66 fd 9c 6d 6f ad 07 3d 72 |...|U..f..mo..=r|
000001f0 6e e7 45 55 ce f0 d3 ac e6 56 bf 0a 25 7e 92 1a |n.EU.....V..%~..|
00000200

Unknown BootLoader on sda3

00000000 51 00 7e 47 d6 ed 3e 70 36 c7 50 7c 4d 4c d9 17 |Q.~G..>p6.P|ML..|
00000010 c1 89 4b d4 69 bc 86 c7 2b 76 8a 90 d0 b5 b2 6f |..K.i...+v.....o|
00000020 9d d8 c4 9b 7a 4d 29 50 a0 c9 67 b0 5d f0 1d a8 |....zM)P..g.]...|
00000030 00 8d 0d 2e 4f 53 b7 6e f6 ce 49 16 d5 07 f5 54 |....OS.n..I....T|
00000040 50 1b a8 57 38 cf 21 d1 1e 73 5f 09 ad 8e 11 89 |P..W8.!..s_.....|
00000050 47 b5 6e 81 e3 58 91 46 e4 ad c2 22 ee a1 0d 8d |G.n..X.F..."....|
00000060 97 29 bc 39 19 df d6 28 dd 45 4a 13 f0 e5 12 e3 |.).9...(.EJ.....|
00000070 66 1e 4b 81 3c c4 ab 94 05 d2 ec 2c d0 76 2a 39 |f.K.<......,.v*9|
00000080 e4 9e 25 77 32 c9 0c f3 91 8e 03 25 34 5f 38 52 |..%w2......%4_8R|
00000090 4d cd e4 0b e0 39 e2 f2 5b 09 ab be 1f f8 49 ec |M....9..[.....I.|
000000a0 12 33 c7 f2 8b 05 2f 5c 43 c7 a3 f8 1f 67 b9 da |.3..../\C....g..|
000000b0 8c 6e 20 2f 93 ca 5a 60 60 6d 93 ef 87 f8 e5 67 |.n /..Z``m.....g|
000000c0 7f fa a1 e2 ff 66 da 87 90 e1 ed d1 ce 2c dc 1c |.....f.......,..|
000000d0 fc 73 78 e1 8f 44 f0 d1 a8 73 cb 5c 62 52 1d 21 |.sx..D...s.\bR.!|
000000e0 02 02 56 82 46 0c 76 46 c8 8d 19 7c 18 2f a8 8c |..V.F.vF...|./..|
000000f0 3d e8 cc c0 ef 25 c0 ea b6 5a 4d 94 31 a1 60 51 |=....%...ZM.1.`Q|
00000100 37 5a f0 6e 14 eb b7 21 51 f0 e1 37 45 7e 01 83 |7Z.n...!Q..7E~..|
00000110 c6 9a 14 98 11 d9 53 b9 a1 6e 60 2e d1 88 2c 7c |......S..n`...,||
00000120 cc 1c 80 37 55 de 3c 58 27 41 d7 2a 34 de b5 93 |...7U.<X'A.*4...|
00000130 82 d1 0d 19 1a 25 3f c7 c6 f3 ad 35 7c f5 21 50 |.....%?....5|.!P|
00000140 58 09 4f 91 76 b3 6d a3 ac c1 ba 0f b2 1c c2 6e |X.O.v.m........n|
00000150 2e 70 01 27 25 d9 11 52 fc 49 c5 12 6e 4c 2a 97 |.p.'%..R.I..nL*.|
00000160 1d ed 73 87 e7 0f 8e 41 4c 09 5c 21 2a ad 1e 02 |..s....AL.\!*...|
00000170 3b 62 17 24 62 f6 9e 2d 2a de 15 b2 17 1d 64 fe |;b.$b..-*.....d.|
00000180 d6 16 6f 39 72 a9 73 20 aa 6c 5e cf eb ea 1e 5e |..o9r.s .l^....^|
00000190 30 9c 84 26 e3 42 f1 7c 1f 34 f6 be 5d 7f bc 2c |0..&.B.|.4..]..,|
000001a0 f2 cf 37 cb c1 ca 18 47 3a e3 4c 54 cf c8 93 f2 |..7....G:.LT....|
000001b0 e9 59 34 cc 5c 2a a6 02 78 f2 d7 2b 3f 08 00 fe |.Y4.\*..x..+?...|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 50 e1 10 00 fe |...........P....|
000001d0 ff ff 05 fe ff ff cb 51 e1 10 37 9e a6 02 00 00 |.......Q..7.....|
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



And again after the update


Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks for b2d.

sda1: __________________________________________________ _______________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

sda3: __________________________________________________ _______________________

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.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 2,048 296,822,783 296,820,736 7 HPFS/NTFS
/dev/sda2 * 624,502,784 625,117,183 614,400 7 HPFS/NTFS
/dev/sda3 296,824,830 624,500,735 327,675,906 5 Extended
/dev/sda5 296,824,832 580,026,367 283,201,536 83 Linux
/dev/sda6 580,028,416 624,500,735 44,472,320 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/mmcblk0p1 185F-32B5 vfat à({
/dev/sda2 5080A20D80A1F99C ntfs BDEDrive
/dev/sda3: PTTYPE="dos"
/dev/sda5 d2633e65-a9b9-4b5f-97df-0213588ece0f ext4
/dev/sda6 bc5cc8c0-c5f1-4cb6-a76d-7a6661b4d306 swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)
/dev/mmcblk0p1 /media/185F-32B5 vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, shortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== 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='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
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 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d2633e65-a9b9-4b5f-97df-0213588ece0f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-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='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root d2633e65-a9b9-4b5f-97df-0213588ece0f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 5080A20D80A1F99C
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 -o value -s UUID' 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=d2633e65-a9b9-4b5f-97df-0213588ece0f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=bc5cc8c0-c5f1-4cb6-a76d-7a6661b4d306 none swap sw 0 0

=================== sda5: Location of files loaded by Grub: ===================


229.4GB: boot/grub/core.img
197.3GB: boot/grub/grub.cfg
199.4GB: boot/initrd.img-2.6.35-28-generic
216.0GB: boot/initrd.img-2.6.38-8-generic
152.6GB: boot/vmlinuz-2.6.35-28-generic
222.6GB: boot/vmlinuz-2.6.38-8-generic
216.0GB: initrd.img
199.4GB: initrd.img.old
222.6GB: vmlinuz
152.6GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 c3 4e 17 b8 d2 d8 fd fd 82 ff b3 a4 00 6a 8a 5f |.N...........j._|
00000010 fa 02 d0 93 f8 98 8c 19 fc 29 55 a4 6c 22 17 9a |.........)U.l"..|
00000020 c5 3b f0 64 ef 8f 4b aa f1 9e 0a 51 e9 29 ca 9a |.;.d..K....Q.)..|
00000030 66 bc 0b a0 d0 2e 58 3b 1a a4 bc d1 80 6f 1d 2f |f.....X;.....o./|
00000040 2e 67 24 54 e6 8e 7a 27 47 04 67 f4 5a 92 27 b9 |.g$T..z'G.g.Z.'.|
00000050 30 44 07 0c f3 c6 cc ce 02 42 73 39 0d 3a 03 55 |0D.......Bs9.:.U|
00000060 d5 d1 51 6a 74 47 b3 11 bb e4 96 95 1c e8 88 90 |..QjtG..........|
00000070 b6 d8 3e b2 12 7f 55 06 77 c8 64 22 5f a2 48 bc |..>...U.w.d"_.H.|
00000080 61 3b 61 27 e2 89 f0 2b 15 14 9f ff 0b e9 55 ef |a;a'...+......U.|
00000090 8f 8f 6c 04 72 16 ee 7e ec a3 75 b2 82 1e 7d f5 |..l.r..~..u...}.|
000000a0 09 17 6c dd 4f d6 c3 af 1a b5 eb 9d 02 f0 a9 43 |..l.O..........C|
000000b0 8d 10 44 63 21 b1 a1 c4 66 02 7b d2 84 95 f9 eb |..Dc!...f.{.....|
000000c0 dd 2e 73 ab 7c 4b 5f 98 0b e2 78 6c 69 95 c8 01 |..s.|K_...xli...|
000000d0 d6 c5 bf 3b d9 ab 35 1a 7c 6d f0 9f fa d8 c9 60 |...;..5.|m.....`|
000000e0 9f 8f 56 e3 30 3f 77 a2 56 22 2b 65 e0 2a 63 80 |..V.0?w.V"+e.*c.|
000000f0 61 d6 b5 99 59 54 13 b2 a1 ee 76 82 01 40 a3 5b |a...YT....v..@.[|
00000100 4c 4a 7d c3 8d 7a 9c 5d 6d 50 28 5d 6a 61 a1 80 |LJ}..z.]mP(]ja..|
00000110 b0 4b fa ca 54 8f ce 49 17 32 eb 25 87 f9 f5 6c |.K..T..I.2.%...l|
00000120 6e 4f 5f 69 8c da 49 92 22 5e b8 83 67 2d 93 5e |nO_i..I."^..g-.^|
00000130 6c f6 c6 10 1a 20 d5 c4 4d b2 47 e8 d6 67 1a 40 |l.... ..M.G..g.@|
00000140 b0 63 fb 9f 33 38 e7 51 6a 0e cb ce 68 6f 9b 92 |.c..38.Qj...ho..|
00000150 a4 39 b8 b7 8a 6f 2a 4d 24 4d 97 6c 5f da 39 9a |.9...o*M$M.l_.9.|
00000160 10 7d 96 67 1e 0e 29 c6 65 97 6e 20 0c 03 a6 8b |.}.g..).e.n ....|
00000170 c4 36 0f 5d 22 d7 3a 25 3a 3f 02 86 d2 83 01 3c |.6.]".:%:?.....<|
00000180 2d fb 21 f3 9f 07 71 84 c3 2f 8b 91 e1 de 1c 80 |-.!...q../......|
00000190 17 d1 87 05 6a 48 55 b0 f4 0d 62 f1 3c 29 91 8c |....jHU...b.<)..|
000001a0 e9 62 7f 4d 10 1e 05 87 27 51 38 f1 09 cb 10 d7 |.b.M....'Q8.....|
000001b0 21 f2 74 84 20 8e 74 a3 5f 70 5b 5b 2c cc f0 c2 |!.t. .t._p[[,...|
000001c0 85 23 aa c0 a8 58 d5 f3 1d e3 db 79 4e b4 4f 8a |.#...X.....yN.O.|
000001d0 5c 14 68 28 a9 43 d7 75 a7 b1 77 2f c8 ff 40 64 |\.h(.C.u..w/..@d|
000001e0 da 91 f8 7c 55 e5 b0 66 fd 9c 6d 6f ad 07 3d 72 |...|U..f..mo..=r|
000001f0 6e e7 45 55 ce f0 d3 ac e6 56 bf 0a 25 7e 92 1a |n.EU.....V..%~..|
00000200

Unknown BootLoader on sda3

00000000 51 00 7e 47 d6 ed 3e 70 36 c7 50 7c 4d 4c d9 17 |Q.~G..>p6.P|ML..|
00000010 c1 89 4b d4 69 bc 86 c7 2b 76 8a 90 d0 b5 b2 6f |..K.i...+v.....o|
00000020 9d d8 c4 9b 7a 4d 29 50 a0 c9 67 b0 5d f0 1d a8 |....zM)P..g.]...|
00000030 00 8d 0d 2e 4f 53 b7 6e f6 ce 49 16 d5 07 f5 54 |....OS.n..I....T|
00000040 50 1b a8 57 38 cf 21 d1 1e 73 5f 09 ad 8e 11 89 |P..W8.!..s_.....|
00000050 47 b5 6e 81 e3 58 91 46 e4 ad c2 22 ee a1 0d 8d |G.n..X.F..."....|
00000060 97 29 bc 39 19 df d6 28 dd 45 4a 13 f0 e5 12 e3 |.).9...(.EJ.....|
00000070 66 1e 4b 81 3c c4 ab 94 05 d2 ec 2c d0 76 2a 39 |f.K.<......,.v*9|
00000080 e4 9e 25 77 32 c9 0c f3 91 8e 03 25 34 5f 38 52 |..%w2......%4_8R|
00000090 4d cd e4 0b e0 39 e2 f2 5b 09 ab be 1f f8 49 ec |M....9..[.....I.|
000000a0 12 33 c7 f2 8b 05 2f 5c 43 c7 a3 f8 1f 67 b9 da |.3..../\C....g..|
000000b0 8c 6e 20 2f 93 ca 5a 60 60 6d 93 ef 87 f8 e5 67 |.n /..Z``m.....g|
000000c0 7f fa a1 e2 ff 66 da 87 90 e1 ed d1 ce 2c dc 1c |.....f.......,..|
000000d0 fc 73 78 e1 8f 44 f0 d1 a8 73 cb 5c 62 52 1d 21 |.sx..D...s.\bR.!|
000000e0 02 02 56 82 46 0c 76 46 c8 8d 19 7c 18 2f a8 8c |..V.F.vF...|./..|
000000f0 3d e8 cc c0 ef 25 c0 ea b6 5a 4d 94 31 a1 60 51 |=....%...ZM.1.`Q|
00000100 37 5a f0 6e 14 eb b7 21 51 f0 e1 37 45 7e 01 83 |7Z.n...!Q..7E~..|
00000110 c6 9a 14 98 11 d9 53 b9 a1 6e 60 2e d1 88 2c 7c |......S..n`...,||
00000120 cc 1c 80 37 55 de 3c 58 27 41 d7 2a 34 de b5 93 |...7U.<X'A.*4...|
00000130 82 d1 0d 19 1a 25 3f c7 c6 f3 ad 35 7c f5 21 50 |.....%?....5|.!P|
00000140 58 09 4f 91 76 b3 6d a3 ac c1 ba 0f b2 1c c2 6e |X.O.v.m........n|
00000150 2e 70 01 27 25 d9 11 52 fc 49 c5 12 6e 4c 2a 97 |.p.'%..R.I..nL*.|
00000160 1d ed 73 87 e7 0f 8e 41 4c 09 5c 21 2a ad 1e 02 |..s....AL.\!*...|
00000170 3b 62 17 24 62 f6 9e 2d 2a de 15 b2 17 1d 64 fe |;b.$b..-*.....d.|
00000180 d6 16 6f 39 72 a9 73 20 aa 6c 5e cf eb ea 1e 5e |..o9r.s .l^....^|
00000190 30 9c 84 26 e3 42 f1 7c 1f 34 f6 be 5d 7f bc 2c |0..&.B.|.4..]..,|
000001a0 f2 cf 37 cb c1 ca 18 47 3a e3 4c 54 cf c8 93 f2 |..7....G:.LT....|
000001b0 e9 59 34 cc 5c 2a a6 02 78 f2 d7 2b 3f 08 00 fe |.Y4.\*..x..+?...|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 50 e1 10 00 fe |...........P....|
000001d0 ff ff 05 fe ff ff cb 51 e1 10 37 9e a6 02 00 00 |.......Q..7.....|
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



So can any of you guys figure out where it went wrong?
Or better yet, how to fix without reinstalling Win7 again?

oldfred
May 7th, 2011, 05:18 PM
The lilo boot loader works just like windows in that it just jumps to the partition boot sector to load additional code. The grub2 boot stanza is doing exactly the same thing.

But grub2 installs additional boot code in the sectors just after the MBR and before the first partition. There have been issues with windows software overwriting grub2's code and it installs hidden info in the same area. That area is supposed to be for booting but windows software designers only think windows.

Grub2 modified its code to work around flexnet which is one of the major DRM providers and uses sector 32.

Does your encryption software then write keys into the boot area like flexnet is and grub is over writing that same area?

Does windows start to load as the boot is in sda2 which the windows boot stanza in the grub menu points to. I do not think the boot script can see anything in the sda1 partition as it is encrypted, so it looks damaged but is probably ok.

Edit:
Quick scan of this talks about boot sectors and using BartPE to recover data:
https://kc.mcafee.com/corporate/index?page=content&id=PD22404

Edit 2:
I think the bottom line is that with the windows encryption, you cannot let grub install to the MBR. You have to install to the Partition boot sector (even though not recommended) and use windows to chain to grub. Or install Ubuntu to another drive so both systems are totally separate, if you can choose what to boot in BIOS.

darlid01
May 8th, 2011, 03:26 AM
The lilo boot loader works just like windows in that it just jumps to the partition boot sector to load additional code. The grub2 boot stanza is doing exactly the same thing.

But grub2 installs additional boot code in the sectors just after the MBR and before the first partition. There have been issues with windows software overwriting grub2's code and it installs hidden info in the same area. That area is supposed to be for booting but windows software designers only think windows.

Grub2 modified its code to work around flexnet which is one of the major DRM providers and uses sector 32.

Does your encryption software then write keys into the boot area like flexnet is and grub is over writing that same area?

Does windows start to load as the boot is in sda2 which the windows boot stanza in the grub menu points to. I do not think the boot script can see anything in the sda1 partition as it is encrypted, so it looks damaged but is probably ok.

Edit:
Quick scan of this talks about boot sectors and using BartPE to recover data:
https://kc.mcafee.com/corporate/index?page=content&id=PD22404

Edit 2:
I think the bottom line is that with the windows encryption, you cannot let grub install to the MBR. You have to install to the Partition boot sector (even though not recommended) and use windows to chain to grub. Or install Ubuntu to another drive so both systems are totally separate, if you can choose what to boot in BIOS.

I have access to EEtech so I should be able to get my data back, plus I have a backup from right before this happened, but I wish I knew how to keep it from happening. Right now my only recourse is to reimage and start over. When I was done last time everything worked fine, but when I upgrade it switches from LILO to Grub and never asks first. Then nothing works in Grub.

oldfred
May 8th, 2011, 04:28 AM
Best to have a separate drive. I installed to a flash drive and it is a bit slow but works. You could just install grub to the flash drive.

To get a choice on where to install grub2's boot loader you have to use manual install or With Natty Manual partitioning is Something Else.

Grub2 does not like to be installed to a partition, but will work. This issue is it has limited room so it uses blocklists or hard coded addresses. If grub gets updated and files move you would have to reinstall grub.