Comment 3 for bug 525643

Revision history for this message
Robert Pollak (robert-pollak) wrote :

I had a similar, maybe related problem:
I have installed three OSes in separate partitions in the following order:
Windows XP, Windows 7 Ubuntu 10.04.
Windows XP is on another hard disk as the other two.

My problem was that Ubuntu's Grub2 detected my Windows XP as "Windows 7" and could not boot it. (The real Windows 7 was detected correctly.)

I noticed that booting the Windows XP directly (by removing the Win7+Ubuntu HDD) worked, and presented a WinXP/Win7 selection dialog. What had happened was that the installation of Windows 7 had added the abovementioned \bootmgr file and the \Boot directory to Windows XP.

So my fix was to rename these items to bootmgr.bak and Boot.bak. Now grub-update correctly detected Windows XP and added "drivemap -s (hd0) ${root}" to its grub.cfg entry, which made it bootable and removed the Windows-internal superfluous WinXP/Win7 selection dialog.