How to securely wipe a hard drive or USB drive in Linux using dd or scrub

Normally we'd use dd to clean wipe a hard drive as follows after opening a terminal window for a hard disk or USB drive accessible as /dev/sdb :$ sudo dd if=/dev/urandom of=/dev/sdb status=progress <enter> Another command to do a secure wipe of /dev/sdb is scrub that can be used as follows:$ sudo scrub -p dod … Continue reading How to securely wipe a hard drive or USB drive in Linux using dd or scrub

How to format pen drive to VFAT using mkfs when disk utility or gparted do not recognize it

Sometimes, we find that a pen drive simply cannot be formatted using the Disk Utility or gparted in Linux. In such a situation, open a terminal on your Linux computer, and enter the command as below to format the pen drive. $ sudo mkfs.vfat -n ‘Label’ -I /dev/sda <enter> where 'Label' in the quotes can … Continue reading How to format pen drive to VFAT using mkfs when disk utility or gparted do not recognize it

Kernel panic when safely removing an External USB Drive

Had an experience today! When selecting the "Safely Remove" menu option to unmount an external USB Drive and then removing the USB cable connecting to the drive from the computer, the system gave a 'Kernel Panic' error and froze. Found that the problem was due to the partition type on the external hard disk being … Continue reading Kernel panic when safely removing an External USB Drive