|4 Live systems|
|→||4.1.3 Use DKtoolian|
|Flash-based (SSD or USB stick)|
|Traditional hard disk|
|Flash-based (SSD or USB stick), paranoid|
|Traditional hard disk, paranoid|
In the subsections below the dd program should produce a message "No space left on device".
If there are other error messages about I/O errors, dd stopped at the error position and did not overwrite the remaining space on disk. You should use a real tool (i.e. a hammer or a drilling machine) to physically destroy the disk.
The device name /dev/sda is used as an example here. Replace it by the device name of the disk you want to retire.
dk-eradisk -b 1m | dd of=/dev/sda bs=1M
dk-eradisk -b 4k | dd of=/dev/sda bs=4K
for i in 7 6 5 4 3 2 1 0 do dk-eradisk -p $i -b 1m | dd of=/dev/sda bs=1M done
Due to different patterns used in the passes, each bit is toggled at least twice.
for i in 7 6 5 4 3 2 1 0 do dk-eradisk -p $i -b 4k | dd of=/dev/sda bs=4K done