Hello all. Last week I decided to try out Ubuntu for the first time in a while on my Intel iMac. I already had Windows Vista installed on a third partition via refit, which worked just fine...
...until I installed the most recent release of Ubuntu. Before installation of Ubuntu 8.1, I created a 4th partition of 10GB for testing purposes dedicated to Ubuntu. Once Ubuntu was installed and working fine, I tried to boot into Windows Vista from the Refit menu only to receive the GRUB interface.
After selecting the default Windows Vista/Longhorn bootloader under GRUB, I receive, "Error 13." I've tried editing /boot/grub/menu.lst many times to correct the issue, but to no avail.
Here is my menu.lst:
title Ubuntu 8.10, kernel 2.6.27-11-generic
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=640dcb30-9015-4db2-a38b-54d5767ad647 ro quiet splash
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=640dcb30-9015-4db2-a38b-54d5767ad647 ro single
title Ubuntu 8.10, kernel 2.6.27-7-generic
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=640dcb30-9015-4db2-a38b-54d5767ad647 ro quiet splash
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=640dcb30-9015-4db2-a38b-54d5767ad647 ro single
title Ubuntu 8.10, memtest86+
title Microsoft Windows Vista
Here is my fdisk -l output as well if needed:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbff2bff2
Device Boot Start End Blocks Id System
/dev/sda1 1 26 204819+ ee GPT
/dev/sda2 26 13071 104783852 af Unknown
/dev/sda3 * 13087 24976 95495760 af Unknown
/dev/sda4 24992 26298 10485760 83 Linux
I also tried to boot into Super Grub, but when the CD is in the drive, GRUB just seems to hang.
I'm not certain of how to proceed. Any help would be appreciated.
Re: GRUB/REFIT/Vista problem
You should install GRUB to the Ubuntu partition instead of to the default MBR location (which is where the Windows bootloader is).
Now to repair.
First, make sure to sync the partition tables with refit.
After that, boot the Vista CD and choose the recover mode. go to a terminal and use 'bootrec /fixmbr' to replace the MBR bootloader with the windows bootloader again.
This *should* get windows working again when you reboot, but it still may not because windows does not like when you change the partitions on the disk after it has already been installed. If windows is still not booting at this point, I don't know how to fix the problem without reinstalling.
If it does work, then you also need to reinstall grub. Follow the direction here:
Last edited by cyberdork33; March 24th, 2009 at 03:42 PM.
Re: GRUB/REFIT/Vista problem
Thanks, I'll go ahead and give that a try tonight.
Tags for this Thread