Wipe partition table
I have a hard drive with a corrupt partition table. I tried to fix it with fdisk and DiskDruid, but there is still a problem. Everytime the kernel checks the partitions, it reads 16 partitions. Fdisk and DiskDruid only shows the new one I created. I have no data on the drive yet so I don't have to be careful. I just want to know how do I get a fresh start on my partition table. Can I use dd and just write all 0's? And what command would I need to do that?
Just in case anyone asks why the drive got corrupt in the first place -- it's not a bad drive, I had a bad stick of RAM which I have since removed from the system. The rest of it is running great, but I need to get this drive cleared up to get my file server back up and running.
|