9/14/2023 0 Comments Erase ssd![]() ![]() Hdparm allows you to work with ATA disks and the ATA disk’s built in commands. The tool to use here is hdparm - if it isn’t already install, just install it using sudo apt install hdparm The safest way would be to do this from an Ubuntu Live USB and disconnect all other drives. If in doubt, try disconnecting any other drives you have, except the primary OS drive. It is really important to get this step right, as working with the wrong label can wipe your main disk. For reference the drive will just be referenced as /dev/sdX from here on. In this case, the drive is /dev/sda - though if you have other SATA SSDs then there may be a mix of sda, sdb, sdc and so on in there. You can also use the sudo fdisk -l command, and look for your disk there. The easiest way to do this is to open up the Ubuntu Disks application and look for the hard drive that you’ve plugged in. You’ll need to know the correct hard drive label to feed into later commands. ![]() There have been some forum posts about disks being bricked when attempting these operations over USB, however I have wiped about a dozen SSDs without issue. Preferably, do this over SATA but the option exists to use USB. If you’ve already removed it from the case, you can connect it to your machine with a USB-SATA converter. If the disk is already connected to your motherboard, you can leave it there. We’ll perform these steps on Ubuntu using the hdparm and dd tools. ![]() This is an action that should normally be performed when you’re about to give/sell it away.Īs an overview you’ll need to find out the disk’s label, unfreeze the disk, set a password, and then issue the erase command. Modern SSDs now come with built in commands that can wipe a disk for you. Securely wipe an SSD with its built in commands Mendhak / Code Securely wipe an SSD with its built in commands ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |