PDA

View Full Version : [ubuntu] Windows 7 won't boot after ubuntu upgrade/install



davidmoulsher
April 18th, 2011, 10:39 AM
hello,

I was dual booting windows 7 and ubuntu 10.04 with separate home partition etc. but when i reinstalled to 10.10 i somewhere messed up with the bootloader of grub. can't figure out how to fix it, and would prefer fixing it than reinstall the whole thing because i have lots of programs running on school licenses in windows and that would be difficult to reinstall.

i ran the boot info script if that helps someone figure out my problem,

thanks in advance

grtz
david


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 #1 for (,msdos1)/boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks for
(UUID=69755d9b-d090-4880-b7d4-fed294f9a7fc)/boot/grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda3: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sdb1 and
looks at sector 21350552 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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 39,063,551 39,061,504 83 Linux
/dev/sda2 39,065,598 60,547,071 21,481,474 5 Extended
/dev/sda5 39,065,600 60,547,071 21,481,472 82 Linux swap / Solaris
/dev/sda3 60,548,985 1,953,520,064 1,892,971,080 83 Linux


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 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 End Size Id System

/dev/sdb1 * 2,048 976,771,071 976,769,024 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ext4
/dev/sda2: PTTYPE="dos"
/dev/sda3 fc8075ef-d1d8-4aab-8863-f949cf026565 ext4
/dev/sda5 65373fd5-2726-4f0b-ba3f-6bb4567e31b5 swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 D09C2A1A9C29FC1A ntfs
/dev/sdb: PTTYPE="dos"

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

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda3 /home ext4 (rw,commit=0)
/dev/sr0 /media/UDF Volume udf (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, iocharset=utf8,umask=0077)


=========================== sda1/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,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
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,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
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-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
linux /boot/vmlinuz-2.6.35-27-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d 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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
echo 'Loading Linux 2.6.35-27-generic ...'
linux /boot/vmlinuz-2.6.35-27-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-26-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
linux /boot/vmlinuz-2.6.35-26-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro quiet splash
initrd /boot/initrd.img-2.6.35-26-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
echo 'Loading Linux 2.6.35-26-generic ...'
linux /boot/vmlinuz-2.6.35-26-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-26-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
linux /boot/vmlinuz-2.6.35-24-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro quiet splash
initrd /boot/initrd.img-2.6.35-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
echo 'Loading Linux 2.6.35-24-generic ...'
linux /boot/vmlinuz-2.6.35-24-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro quiet splash
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
echo 'Loading Linux 2.6.35-23-generic ...'
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d 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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d 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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set c4fea2ba-42ed-458c-a9b3-3a6db55efe5d
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/sdb1)" {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set d09c2a1a9c29fc1a
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 ###

=============================== sda1/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/sda1 during installation
UUID=c4fea2ba-42ed-458c-a9b3-3a6db55efe5d / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=fc8075ef-d1d8-4aab-8863-f949cf026565 /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=65373fd5-2726-4f0b-ba3f-6bb4567e31b5 none swap sw 0 0

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


