Hi, I'm having some problems loading Win XP from Grub...
My grub.conf states this:
title WinXP
rootnoverify (hd1,0)
chainloader +1
My winxp installation lies in the hdc1 drive and my fedora install in hdb(hdb1=/boot, hdb2=, hdb3=/swap)
Anyone know why my xp install wont boot from grub?
best regards
fkarlsen
try
Code:
rootnoverify (hd2,0)
chainloader +1
if that doesnt work past the results of
here
that's a small l as in lima
cheers
anyweb
Disk /dev/hdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 5100 40965718+ 7 HPFS/NTFS
/dev/hdc2 5101 14593 76252522+ f Win95 Ext'd (LBA)
/dev/hdc5 5101 14593 76252491 7 HPFS/NTFS
Disk /dev/hdd: 10.2 GB, 10245537792 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 638 5124703+ 7 HPFS/NTFS
/dev/hdd2 639 1245 4875727+ f Win95 Ext'd (LBA)
/dev/hdd5 639 1245 4875696 b Win95 FAT32
Disk /dev/hdb: 6498 MB, 6498680832 bytes
255 heads, 63 sectors/track, 790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 660 5197027+ 83 Linux
/dev/hdb3 661 790 1044225 82 Linux swap
This is what fdisk -l returns... Have tried rootnoverify (hd2,0)
Hope you can help me...
fkarlsen
when you try to boot to xp via grub, what happens ? do you get an error, if so what is it ?
cheers
anyweb
It just shows the two command lines, and then nothing happens...
No error is shown.
o_O
fkarlsen
Afaik Windows got a problem booting from a bootloader when it's not the first primary master. There's a workaround with Grub that does a virtual swap. Maybe this helps you:
Code:
title=WinXP
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,0)
# not sure, also try 'rootnoverify (hd0,0)' here if it doesn't work
chainloader +1
makeactive
z0ny
Thanks zOny!
heres what i did:
Code:
title WinXP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
Worked perfectly
fkarlsen
superb !, well done Z0ny :)
excellent z0ny thank you very much I was able to help my friend on irc with this and of course all your great! help on irc thank you again much appreciated...