Simple steps to prepare new/extra hard disk and add mount point in Linux
Setting up a new disk is very easy in Windows. It’s more or less plug and play. However, if you are preparing/partitioning a new disk drive in Linux, there are several commands you need to run before you can use the disk. Most of the tutorials are designed for more advanced users. If you just want a quick step by step guide to setup the disk, follow the instruction below.

milly 9:25 am on January 25, 2010
1. Physically attach your hard disks to your computer or server.
Disk /dev/sda is already being setup. Our goal is to prepare Disk /dev/sdb. In this case, the disk is SCSI drive. If you have IDE drive, you will see something like “/dev/hdb”2. Login to Linux as root, and run the following command to list all the available disks:
fdisk -lNotice you will see something similar to the following:3. Run the following command to use fdisk utility to prepare Disk /dev/sdb:
fdisk /dev/sdb4. Type “m” to list the commands
5. Type “n” to add partition
6. Type “e” for extended partition
7. Type “1″ for partition number
8. To setup just one partition, enter “1″ as the first cylinder, and the largest number available as last cylinder. (101647 in this case)
9. Type “w” to write and save
10. To create file system with EXT3 format:
mkfs -t ext3 /dev/sdb111. To create the directory mount point which you want to associate with the newly created hard disk. In this case, I want “/u01″.
mkdir /u0112, Finally, mount the file system:
mount -t ext3 /dev/sdb1 /u01You can now start using /u01 directory along with your newly installed hard disk. Have fun!