LinuxQuestions.org
Register a domain and help support LQ
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 01-07-2003, 06:36 PM   #1
rlaurie
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Rep: Reputation: 0
Dual Boot RH8 and WinXP On two harddrives.


I have been trying to dual boot but cannot get Windows XP to boot. My system has the first drive as being Red Hat linux 8. The second drive is Windows XP (NTFS). When I loaded Linux the second drive was not installed. After Linux was installed I connected the drive. I then went to the grub.conf file and currently have this:

title Windows XP (Home Edition)
rootnoverify=(hd1,0)
makeactive
chainloader +1

The other file I changed was the device.map and added the second drive the file looks like this:

# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb (The line I added)

The grub comes up on reboot with all the right selections but when I choose XP it give me the info of my grub.conf for the XP section. Then nothing happens and I have to reboot my machine. Is the other files I have to change or is there something I have to do that I am unaware of. Please help!
 
Old 01-07-2003, 06:48 PM   #2
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
When you installed XP, was it as the second (hdb) drive?
 
Old 01-07-2003, 06:57 PM   #3
rlaurie
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Original Poster
Rep: Reputation: 0
No it was my first drive then I disconnected it because I was told to use my first drive as Linux. So the XP was install as a first and only drive. Then I got the second drive and made it my master drive and install Linux on the new drive. The I change the XP drive to slave. So if I disable my primary master in the bios the xp will boot up.
 
Old 01-07-2003, 07:28 PM   #4
rlaurie
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Original Poster
Rep: Reputation: 0
I was just going through some questions and do I not have the right boot sector with the chainloader +1 command
 
Old 01-07-2003, 08:33 PM   #5
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Yes, you have the right setting in your Grub configuration file. I think your problem is that you set Windows up one way and then moved it to another location, making every Registry entry, not to mention all of its initialization files that are looking for things on C:\ drive when it is now at least D:\ drive. No operating system will work like this, not even our flexible Linux (although it is easier to do).

What do you have in each of these--which one is the easiest to reinstall?

The simplest way, in my opinion, is to put the XP disk back as the master, reinstall Linux to the slave drive and pick a boot loader to let you pick between the two.

If you have too much invested in Linux, you will need to the device.map and probably /etc/fstab. That done, try this command:

grub-install /dev/hda

Good luck
 
Old 01-08-2003, 09:04 AM   #6
mshater
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
How about using the map option? Read the info page on GRUB - it has instructions on how to get windows to boot.
 
Old 01-20-2003, 04:59 AM   #7
esoon
LQ Newbie
 
Registered: Jan 2003
Location: San Diego
Distribution: Suse 8.1, Mandrake 9.0
Posts: 3

Rep: Reputation: 0
I just succeeded in a dual boot system (Suse 8.1 and XP) with two harddrives set up in similar fashion.

Using your drive naming, this is what worked for me:

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

I think the boot command is probably redundant and unnecessary, but it works for me.
 
Old 01-20-2003, 06:55 AM   #8
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
"but cannot get Windows XP to boot"

Nice ! Welcome to the free community !
I really do not see any issu there
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dual booting with winxp on two harddrives Virp00 Fedora 5 06-05-2005 11:22 AM
dual boot ; two harddrives phats_O Linux - General 1 05-20-2005 01:28 AM
WinXP/RH8 Dual Boot help complus Linux - General 2 01-14-2004 11:40 AM
i Got 1 Harddisk with Win XP & RH8 Dual Boot,will WinXP perform slower coz i got RH8? kublador Linux - General 4 08-28-2003 12:32 AM
dual boot with 2 harddrives..PLEASE HELP Ermac6 Linux - General 8 01-17-2002 04:10 PM


All times are GMT -5. The time now is 12:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration