This can vary a bit by Linux distribution and version, as new tools have
been appearing. But the basic ways are:

        partition it with fdisk or cfdisk
                E.g., "fdisk /dev/hdc"

        format it (as type ext2) with mke2fs or mkfs.ext2
                E.g., "mke2fs /dev/hdc1"
                (other filesystem types have formatters with similar names)

        mount it with mount 
                E.g. "mount /dev/hdc1 /newdrive"
                (after you create the mount point, e.g., "mkdir /newdrive")

To mount it automatically at each boot, add an entry to /etc/fstab

The man pages for the various commands will give you more detail than I can
here, but this should get you going in the right direction.

At 04:31 PM 10/6/99 -0400, 1stFlight ! wrote:
>  Can anyone help me install a new ide hard drive into my system. I know
>I need to partition, format and mount it. but I don't know the commands
>for the first two. Thanks!

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to