Why partitioning?
There is no general rules of partitioning that fit all situations. Plan according to your specific requirements.
To partition harddisk, you need fdisk. Assuming that you need 2 equal partitions, here is a demonstration.
Summary of basic fdisk commands
A scenario:
[root@lovely-linux /root]# fdisk /dev/hdb kernel version 132100 Command (m for help): p Disk /dev/hdb: 255 heads, 63 sectors, 784 cylinders Units = cylinders of 16065 * 512 bytes Command (m for help): -----------------------------------------------------------------------
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 4 First cylinder (1-784, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-784, default 784): 392 Command (m for help): -----------------------------------------------------------------------
Command (m for help): p Disk /dev/hdb: 255 heads, 63 sectors, 784 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 1 392 3148724 83 Linux Command (m for help): -----------------------------------------------------------------------
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (393-784, default 1): Using default value 393 Last cylinder or +size or +sizeM or +sizeK (1-784, default 784): 784 Command (m for help): -----------------------------------------------------------------------
Command (m for help): p Disk /dev/hdb: 255 heads, 63 sectors, 784 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 1 392 3148724 83 Linux /dev/hda2 393 784 6297448 83 Linux Command (m for help): w -----------------------------------------------------------------------