A friend asked me to wipe/format a 2TB external HDD. It just doesn't work.
lsblk -l I can see the disk which is formatted in NTFS and mounted as /dev/sdg1.
mkfs.fat /dev/sdg1, resulting in
mkfs.fat: /dev/sdg1 contains a mounted filesystem.
sudo umount /dev/sdg just takes forever and nothing happens.
Then I tried
dd if=/dev/zero of=/dev/sdg1 bs=1M, but again, nothing happens. No output; all I can do is close the terminal window and terminate the process.
Finally I entered
sudo gparted. The program keeps loading until I plug out the external HDD, only then it shows my computer's SSD.
I've never had this problem with any hard drive before. Any ideas?