I want to wipe a dual boot hard disk. I strongly suspect this disk is partly NTFS and partly ext4 because I think those are the defaults for Windows and Ubuntu, respectively.
Windows was installed first, then Ubuntu. This disk was set-up without partition re-sizing. That means I installed Windows on a partition that occupied 50% of the disk. Then I installed Ubuntu (and grub) on the other 50%. This probably means the Windows partitions (the big one and the little extra one that Windows creates) are probably NTFS. I think the Ubuntu partition would be ext4 by default and the Ubuntu swap partition is simply never formatted.
The command issued was
shred -vzn 2 /dev/sdb
Given that there are two kinds of formatting on this physical, I wasn't surprised to see these errors:
shred: /dev/sdb: error writing at offset 31207811072: Input/output error
shred: /dev/sdb: error writing at offset 31207811584: Input/output error
shred: /dev/sdb: error writing at offset 31207812096: Input/output error
There are thousands of these error messages.
Does this mean the shredding was not effective?
cat /proc/swaps
? Just wondering if swap space from that drive is being used. – 0x01 Mar 16 '18 at 10:14