Setting up:

  1. Run fdisk -l. This will show what hard drives are available for mounting.
  2. Next, execute “fdisk /dev/DRIVE_NAME” to go into the fdisk utility
  3. If the drive doesn’t have any partitions, or to create a new one, use the “n” command
  4. Choose whether it’s a primary or extended partition
  5. Enter the number of partions you want to make.
  6. Choose where the first cylindar starts.
  7. Finalize the partitioning with the “w” command.

Formatting:

  1. Execute “mkfs -t ext3 /dev/DRIVE_NAME”

Mount:

  1. Create a directory for the mount point
  2. Edit /etc/fstab and and a new entry
  3. Execute “mount /dev/DRIVE_NAME”

You’re done!