LinuxQuestions.org
Help answer threads with 0 replies.
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 06-20-2002, 04:26 PM   #1
SpC
LQ Newbie
 
Registered: Jun 2002
Location: West Michigan
Distribution: Redhat 7.2
Posts: 4

Rep: Reputation: 0
Dual booting w/ 2 hard drives


I have an HP Pavillion 7960 with a 40gig primary hd with RedHat 7.2 loaded on that drive. I want to create a dual boot sys. w/ WinXp. I have loaded the XP OS on a 20gig slave drive, and have attempted to boot the XP OS from the slave drive using the grub bootloader I am using on my Master drive.
I have tried configuring the boot loader with the following lines,
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1

When the chainloader +1 command is passed, the boot attempt fails with an error 13 Invalid or Unsupported executable format.


If anyone could please offer any insight as to how I may be able to accomplish this, I would really appreciate it. I have seen countless dual booting tutorials for using single drive dual boot systems, however, I would really like to accomplish this using the drives set up the way that I currently have them.
 
Old 06-20-2002, 04:30 PM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
why would you need this?
map (hd0) (hd1)
map (hd1) (hd0)
 
Old 06-20-2002, 04:47 PM   #3
SpC
LQ Newbie
 
Registered: Jun 2002
Location: West Michigan
Distribution: Redhat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
I read that Windows is funny about booting on a slave drive. These two commands perform a virtual swap and "trick" windows in to thinking that it is on a primary drive. I can't personally attest to the validity of this. I am just going with information I have read.
 
Old 06-20-2002, 04:52 PM   #4
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
sorry...i thought your windows is residing on the master

Last edited by shoot2kill; 06-20-2002 at 04:57 PM.
 
Old 06-20-2002, 08:17 PM   #5
rsaylor
LQ Newbie
 
Registered: Jun 2002
Location: Raleigh, NC
Distribution: Redhat 7.3
Posts: 12

Rep: Reputation: 0
Hi, I have a simular setup. But, I installed Win XP first and then linux. That seams to work. Also, I did this a couple of years ago... But I installed Linux 6.0 and then Windows 2000 using Lilo as the boot manager and that seamed to work. I remember having to do something special to get that to work but that might lead you in the right direction.
 
Old 06-20-2002, 10:06 PM   #6
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Rep: Reputation: 15
simple is this that you have a 40 gig hard drive and you are installing winxp on new harddrive.
well friend in my opinion you should make 1 primary dos partition for windows (/dev/hda1) and then install linux and other versions of windows on extended partitions which starts from dev/hda5.
i personally have 5 OSs on my one harddrive winnt workstsation ,winnt server , win2k ,winxp
and redhat linux .
if you want to know i can tell you in detail.
 
Old 06-20-2002, 10:37 PM   #7
rsaylor
LQ Newbie
 
Registered: Jun 2002
Location: Raleigh, NC
Distribution: Redhat 7.3
Posts: 12

Rep: Reputation: 0
I think after you have more then 2 OS on one hard drive it might be a good time to get a couple more systems.
 
Old 06-20-2002, 11:09 PM   #8
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
SpC, try changing this line:

rootnoverify (hd0,0)

To:

rootnoverify (hd1,0)
 
Old 06-21-2002, 01:46 AM   #9
SpC
LQ Newbie
 
Registered: Jun 2002
Location: West Michigan
Distribution: Redhat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
linuxcool:

I gave your advice a shot, and it seems to bring me a bit closer to success, however, I am getting a message that says....
Windows could not start because the following file is missing or currupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM

the message goes on to say that I can repair the file by utilizing the repair utilities on the boot CD. If I were to boot this OS as a master drive, I do not get this error though. I feel that this is defenitely moving me in the right direction, is there anything more that you would recommend?

Thanks
 
Old 06-21-2002, 04:14 AM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Make your grub xp entry look like this:

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


If that doesn't work, change rootnoverify to root.

Last edited by linuxcool; 06-21-2002 at 04:15 AM.
 
Old 06-21-2002, 09:09 AM   #11
SpC
LQ Newbie
 
Registered: Jun 2002
Location: West Michigan
Distribution: Redhat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
linuxcool:

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

Works great!
Thank you so much!
 
Old 06-21-2002, 08:48 PM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


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 SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual Booting with two Hard Drives Memzback Linux - Newbie 3 04-13-2004 10:25 AM
Dual Booting with 2 hard drives bjs Linux - Newbie 3 04-06-2004 05:39 PM
dual booting with two hard drives? free_eire Mandriva 3 02-03-2004 07:28 PM
Dual booting on 2 hard drives olivierrrrr Linux - Newbie 18 10-12-2003 12:53 AM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration