Dual-booting F7 and WinXP on separate harddisks
Beartooth
Beartooth at swva.net
Mon Sep 10 14:21:11 UTC 2007
On Thu, 06 Sep 2007 09:19:30 -0500, Mikkel L. Ellertson wrote:
> McGuffey, David C. wrote:
[...]
>> For now, I need to dual-boot, while I get Linux all ready
>> to go.
> If the chain loader was not finding the XP boot loader, it would
> complain about an invalid format. (I have run into that before.) It is
> more likely that the XP boot loader is trying to load from the wrong
> place.
>
[...]
>> This should be easy...what do I need to do to get grub to chainload
>> WinXP on hd1?
>>
> You may need to tell Grub to swap the drives, so XP is still on the BIOS
> drive it was installed on. I suspect that the XP boot loader is trying
> to load from the wrong drive/partition.
[...]
>>
>> # grub.conf generated by anaconda
>> #
>> # Note that you do not have to rerun grub after making changes to this
>> file
>> # NOTICE: You have a /boot partition. This means that # all
>> kernel and initrd paths are relative to /boot/, eg. # root
>> (hd0,0)
>> # kernel /vmlinuz-version ro root=/dev/sda6 # initrd
>> /initrd-version.img #boot=/dev/sda
>> default=0
>> timeout=10
>> splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu
>> title Fedora (2.6.22.4-65.fc7)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.22.4-65.fc7 ro root=LABEL=/ rhgb quiet initrd
>> /initrd-2.6.22.4-65.fc7.img
>> title Fedora (2.6.21-1.3194.fc7)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd
>> /initrd-2.6.21-1.3194.fc7.img
>> title Other
>> rootnoverify (hd1,0)
> map (hd0) (hd1)
> map (hd1) (hd0)
>> chainloader +1
>>
> Try adding the two instructions above to your config and see if that
> fixes the problem.
I had what seems the same problem recently. What worked was to
add the two map lines, plus a "makeactive" line (whatever that is) :
[...]
title XPPro
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.
More information about the fedora-list
mailing list