Wipe Drive Permanently:
=================
1. Connect drive in system running on Linux. (You can install it in virtual machines as well)
2. Open terminal, login as root (superuser) and run below commands to know the name of your drive which you want to wipe (erase).
# lsblk
OR
# fdisk -l
3. Now run any of these commands to wipe the data.
(a) Deletes data from every block once:
# dd if=/dev/zero of=/dev/sdb
(b) Deletes data from every block four times:
# badblocks -ws /dev/sdb
Where sdb is your drive which you want to wipe. Replace this name with your drive (e.g. sdb, sdc, sdd, sde). This name may be different as per your drives in the system, so please check the name first by using below commands:
# lsblk
or
# fdisk -l
No comments:
Post a Comment