delete partition tables
How can I delete all the existing partitions on a HDD?
I tried using the following command:
/bin/dd if=/dev/urandom of=/dev/sda bs=1M count=10
This does delete the partition tables but when I use fdisk to create new partitions, then I format those using mkfs.ntfs then the partitions are not seen by Windows.
Is there any other way to remove all existing paritions from a HDD?