DD can be used to overwrite a disk. Doesn't matter it has protected partition or not. Replace the X for the disk to be wiped. Dd overwrites the disk with zero and allows us to format the device.
//ubuntu terminal
//list disk
sudo lsblk
//wipe disk
sudo dd if=/dev/urandom of=/dev/sdX bs=4k
//watch dd progress
//open another terminal
sudo watch -n5 'sudo kill -USR1 $(pgrep ^dd)'
reference:
No comments:
Post a Comment