LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-07-2006, 04:15 PM   #1
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Rep: Reputation: 15
Which SATA harddrive Do i install the Bootloader to/?


Hello everyone, I have 2 SATA harddrives. One has windows, the other one is completely out of the box brand new. I'm going to install SuSE 10.0 to the 200 gig (new harddrive) then my old harddrive (160 Gigs) will still have windows xp home edit. sp2. Problem is, i heard SATA hsa a hard problem determining which is the master and which is the slave because there is no jumper pins invovled. I don't want to mess up the windows MBR. Is there a way to make Linux the master and windows the slave, so I can install the boot loader onto the Linux harddrive which is 200 gigs, so that way, when i start up my machine it should go right to the b00t loader and will let me choose if i want Linux or Windoze right? Thank you! I'm a n00b by the way.
 
Old 01-07-2006, 04:48 PM   #2
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Well, this is partially true. SATA has no jumpers for a reason, it doesn't need them as 1 device per chain, period. This means each chain/drive has its own number. Device 0, 1, 2, etc. This is set by boot order in the bios, and by default numerical order. Assuming you install the drives in numerical order, it will boot lowest device first, unless you change the bios boot order.

With SuSE 10.0, if you install from the disk to a DIFFERENT PARTITION IN THE SAME DRIVE, you can then have boot set automatically with GRUB, the listings on boot will have options for Windows and Linux, and Mem Test, and a Failsafe Linux mode. For 2 different drives, you will have to change device boot order in the bios each tim eyou want Windows or Linux to boot.
 
Old 01-07-2006, 04:51 PM   #3
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Why not just change it to boot the linux drive, then have grub call the other harddrive? Then he would have the dual-boot he is looking for. If you need assistance with the grub configuration after your install, just post back, but this will work for what you need.

Install Grub on linux drive.
Change boot order so linux drive goes first.
Add windows to Grub menu.
Enjoy.

Regards,

Alunduil
 
Old 01-07-2006, 05:00 PM   #4
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I didn't think grub could boot a seperate drive's MBR, I thought it had to be on the same drive. If you are right, sure that would be good way, I just didn't think that was possible.
 
Old 01-08-2006, 01:15 PM   #5
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Original Poster
Rep: Reputation: 15
Wait so will this work? How can i make the new 200 gig SATA harddrive that is going to have linux on it hte master the windows the slave? that way i can install the boot loader to Linux rather then messing with windows MBR.
 
Old 01-08-2006, 01:50 PM   #6
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
There is no master or slave with SATA. That is the first part of what you need to understand with the new SATA technology that is different from older PATA(often called IDE) technology. Because it is one per chain, you just have to set the boot order of the drives in the bios. There is no master/slave to set. After looking into it alundil was right, you can indeed load with grub to another drive, though SuSE or others will not auto configure the boot loader for you that way. You will have to edit it yourself to get that much to work.

So, set up new drive, make it first in the boot order(based on which SATA port you plug it into) then install Linux. Once it is installed, updated, configured, you will need to set the boot loader to see your other drive as an option, and then it will appear in the GRUB boot list when you boot up.
 
Old 01-08-2006, 02:29 PM   #7
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Original Poster
Rep: Reputation: 15
Awesome!! thanks alot Redshirt and others!! By wednesday i shall be linux'ed up and be asking even more questions! weee!!!
 
  


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
SATA Harddrive Installation with Linux (TESTED) and works with LILO jonnyblinux Linux - Hardware 8 10-25-2005 11:26 PM
SATA Harddrive not found lilpyro725 Linux - Hardware 10 06-18-2005 06:17 PM
How to boot into a SATA harddrive LostIn Linux - General 8 05-28-2005 08:23 AM
Suse can't boot from sata harddrive. plz help cyto SUSE / openSUSE 17 12-08-2004 04:08 PM
Seagate SATA HardDrive with Intel Motherboard equilibrium Slackware 8 07-17-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:13 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