LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-16-2006, 08:40 PM   #1
Katlyn
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Rep: Reputation: 0
Dual boot with two hard drives


Okay. I have two hard drives, an IDE and a SATA. I already have Linux installed on the IDE drive. I would like to to install Windows XP on the SATA drive, and I was wondering if anyone had tips on how to go about it without horribly fouling everything up. How do I make it so that I can choose which I'd like to boot with at start up? You cannot detect SATA drives in my bios. Any help would be greatly appreciated.
 
Old 03-16-2006, 08:44 PM   #2
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
when you install windows it will not recognize linux and will modify the MBR. Therefore you probably need to install windows and then reinstall linux again on the other drive. Linux will install a bootloader into the MBR which will let you dual boot.
 
Old 03-16-2006, 09:07 PM   #3
Katlyn
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tamoneya
when you install windows it will not recognize linux and will modify the MBR. Therefore you probably need to install windows and then reinstall linux again on the other drive. Linux will install a bootloader into the MBR which will let you dual boot.

The thing is, I still haven't gotten Linux to recognize the SATA drive. So if I install Windows and then reinstall Linux, how will I get to recognize it?
 
Old 03-16-2006, 09:20 PM   #4
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
what version of linux?
can windows see the sata
 
Old 03-16-2006, 09:24 PM   #5
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
just a thought...
flashing your bios might help. Might let you detect when booting linux
 
Old 03-16-2006, 09:45 PM   #6
Katlyn
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tamoneya
what version of linux?
can windows see the sata

I am using Suse 10.0. How would flashing the bios help Linux detect it? I have not yet installed Windows, for fear it will mess with Linux.

Last edited by Katlyn; 03-16-2006 at 09:47 PM.
 
Old 03-16-2006, 09:51 PM   #7
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
well if you flash your bios the new updated bios might be able to see your sata drive. Then this should allow slack to see it also. And anyways if xp is going on sata why does linux need to see it. You are going to have to install xp and then reinstall linux so go ahead with the xp and install it on the sata. Then move ahead with slack again
 
Old 03-18-2006, 02:58 PM   #8
Katlyn
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tamoneya
well if you flash your bios the new updated bios might be able to see your sata drive. Then this should allow slack to see it also. And anyways if xp is going on sata why does linux need to see it. You are going to have to install xp and then reinstall linux so go ahead with the xp and install it on the sata. Then move ahead with slack again

If Linux can't see the SATA drive, how will grub know that it's there to boot from?
 
Old 03-18-2006, 05:44 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I have installed Suse 10 in a Sata disk before.

Grub can recognise a Sata and boot it even the Linux that hosts Grub doesn't. I have recently proved it with the oldest Grub I could lay my hand on, a Grub 0.91 in Damn Small Linux.

The easiest way to go about it in this case is

(1) Tell the Bios to boot Sata as the first bootable disk. Suse is then temporarily out of action.

(2) Install XP on the Sata and make sure it works satisfactorily.

(3) When ready tell the Bios that you change your mind and want the IDE boot up as the first bootable disk. Pretend to say sorry if you have to.

(4) Add the following lines to Suse's /boot/grub/menu.lst
Code:
title My XP in sata installed as first disk now as the second
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
I have assumed Xp being installed in the first partition of the Sata as XP always does that. When Sata becomes the second disk then XP partition is known as sda1 in Linux notation but (hd1,0) as Grub counts from 0 and so (hd1,0) means 2nd disk 1st partition.

Since XP has been installed as the first disk its hidden file boot.ini and some internal files will have recorded this fact and will not boot if ii found itself in the second disk. The two map statement "re-maps" the disk order "on-the-fly" and tricks XP in believing it is still in the first disk. The bugger will buy it every time and so the dual boot is accomplished with the minimum fuss.

Last edited by saikee; 03-18-2006 at 05:47 PM.
 
  


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 boot with two hard drives newguy55 Linux - Newbie 2 02-07-2006 02:54 PM
Dual boot - 2 hard drives cadkins Linux - Newbie 2 08-02-2005 03:31 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
Two hard drives for dual boot? globalgreg Linux - Newbie 3 03-02-2005 01:22 AM
Dual Boot two hard-drives orozcom1 Linux - Hardware 2 08-13-2004 10:17 AM


All times are GMT -5. The time now is 04:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration