Grub fails to boot windows correctly after install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub
Installed from CD
#define DISKNAME Ubuntu 8.10 "Intrepid Ibex" - Alpha i386
This is a minor issue for me but major for most people.
I have a Gigabyte GA-945GC-MX(s2) motherboard with two SATA drives and one PATA.
The controller is set to "auto" in the BIOS supporting a total of 4 drives.
The physical drives are wired as follows:
Disk 0 = WD200 20 gig Ubuntu Ibex BOOT DRIVE
Disk 2 = WD2500 SATA VISTA Drive E:
Disk 3 = WD2500 SATA VISTA Drive C: VISTA BOOT DRIVE
Boot order is:
Disk 0
Disk 2
Disk 3
A fresh install of Ubuntu Ibex did not properly configure the grub menu.list to boot windows.
It created an entry like this:
title Windows Vista/Longhorn
root (hd2,0) <----------WRONG DISK
Savedefault <---------HUH?
Makedefault <-----TWICE?
Makedefault --------NOT EVEN NECESSARY
Chainloader +1
The entry should have been something like:
title Windows Vista/Longhorn
root hd3
chainloader +1
OR BETTER YET
title Windows Vista/Longhorn
uuid xxxxxxxxxxxxx
chainloader +1
Booting Vista failed until I edited the menu.list to point to the correct drive.
I was able to get it to work properly using any of those below:
root hd3
root (hd3,0)
uuid xxxxxxxxxx
I also noted that the UUID listed in grub is duplicated for my bootable ntfs partition. HD3 has only one partition yet it's listed twice and the partition order is based on the BIOS boot order, not the physical disk order. Not that is matters much with a uuid but this might be helpful in debugging. I've installed the distribution upgrade as of Oct 28th 2008 and still see the issue.
Duplicate of 21186?