Linux - HardwareThis 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.
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.
I am a novice at Linux. I have Windows XP running on an AMD64 and I bought a second hard drive (80GB Maxtor ATA/EIDE) to install Linux (Red Hat Enterprise 3) on it. Could somebody please tell me if the following steps are correct to proceed with the installation?:
1) Mount the new HD (say HD2)
2) Change the BIOS so as to set HD2 as the primary hard drive (first place from where to boot after CD drive and floppy-disk drive) and the HD1 (my actual HD) as the secondary hard drive.
3) Install the GRUB boot loader and Linux on HD2, i.e. on /dev/hda
4) Set Windows as the default OS by choosing /dev/hdb as the default OS and set Linux as the alternative OS by adding /dev/hda to the boot loader configuration.
What I don't know is whether the BIOS will detect HD2 so that I can proceed with step 2) above. Any help here is welcome.
I would also appreciate if somebody can raise my attention regarding any flaw in the sequence of steps I listed above.
Is it safe to unplug HD1 to avoid ruining my actual OS and hard drive?
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125
Rep:
Redhat has a very easy installer. Don't worry about a thing. Simply put your new drive (for linux) in the computer as the Primary Slave, let's call it "/dev/hdb", for the sake of linux. Have redhat install on /dev/hdb and let it make any partitions for you that you need. When it asks you about grub, you'll want to install that on /dev/hda and you'll have the option to make windows the default at that time. This will all become clear when running the installer.
You could also read up on using the windows boot loader to boot into linux if you don't want to chance any changes on your windows drive, but it takes some reading. For example, /boot (where grub and the kernel live) will be on /dev/hdb. If you were to repartition /dev/hdb, /boot might be lost and therefore when grub went to load it wouldn't be able to find itself (because one part would be living on /dev/hda, but another on /dev/hdb), and thus you wouldn't be able to boot windows until grub was reinstalled or you ran fixmbr from the windows recovery console.
Your BEST bet is to defrag your windows drive with PerfectDisk (tm) (on download.com) and then use qtparted ($ sudo qtparted) within knoppix to resize your windows partition ever so slightly and make a small (50mb or so) /boot on /dev/hda (you may need to manually select that during the RedHat install process instead of using the fully automatic partitioner). That way grub could live on /dev/hda and you would be free reformat /dev/hdb as many times as you wanted without ever effecting your ability to boot into windows (you would leave your windows disk as Primary Master).
You shouldn't need to reconfigure the BIOS - it will want to boot from the Primary Master.
If you need hard-core step-by-step instrutions, just let me know and I'll spell it out for you. I don't know how much of that you'll understand.
Thank you for your prompt answer. I don't understand everything but very much of what you explained to me. I have to read about using qtparted [ ($ sudo qtparted) within knoppix] to resize my windows partition. Don't waste any other minute of your time on this before I complete my homework.
Thanks,
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125
Rep:
No problem, I can just barely believe that a year ago I registered here and now I'm actually able to help someone instead of needing help. It's the least I can do to start the subsidation of this festering guilt-trip from having been on the sidelines for so long and not out helping enough in the community.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.