I have spent a couple of days trying to resolve this, and I'm no further forward so I hope someone can help. I have installed Ubuntu 9.10 on to a 2nd partition on the same disk as Windows 7. Grub 2 has overwritten the windows boot loader and I cannot now boot Windows.
Ideally i'd like to be able to use Grub2 as the boot loader for both the Ubuntu and Windows OS's
I have tried the following:
- Windows 7 is an entry in the grub boot loader list, however when i select it, my PC just reboots and eventually takes me back to the same grub menu list. (FYI I had selected to install Grub to /dev/sda)
- I have tried re-installing Ubuntu, formatting the partition, to try and get Grub installed to a floppy or a USB stick. However, neither device is recognised during install and I get a 'fatal error' message (both devices are available from the ubuntu desktop once it's installed).
- I have forcibly restored the windows boot loader in the hope of using EasyBCD, however there is no support (or limited beta support) for the Grub2 loader and I haven't been able to get that working either.
below are the mappings of the drives and output from the parameter files which I hope will help to pin down the issue:
results of 'sudo blkid'
PHP Code:
/dev/sda1: UUID="1EB0F35FB0F33C39" TYPE="ntfs"
/dev/sda5: LABEL="ubuntu" UUID="04709c71-7d70-4872-9ea0-1944c0ea5cb6" TYPE="ext4"
/dev/sda6: TYPE="swap"
/dev/sdb5: UUID="CE68E8CD68E8B4FD" LABEL="Data + Media" TYPE="ntfs"
results of 'e' on GRUB boot menu:
PHP Code:
recordfail=1
if [ -n ${have_grubenv} ] ; then save_env recordfail; fi
setquiet=1
insmod=ext2
set root = (hd0,5)
search --nofloppy --fs --uuid --set 04709c71-7d70-4872-9ea0-1944c0ea5\cb6
linux /boot/vmlinuz-2.6.31.14 generic root=uuid=04709c71-7d70-48847-9\ea0-1944c0ea5cb6 ro quiet splash
initrd /boot/initrd.img.2.6.31.16-generic
results of grub.cfg
PHP Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 04709c71-7d70-4872-9ea0-1944c0ea5cb6
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=04709c71-7d70-4872-9ea0-1944c0ea5cb6 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 04709c71-7d70-4872-9ea0-1944c0ea5cb6
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=04709c71-7d70-4872-9ea0-1944c0ea5cb6 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
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 ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 1eb0f35fb0f33c39
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
Thanks
Lee
Bookmarks