SSD/NVME usually have secure wipe functions in the controller for this not to destroy the flash with shred or like. From my notes: ## if SSD ## if you need to wipe the disks, use a security erase on them ## you will sometimes need to unfreeze drives, a suspend and awaken works sudo hdparm -I /dev/sda | grep froz sudo hdparm -I /dev/sdb | grep froz ## make sure these are the right disks, they will be wiped. hdparm --user-master u --security-set-pass PasSWorD /dev/sda hdparm --user-master u --security-erase PasSWorD /dev/sda hdparm --user-master u --security-set-pass PasSWorD /dev/sdb hdparm --user-master u --security-erase PasSWorD /dev/sdb ## if NVME/M.2 ## confirm nvme-cli is available which nvme ## confirm secure erase mode, should be 0x1 nvme id-ctrl -H /dev/$nvme-disk0$ | egrep 'Crypto Erase' nvme id-ctrl -H /dev/$nvme-disk1$ | egrep 'Crypto Erase' nvme format -s1f /dev/$nvme-disk0$ nvme format -s1f /dev/$nvme-disk1$ -mb On Mon, Aug 29, 2022 at 3:05 PM Retro64XYZ via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Don't do that to an SSD. > On 8/29/22 14:47, Michael via PLUG-discuss wrote: > > To delete everything would I type > sudo shred /dev/sda > From a live disk? > -- > :-)~MIKE~(-: > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings:https://lists.phxlinux.org/mailman/listinfo/plug-discuss > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > https://lists.phxlinux.org/mailman/listinfo/plug-discuss