LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XP on a separate disk and GRUB config (https://www.linuxquestions.org/questions/linux-newbie-8/xp-on-a-separate-disk-and-grub-config-216013/)

greg108 08-10-2004 09:19 PM

XP on a separate disk and GRUB config
 
I have RH9 on my machine, but I wanted to install winXP on a second drive.
Is it possible to do it without reinstalling RH? And how to configure GRUB?

snakeo2 08-10-2004 09:39 PM

yes it can be done. thats exactly the setup i have on my box. Install the second drive and proceed to install xp on it. Then, edit the grub.conf file. I have never done that, so i'll let some of the gurus give some advise on that topic. Good luck

greg108 08-10-2004 09:42 PM

Does the second drive have to be set as a secondary master or slave?

jax8 08-10-2004 11:48 PM

set the windows drive as primary slave and linux drive as primary master.

Easy way to do it is to pull linux drive out of the system.

Put windows drive in as slave and install.

After that put linux drive back in and it will default to linux again.

then

edit you /boot/grub/grub.conf file to include something like

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




this tells grub to make windows think it is the master when really it is the slave. now you can boot into windows or linux.


All times are GMT -5. The time now is 02:50 AM.