Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grub problems
#1

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

Reply
#2

try

 



Code:
 rootnoverify (hd2,0)
 chainloader +1




 

if that doesnt work past the results of

 



Code:
fdisk -l




 

here

 

that's a small l as in lima

 

cheers

 

anyweb

Reply
#3

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

Reply
#4

when you try to boot to xp via grub, what happens ? do you get an error, if so what is it ?

 

cheers

 

anyweb

Reply
#5

It just shows the two command lines, and then nothing happens...

No error is shown.

 

 

 

 

o_O

fkarlsen

Reply
#6

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

Reply
#7

Thanks zOny!

 

heres what i did:

 



Code:
title WinXP
       map (hd0) (hd1)
       map (hd1) (hd0)
       rootnoverify (hd1,0)
       chainloader +1
       makeactive




 

Worked perfectly

 

fkarlsen

Reply
#8
superb !, well done Z0ny :)
Reply
#9
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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)