Try mke2fs instead of mkfs. You will always use the device/partition format. That is, /dev/hda2. To make sure that's really the right device, do "fdisk -l /dev/hda" and it will show you all your partitions. You don't want to accidentally wipe out the wrong partition, so make sure you are using the right one.