5

My friend has a Windows laptop that we want to totally wipe and then turn over to a hardware technician (whom we don't trust with the data on the hard drive.) I want to securely wipe, rather than encrypt the drive.

I'll boot Ubuntu from a pendrive. However, we would like to use a GUI solution. I've searched this site for that, but couldn't find what I was looking for.

Any suggestions?

kos
  • 35,535
  • 13
  • 101
  • 151
Fiksdal
  • 2,081
  • 10
  • 34
  • 61

2 Answers2

7

March 30 Edit:

By looking at this question it turns out there exists a GUI front-end to dd called GDiskDump.

enter image description here

Installation is fairly simple ( steps i followed myself ):

  1. sudo apt-get install git
  2. git clone https://github.com/screenfreeze/gdiskdump.git
  3. cd gdiskdump/deb/ && sudo dpkg -i *.deb ; you likely just want dpkg -i gdiskdump_0.8-1_all.deb

After the deb package has been installed and configured , run by calling sudo gdiskdump. Note , as every other disk utility , this one requires root privillege

Original post

You could overwrite your disk with zeros multiple times using dd command

dd if=/dev/zero of=/dev/XdY bs=1M && zenity --into --text="DONE"

where X and Y denominate the path to the device file of your drive (use lsblk to find out which one it is). Note, the dd commands takes a long time.

Alternatively you can perform the shred command:

shred -vfz -n 10 /dev/sdX

Note: here, the number of iterations is 10 which may be a bit of an overkill. Refer to man shred for the meaning of each flag.

The closest tool for erasing a drive I found so far would be nwipe, which uses ncurses and which you can install using sudo apt-get install nwipe.

enter image description here

Sergiy Kolodyazhnyy
  • 103,293
  • 19
  • 273
  • 492
  • 1
    @Fiksdal not a lot of choices for GUI out there, so far I haven't seen any. You could put a GUI onto `dd` but that's essentially just "eye-candy" for what's already working without extra cr@p – Sergiy Kolodyazhnyy Mar 25 '16 at 10:57
  • 1
    I suppose I agree. But this friend is an old man who will not take kindly to CLI. – Fiksdal Mar 25 '16 at 11:12
3

Both gparted and KDE Partition manager have (or had) secure erase options. They're buried in the menus, but they're there. One (I don't recall which, and I'm away from my home computer at the moment) actually has some options on how thoroughly you want the overwrite done.

Another, probably more versatile option, is to download a (paid) copy of Parted Magic. It's a complete OS (Linux based, of course) chock full of GUI disk management and repair tools, including a couple different secure erase options. The developer had to start charging for the distro a couple years ago, but if you want a real secure erase and aren't finding what you need in gparted or KDE Partition Manager, Parted Magic for certain includes it and is likely worth the (fairly low) cost.

Zeiss Ikon
  • 5,078
  • 5
  • 18
  • 34