[sf-lug] Securely deleting+testing drives-take1

aaronco36 at sdf.org aaronco36 at sdf.org
Sun Nov 6 12:00:50 PST 2022

Re: subject matter discussed at today's SF-LUG meeting

Here are some relevant(IMHO) links on securely deleting and adequately
surface-testing media such as USB flash drives that Bobbie might be using
for Ventoy....
+ Ventoy itself; https://www.ventoy.net/en/index.html
+ the 'shred' manpage; https://linux.die.net/man/1/shred
+ the 'badblocks' manpage; https://linux.die.net/man/8/badblocks
+ a May 2020 article 'Hard drive shredding on Linux' (using both 'shred'
and badblocks'); https://linuxconfig.org/hard-drive-shredding-on-linux
+ Peter Gutmann's July 1996 article 'Secure Deletion of Data from Magnetic
and Solid-State Memory';
+ Michael Wei et al's Febraury 2011 article 'Reliably Erasing Data From
Flash-Based Solid State Drives';

FWIW, running a 'shred -n25 -vz /dev/sdX' and 'badblocks -svvw /dev/sdX'
on that 128 GB non-SSD USB flash drive might take a VERRRRRY LONNNNNG
time!! Maybe finishing by U.S. Thanksgiving??

Might be acceptable timewise to rather run 'shred -vz /dev/sdX' followed
by a 'badblocks -svvn /dev/sdX' on that lower-capacity, non-SSD USB 2.x
drive (e.g., 8GB, 16GB, 32GB) before using that drive for Ventoy :-)


More information about the sf-lug mailing list