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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-31-2005, 02:32 AM
|
#1
|
LQ Newbie
Registered: Aug 2004
Distribution: Fedora Core 3
Posts: 11
Rep:
|
Master/Slave HDD Question
Right now I have a computer with two hard drives, and FC3 is on the first and the second is unused. I'm planning on doing a Windows install on the second drive sometime in the next few days, but since I'm doing it in a sort of weird way, I wanted to ask if anyone knows if what I am doing will cause any problems. Since Windows wants to be on the first drive, I was thinking of just switching my master/slave drives in my BIOS so that the unused drive is the master drive, and then installing Windows on it. My primary concern is whether Fedora will be ok with this after I get it back up. In particular, right now it thinks it is on hda and the other drive is on hdb, and I'm worried that the system could get confused after I switch the drives in the BIOS. I'm also confused about what GRUB will call the hard drives. In a more general sense, my question has to do with the way that the kernel determines whether it is on the "first" or "second" drive. It seems like there are two ways that Linux could determine which is the "first" hard drive - it could just look at the I/O addresses or there could just be some way of asking the BIOS. But maybe when I switch my master/slave configuration the BIOS changes the I/O addresses. I don't know enough about how the kernel (or my BIOS) works, but I'm guessing that this is implemented in a fairly standard way, so I was hoping someone could help tell me understand what the effects of this will be.
|
|
|
03-31-2005, 03:12 AM
|
#2
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541
Rep:
|
normally it doesn´t matter where your os will be placed.
if you install xp on hd2, it will overwrite your mbr on hd1 and you can not start fc3 via bootmenu.
i would 1st install xp (whereever) and then install fc3. till now i were not in such a situation, but there are many howtos, how to install linux after windoze.
think the following should also work:
-unplug hd1
-install xp on hd2
-plug hd1
-boot into fc3
-edit grub where to find xp
...but never tried ;-)
|
|
|
03-31-2005, 12:50 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
|
Quote:
think the following should also work:
-unplug hd1
-install xp on hd2
-plug hd1
-boot into fc3
-edit grub where to find xp
...but never tried ;-)
|
I've tried something very similar (debian/lilo instead of fc/grub); it works like a charm, except for the I'm-Windows-so-I-MUST-be-on-the-first-disk thing that micro$oft has going.
How to fix it for Lilo:
http://www.anandtech.com/guides/viewfaq.html?i=138
I hope you can learn the trick for grub from this (and, of course, the grub manual).
thread where I was tipped to that site, just in case you care:
http://www.linuxquestions.org/questi...hreadid=200333
hth --Jonas Kölker
|
|
|
04-01-2005, 12:39 AM
|
#4
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541
Rep:
|
you can install xp on the second drive, the only thing M$ do, is changing MBR of disk1.
and the normal boot-files xp need are:
ntdetect.com, ntldr, boot.ini
and due to the fact that boot.ini describes where (drive,partition) xp is installed, an ntfs-formatted floppy with this files satisfies to boot into xp.
so if the ´other OS-entry´ in grub is correct, it should work....
|
|
|
04-01-2005, 04:19 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,333
|
What you're planning is fine - so long as you are prepared to flip-flop the primary drive in the BIOS whenever you want to change O/S. That way each disk has an MBR, and sees itself as primary for that boot.
Not something I'd do, but others have.
If you make your unused drive the (BIOS) primary, windows will install successfully on that disk, and will not affect the MBR of the other disk. It will see the FC3 disk as D:
After that, go back into the BIOS and make the FC3 disk the primary, and it will boot happily. It will see the windows disk as hdb (or sdb if SATA).
Once both are installed, *BOTH* boot-loaders can be used to boot either and/or both, without having to swap the drives in the BIOS. If you choose to use ntldr to do this, it will have to be the primary drive *permanently*, and you'll need to update the FC3 fstab as it (FC3) will now be on /dev/hdb (or sdb if SATA).
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|