This article introduces the command to delete partition table from the drive that has GPT partition table.
There are several ways to delete a partition table on the Internet. I'm picking up what I personally find the easiest.
parted /dev/sdb print
parted /dev/sdb print
You can confirm that it is in GPT format from the output of the above command. (See lines 5 and 13 from the top of the figure)
In the above figure, the following command was executed to delete the partition table of the drive.
wipefs -a /dev/sdb
wipefs -a /dev/sdc
After deleting the above partition table, when I checked it again with the following command, the partition table became unknown. The deletion of the table is completed successfully.
parted /dev/sdb print
parted /dev/sdb print
Now you can treat the drive as clean.
If you want to perform verification from a clear state again in a verification environment, please use it.
Recommended Posts