LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2004, 09:19 PM   #1
greg108
Member
 
Registered: Aug 2003
Location: CA USA
Distribution: FC2, FC4, Mandrake 10, Slackware 10, RedHat 9, Suse 9.1, College Linux, Debian Sarge, Gentoo
Posts: 170

Rep: Reputation: 30
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?
 
Old 08-10-2004, 09:39 PM   #2
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 31
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
 
Old 08-10-2004, 09:42 PM   #3
greg108
Member
 
Registered: Aug 2003
Location: CA USA
Distribution: FC2, FC4, Mandrake 10, Slackware 10, RedHat 9, Suse 9.1, College Linux, Debian Sarge, Gentoo
Posts: 170

Original Poster
Rep: Reputation: 30
Does the second drive have to be set as a secondary master or slave?
 
Old 08-10-2004, 11:48 PM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Booting 4 separate Distros w/GRUB rickbman Linux - Distributions 5 05-14-2006 04:30 AM
Dual boot grub Mandriva WinXP separate drives McNider Linux - General 2 06-17-2005 04:49 AM
Install Red Hat linux on separate disk Micik Linux - Newbie 4 12-06-2004 09:58 AM
Linux and Windows on separate HDs, GRUB bananaman Linux - Newbie 8 04-17-2003 02:00 PM
Sendmail: How do I config to write separate file for every email 360 Linux - Software 4 03-31-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration