To erase entire hard drive: dd if=/dev/zero of=/dev/hda Replace the /dev/hda with your specific drive name (hda, hdb, sda etc). If you want to only clear the master boot record (including partition table): dd if=/dev/zero of=/dev/hda bs=512 count=1 Scott Berry wrote: > repost of the command to use to format the whole hard drive