Mount HD Linux
Published: 11/04/2008
Servers
Setting up:
- Run fdisk -l. This will show what hard drives are available for mounting.
- Next, execute “fdisk /dev/DRIVE_NAME” to go into the fdisk utility
- If the drive doesn’t have any partitions, or to create a new one, use the “n” command
- Choose whether it’s a primary or extended partition
- Enter the number of partions you want to make.
- Choose where the first cylindar starts.
- Finalize the partitioning with the “w” command.
Formatting:
- Execute “mkfs -t ext3 /dev/DRIVE_NAME”
Mount:
- Create a directory for the mount point
- Edit /etc/fstab and and a new entry
- Execute “mount /dev/DRIVE_NAME”
You’re done!