LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   dualboot two harddrives linux/XP problem loading XP (https://www.linuxquestions.org/questions/red-hat-31/dualboot-two-harddrives-linux-xp-problem-loading-xp-448872/)

vortex777 05-26-2006 04:49 PM

dualboot two harddrives linux/XP problem loading XP
 
Hello everyone,

I have RH9 installed on a 80GB disk as primary master. Recently I added another 80Gb WinXP disk as primary slave, but im having problems booting it.
I've read most of the forums I could find on the subject but they mostly deal with OSs being on different partitions on the same drive. Anyhow,

in my grub.conf for the windows part I've added:

rootnoverify (hd1,0)
chainloader +1
makeactive

*note* , if I use (root) instead of (rootnoverify) I get the following message: [Filesystem type unknown, partition type 0x7], otherwise it just doesnt boot or give any messages.

I tried the map command on grub [map (hd1) (hd0) , map (hd0) (hd1) ] and I've also tried changing the BIOS setting from AUTO detection to LBA on both drives, nothing worked.

If I disconnect the linux drive and have only the WinXP drive, XP loads normaly... so no problem there.

Have I missed something ? any help or ideas greaty appreciated!

Thanks

Alex.

vortex777 05-27-2006 09:19 AM

Solution
 
I'm posting the solution in case it's of some interest to someone in the future.

I changed my grub.conf and everything works fine now.

--- grub.conf ---

title Windows XP
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1

--- grub.conf ---

For people who want linux/win in seperate disks having linux as pri.master with this configuration imo is the best solution since it doesnt modify the Windows disk's MBR.

Cheers


All times are GMT -5. The time now is 01:42 AM.