[ale] error booting XP after dual boot install of Ubuntu 7.10

Brian Pitts brian at polibyte.com
Tue Apr 8 23:06:37 EDT 2008


Daniel Howard wrote:

> Could my repartitioning of my drive during Ubuntu install have altered 
> the hd(0,0) location specified for Windows XP, and hence the GRUB loader 
> can't find the location of XP?  How can I find where Ubuntu's 
> repartitioner put it and then do I change the boot.ini file in the 
> Windows XP partition (seen just fine by Ubuntu) or the menu.lst file of 
> the GRUB loader?

If GRUB couldn't boot load your Windows entry you'd get an error from 
GRUB. If Windows was the first partition on the first disk, it will 
still be there; all Ubuntu should have done is resize the Windows 
partition and create 2 new partitions after it.  "sudo fdisk -l 
/dev/sda" will show the partitions on the disk connected to the first 
ata channel.

The only time I've had to touch GRUB to make Windows happy was when I 
moved it from master to slave. All it takes to fix that is swapping the 
drives using the map command. The only other strange situation the GRUB 
manual mentions is having multiple Windows installations; then you may 
need to hide one.

http://www.gnu.org/software/grub/manual/html_node/DOS_002fWindows.html#DOS_002fWindows

-Brian


More information about the Ale mailing list