Erasing Partition Table

Posted by Boy Sandy Gladies Arriezona on July 21, 2014

Well, I always use gparted to erase my partition table and sometimes it fail miserably. The most accurate way is to use sgdisk. We can erase our partition table like this:

$ sgdisk --zap-all /dev/sda