Adding a Hard Disk
Adding a new hard disk to your computer so that it can be used by Linux requires a combination
of steps described in previous sections. Here's the general procedure:
1. Install the new hard disk hardware.
2. Identify the partitions on the new disk.
3. Create the file systems on the new disk.
4. Mount the file systems.
The easiest way to add a hard disk to Linux is to have the entire disk devoted to a single Linux par- tition. You can have multiple partitions, however, and assign them each to different types of file systems and different mount points, if you like. The following process takes you through adding a hard disk containing a single Linux partition. Along the way, it also notes which steps you need to repeat to have multiple file systems with multiple mount points.
NOTE
This procedure assumes that Linux is already installed and working on the computer. If this is not the case, follow the instructions for adding a hard disk on your current oper- ating system. Later, when you install Linux, you can identify this disk when you are asked to partition your hard disk(s).
1. Follow the manufacturer's instructions for physically installing and connecting the new
hard disk in your computer. If, presumably, this is a second hard disk, you may need to
change jumpers on the hard disk unit itself to have it operate as a slave hard disk (if it's
on the same cable as your first hard disk). You may also need to change the BIOS settings.
2. Boot your computer to Linux.
3. Determine the device name for the hard disk. As root user from a shell, type:
# dmesg | less
The continuation/full version of this article read on site www.podgrid.org - Linux Bible