LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Problems Dual booting Fedora and XP Pro using GRUB (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/problems-dual-booting-fedora-and-xp-pro-using-grub-137185/)

davstin2002 01-21-2004 02:57 PM

Problems Dual booting Fedora and XP Pro using GRUB
 
I am trying to dual boot Fedora and XP Pro, on my laptop. I've looked all over the forum, and every solution that I have found does not work. Currently my configuration for XP is set at:


rootnoverify (hd0,0)
chainloader +1

-----------------------------------


But whenever I choose XP, I keep getting an error that says


"Error 13: Invalid or unsupported executable format"

and then it takes me back to the GRUB loader screen.


------------------------------

This is how I have my drive partitioned:

hda1 Linux ext3 boot partition 106.93 MB
hda2 Fedora Core 20966.24 MB
hda3 NTFS 17824.19 MB
hda4 Linux Swap 1110.42 MB

the swap is a lil out of order there but that wouldn't prevent windows from loading would it?


fancypiper 01-21-2004 04:42 PM

Boot to linux and post the output of this command:

fdisk -l

davstin2002 01-21-2004 05:37 PM

Disk /dev/hda: 40.0 GB
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280

Device Boot Start End Blocks Id System
/dev/hda1 1 13 104391 83 Linux
/dev/hda2 * 14 2562 20474842+ 93 Amoeba
/dev/hda3 2563 4729 17406427+ 17 Hidden HPFS/NTFS
/dev/hda4 4730 4864 1084387+ 82 Linux swap

fancypiper 01-21-2004 05:47 PM

These are probably your Windows stuff. I have no idea what your Amoeba partition is.

/dev/hda2 * 14 2562 20474842+ 93 Amoeba
/dev/hda3 2563 4729 17406427+ 17 Hidden HPFS/NTFS

Since your NTFS filesystem is on /dev/hda3 rather than /dev/hda1 as per your /boot/grub/grub.conf file, I would try rootnoverify (hd0,2)

If the /dev/hda2 * 14 2562 20474842+ 93 Amoeba is the partition you need to boot Windows, that would be rootnoverify (hd0,1).

davstin2002 01-21-2004 05:55 PM

/dev/hda2 is the actual linux partition. why it says Amoeba, i dunno. Windows is on /dev/hda3. Does it has something to do with the fact that is a "Hidden HPFS/NTFS" instead of "HPFS/NTFS"?

Oh and I've tried changing it to (hd0,2). Everytime I do that it just reboots my machine.


All times are GMT -5. The time now is 06:32 PM.