10.9GB: boot/grub/core.img
2.9GB: boot/grub/grub.cfg
1.2GB: boot/initrd.img-2.6.35-22-generic
1.1GB: boot/initrd.img-2.6.35-23-generic
1.6GB: boot/initrd.img-2.6.35-24-generic
1.3GB: boot/initrd.img-2.6.35-26-generic
1.3GB: boot/initrd.img-2.6.35-27-generic
11.0GB: boot/vmlinuz-2.6.35-22-generic
11.0GB: boot/vmlinuz-2.6.35-23-generic
11.0GB: boot/vmlinuz-2.6.35-24-generic
11.0GB: boot/vmlinuz-2.6.35-26-generic
11.0GB: boot/vmlinuz-2.6.35-27-generic
1.3GB: initrd.img
1.3GB: initrd.img.old
11.0GB: vmlinuz
11.0GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 88 88 88 a8 64 e1 55 b4 44 44 44 44 25 0c 0f d1 |....d.U.DDDD%...|
00000010 12 11 11 11 95 b4 80 67 d4 21 5a 39 af a2 25 22 |.......g.!Z9..%"|
00000020 22 22 32 17 86 b2 1b bb ec 88 88 88 88 4a 18 06 |""2..........J..|
00000030 3c 22 22 22 22 06 3c 22 22 22 22 62 c0 23 22 22 |<"""".<""""b.#""|
00000040 22 22 06 3c 22 22 22 22 62 c0 23 22 22 22 22 06 |"".<""""b.#"""".|
00000050 3c 22 22 22 22 06 bc 97 46 14 c5 62 57 a6 8f 86 |<""""...F..bW...|
00000060 8c c7 87 83 c7 42 a9 54 ea bc af 56 ab 4d 1a 26 |.....B.T...V.M.&|
00000070 22 22 22 2a 4a 8a e2 5a b0 8f 86 8c 83 28 02 6b |"""*J..Z.....(.k|
00000080 d7 2d 90 6e e2 17 13 13 87 e5 cb 36 e0 c9 93 67 |.-.n.......6...g|
00000090 78 bb 6f 37 b4 69 d3 0c 82 20 bc b4 32 69 34 1a |x.o7.i... ..2i4.|
000000a0 a8 d5 ea 1c 77 8d ce 7e 93 c1 bc 86 89 88 88 88 |....w..~........|
000000b0 5e cb 80 27 8a ba 3d 5f 37 6f 46 62 e5 8a 6f a1 |^..'..=_7oFb..o.|
000000c0 54 2a 31 62 e4 07 a8 53 a7 fa 4b 0d 77 44 44 44 |T*1b...S..K.wDDD|
000000d0 44 0c 78 85 e8 dc b9 cb f8 66 dd cf b0 b5 b5 c1 |D.x......f......|
000000e0 67 9f 0f 41 b9 72 5e 3a bd 68 7f ff 1d 8e 5f 7f |g..A.r^:.h...._.|
000000f0 d9 0e 00 70 70 b0 47 ad 5a d5 d0 e7 ed ae b0 b3 |...pp.G.Z.......|
00000100 b3 05 90 79 68 55 a3 d1 e0 83 01 bd b1 6f 6f 18 |...yhU.......oo.|
00000110 1e 3e 7c 02 37 b7 d2 e8 d7 bf 07 aa 56 ad 28 05 |.>|.7.......V.(.|
00000120 c5 bc 96 93 33 84 8a f8 fb ef 70 1c 0c 3d 8a c7 |....3.....p..=..|
00000130 8f 9f c1 d1 d1 1e ad 5a 07 a1 53 a7 d6 52 f9 b4 |.......Z..S..R..|
00000140 eb ee fb 4e 77 fc b5 ff 30 9e 3c 79 86 6f d6 87 |...Nw...0.<y.o..|
00000150 70 cf 23 22 22 a2 d7 37 e0 1d 3e 7c 02 9b fe b7 |p.#""..7..>|....|
00000160 0d 5e de 1e 18 39 72 00 4a 97 76 c9 d1 73 97 9e |.^...9r.J.v..s..|
00000170 96 8e 69 d3 3f 83 9b 9b 2b 4e 9e 38 87 1f 7e d8 |..i.?...+N.8..~.|
00000180 0c 8d 46 83 81 83 de 86 4c 26 93 0e ad 46 44 dc |..F.....L&...FD.|
00000190 c1 c4 49 1f e3 fa b5 5b f8 fa eb 1f f0 fd f7 bf |..I....[........|
000001a0 63 ee dc 89 d2 f2 f2 5a 4e 76 7f ed 3f 8c df 7e |c......ZNv..?..~|
000001b0 db 89 26 41 f5 30 75 da 9b f8 6b ff 61 fc 00 fe |..&A.0u...k.a...|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 c8 47 01 00 00 |............G...|
000001d0 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

Mark Phelps
April 18th, 2011, 06:20 PM
When you were using Win7, you should have used the Backup feature to create and burn a Win7 Repair CD. You could have been using that now to repair your Win7 boot.

But ... since you probably did not do that ... go to the link below, download and burn the proper Win7 Repair CD, boot from that, and run Startup Repair three times:

http://neosmart.net/blog/2009/windows-7-system-repair-discs/

zronyj
April 20th, 2011, 01:28 AM
I had the same issue!
Is there any other way that doesn't involve downloading all cds?

Here's the outputo of my boot info script.

Thank you in advance.



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 #6 for (,msdos6)/boot/grub.
=> No boot loader is installed in the MBR of /dev/sdc

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda3: __________________________________________________ _______________________

File system: vfat
Boot sector type: Fat32
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 0. But according to the info from fdisk,
sda3 starts at sector 268617728.
Operating System:
Boot files/dirs:

sda4: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

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

sdc1: __________________________________________________ _______________________

File system: vfat
Boot sector type: -
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 206,847 204,800 7 HPFS/NTFS
/dev/sda2 206,848 268,617,727 268,410,880 7 HPFS/NTFS
/dev/sda3 268,617,728 478,334,975 209,717,248 b W95 FAT32
/dev/sda4 478,337,022 625,141,759 146,804,738 5 Extended
/dev/sda5 621,996,032 625,141,759 3,145,728 82 Linux swap / Solaris
/dev/sda6 478,337,024 621,996,031 143,659,008 83 Linux


Drive: sdc ___________________ __________________________________________________ ___

Disk /dev/sdc: 8040 MB, 8040480256 bytes
255 heads, 63 sectors/track, 977 cylinders, total 15704063 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdc1 44 15,679,439 15,679,396 b W95 FAT32


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 62F4B123F4B0F9FD ntfs System Reserved
/dev/sda2 34C0B60AC0B5D1FA ntfs
/dev/sda3 F8A9-57DC vfat
/dev/sda4: PTTYPE="dos"
/dev/sda5 61a0e968-8f78-479d-8328-4218711f20e8 swap
/dev/sda6 7250a890-d2a9-4c66-814e-7f99f10751b3 ext4
/dev/sda: PTTYPE="dos"
/dev/sdc1 3E0B-3DB9 vfat ZETH
/dev/sdc: PTTYPE="dos"
error: /dev/sdb: No medium found

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

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdc1 /media/ZETH vfat (rw,nosuid,nodev,uhelper=udisks,uid=999,gid=999,sh ortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== sda6/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,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
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,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
set locale_dir=($root)/boot/grub/locale
set lang=es
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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
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/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 62f4b123f4b0f9fd
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 ###

=============================== sda6/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/sda6 during installation
UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=61a0e968-8f78-479d-8328-4218711f20e8 none swap sw 0 0

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


249.3GB: boot/grub/core.img
309.6GB: boot/grub/grub.cfg
247.3GB: boot/initrd.img-2.6.35-22-generic
264.7GB: boot/initrd.img-2.6.35-28-generic
249.4GB: boot/vmlinuz-2.6.35-22-generic
246.8GB: boot/vmlinuz-2.6.35-28-generic
264.7GB: initrd.img
247.3GB: initrd.img.old
246.8GB: vmlinuz
249.4GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============

sdb

wilee-nilee
April 20th, 2011, 01:46 AM
I had the same issue!
Is there any other way that doesn't involve downloading all cds?

Here's the outputo of my boot info script.

Thank you in advance.



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 #6 for (,msdos6)/boot/grub.
=> No boot loader is installed in the MBR of /dev/sdc

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda3: __________________________________________________ _______________________

File system: vfat
Boot sector type: Fat32
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 0. But according to the info from fdisk,
sda3 starts at sector 268617728.
Operating System:
Boot files/dirs:

sda4: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

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

sdc1: __________________________________________________ _______________________

File system: vfat
Boot sector type: -
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 206,847 204,800 7 HPFS/NTFS
/dev/sda2 206,848 268,617,727 268,410,880 7 HPFS/NTFS
/dev/sda3 268,617,728 478,334,975 209,717,248 b W95 FAT32
/dev/sda4 478,337,022 625,141,759 146,804,738 5 Extended
/dev/sda5 621,996,032 625,141,759 3,145,728 82 Linux swap / Solaris
/dev/sda6 478,337,024 621,996,031 143,659,008 83 Linux


Drive: sdc ___________________ __________________________________________________ ___

Disk /dev/sdc: 8040 MB, 8040480256 bytes
255 heads, 63 sectors/track, 977 cylinders, total 15704063 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdc1 44 15,679,439 15,679,396 b W95 FAT32


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 62F4B123F4B0F9FD ntfs System Reserved
/dev/sda2 34C0B60AC0B5D1FA ntfs
/dev/sda3 F8A9-57DC vfat
/dev/sda4: PTTYPE="dos"
/dev/sda5 61a0e968-8f78-479d-8328-4218711f20e8 swap
/dev/sda6 7250a890-d2a9-4c66-814e-7f99f10751b3 ext4
/dev/sda: PTTYPE="dos"
/dev/sdc1 3E0B-3DB9 vfat ZETH
/dev/sdc: PTTYPE="dos"
error: /dev/sdb: No medium found

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

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdc1 /media/ZETH vfat (rw,nosuid,nodev,uhelper=udisks,uid=999,gid=999,sh ortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== sda6/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,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
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,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
set locale_dir=($root)/boot/grub/locale
set lang=es
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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 7250a890-d2a9-4c66-814e-7f99f10751b3
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/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 62f4b123f4b0f9fd
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 ###

=============================== sda6/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/sda6 during installation
UUID=7250a890-d2a9-4c66-814e-7f99f10751b3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=61a0e968-8f78-479d-8328-4218711f20e8 none swap sw 0 0

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


249.3GB: boot/grub/core.img
309.6GB: boot/grub/grub.cfg
247.3GB: boot/initrd.img-2.6.35-22-generic
264.7GB: boot/initrd.img-2.6.35-28-generic
249.4GB: boot/vmlinuz-2.6.35-22-generic
246.8GB: boot/vmlinuz-2.6.35-28-generic
264.7GB: initrd.img
247.3GB: initrd.img.old
246.8GB: vmlinuz
249.4GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============

sdb


First you want to start your own thread. Second when you do give a description of what is exactly happening, I noticed that the OP of this thread really left that out as well. An "I messed up the bootloader" is not a good description.