quote:
Originally posted by JusLearnin:
I also have another hard drive - 10gb - left over from my Compaq system. It's installed and just sitting there, so instead of partitioning I will work on getting Linix on the 10 gb drive and then I can choose a boot drive when I start up.
Yes you can do this easily. I assume you already have both hard drives installed and they are IDE drives. If so, do you have both drives on the same IDE channel (both on the same cable), and the Windows drive is the "master" and the second drive "slave"?
When you go to install Linux your first IDE hard drive would show up as "hda" and your second IDE hard drive would show up as "hdb". Your C: drive would show up as "hda1" (which is the first partition on the first IDE drive). You would install Linux on "hdb".
I usually do a "custom" install rather than a "Server" or "Workstation" install (or whatever the other options are). For a desktop installation I usually set up 3 partitions, in your case "hdb1" of around 50MB (first partition on second IDE drive) and set the filesystem type to type "linux native" and the mount point to "/boot". This is where your boot loader, kernel and initial RAM disk image will reside. I set up a second partition for swap "hdb2" and set it at around 256-512MB depending on how much RAM you have, set the filesystem type to "linux swap". Then I create the 3rd partition "hdb3" to use up the remaining space for the main Linux filesystem, set it to type "linux native" and mount point should be "/".
You will likely also want to be able to have access to your Windows files when booted into Linux so you will want to add "hda1" to the mount table and have it mount under "/c", just make sure you only format "hdb*" partitions and not "hda*". I don't believe this would happen very easily accidentally.
The other thing is the boot loader (menu when you boot your computer which allows you to select the OS). Most distros use LILO for this, RedHat 7.2 is now using a boot loader called GRUB which I believe I like better. Either way no matter which distro you are installing it should set this up automatically, you will likely be asked which OS you want to boot by default and may have the option to enter the delay time before it boots the default OS automatically. It will ask you where you want to install the loader. It should default to "hda" which is the master boot record on the first IDE drive. This is where you would indeed want to install it.
The main thing in a Custom setup is deciding which packages to install (you have plenty of space so you could just select "Everything").
Final thought, if you decide after some time that you want to remove Linux and that Hard Drive. Remember that you installed the boot loader to "hda" or the boot sector of the first IDE drive and the actual boot loader code resides on the second hard drive. If you remove the second drive without restoring the boot sector on the first drive you will not be able to boot Windows. So you have to restore that boot sector with the original one so it will boot Windows as it did before installing the menu boot loader. The easiest way to do this is by creating a Windows Emergency disk and copying FDISK.EXE to that disk (or any bootable DOS diskette with a copy of FDISK.EXE). Boot from that disk and type "FDISK /MBR". That's it, you should be back to where you were before installing Linux. "/MBR" is an undocumented parameter to FDISK for restoring the "Master Boot Record" from the second copy on the drive.
I highly suggest you browse through the install docs of whatever distro you are installing first though. It really is easy to install most distros today as long as you know the lingo.
Hopefully this will help (and isn't too much information).
[ January 15, 2002: Message edited by: VoidMain ]