Saturday, March 17, 2007

How to partition/format a disk under linux

# first use fdisk to setup your partition, for more info on fdisk, type man fdisk
fdisk /dev/hda

# Now that you partitioned your disk let's format it (man mke2fs)
mke2fs /dev/hda1 <--- you have to do this for each partition you created, just replace 1 for partition #

No comments: