youoneah
June 16th, 2009, 08:38 AM
Hi all,
I've been given a modern laptop by a friend and have just had the motherboard replaced by a licensed repairman (defective graphic chip). My friend asked me to securely delete his data for the case that the laptop would ever be passed on. I'd never actually done this, but some googling turned up various methods, including Darik's Boot and Nuke and killdisk.com. In the end, I decided to use a GNU tool, since I didn't feel like burning Yet Another CD, as described in the following articles:
http://linuxhelp.blogspot.com/2006/06/how-to-securely-erase-hard-disk-before.html
http://www.oreillynet.com/sysadmin/blog/2005/03/please_for_the_love_of_all_tha.html
I also noted that this procedure is correctly called reinitializing and not low-level formatting. (http://en.wikipedia.org/wiki/Disk_formatting#Low-level_formatting_.28LLF.29_of_hard_disks)
I booted the machine with a live CD of Jaunty Jackalope and brought up the CLI. The command I used is
$ sudo shred -vfz -n 100 /dev/sda
This set about its task, but I noticed with mild disquiet that it is much slower than my expectation. The hard-drive is "250 GB" (shred reports "233 GiB"), and after a couple of hours it had only polished of a few percent of the first pass. I let it run overnight and in the morning it had gotten up to eighty-three percent; still only of the first pass. Since this is a modern machine, I expected that a random overwrite of 233 GB would be finished in less than an hour. Assuming one of the above methods is
My current plan is to interrupt the process later today after it's finished the first pass, so that I'm relatively sure that at least the whole drive has been randomly overwritten once. Then I'll possibly try re-invoking the command just to overwrite with zeros. If that goes equally slow, I might look for other options.
Has anyone else here experience with the shred command? Is this really a typical speed, or could something be wrong?
Since someone is likely to ask, the machine is a Dell M1330, so the hard-drive is S-ATA. I left the BIOS setting for the drive on AHCI.
Thanks for any feedback,
Mike
I've been given a modern laptop by a friend and have just had the motherboard replaced by a licensed repairman (defective graphic chip). My friend asked me to securely delete his data for the case that the laptop would ever be passed on. I'd never actually done this, but some googling turned up various methods, including Darik's Boot and Nuke and killdisk.com. In the end, I decided to use a GNU tool, since I didn't feel like burning Yet Another CD, as described in the following articles:
http://linuxhelp.blogspot.com/2006/06/how-to-securely-erase-hard-disk-before.html
http://www.oreillynet.com/sysadmin/blog/2005/03/please_for_the_love_of_all_tha.html
I also noted that this procedure is correctly called reinitializing and not low-level formatting. (http://en.wikipedia.org/wiki/Disk_formatting#Low-level_formatting_.28LLF.29_of_hard_disks)
I booted the machine with a live CD of Jaunty Jackalope and brought up the CLI. The command I used is
$ sudo shred -vfz -n 100 /dev/sda
This set about its task, but I noticed with mild disquiet that it is much slower than my expectation. The hard-drive is "250 GB" (shred reports "233 GiB"), and after a couple of hours it had only polished of a few percent of the first pass. I let it run overnight and in the morning it had gotten up to eighty-three percent; still only of the first pass. Since this is a modern machine, I expected that a random overwrite of 233 GB would be finished in less than an hour. Assuming one of the above methods is
My current plan is to interrupt the process later today after it's finished the first pass, so that I'm relatively sure that at least the whole drive has been randomly overwritten once. Then I'll possibly try re-invoking the command just to overwrite with zeros. If that goes equally slow, I might look for other options.
Has anyone else here experience with the shred command? Is this really a typical speed, or could something be wrong?
Since someone is likely to ask, the machine is a Dell M1330, so the hard-drive is S-ATA. I left the BIOS setting for the drive on AHCI.
Thanks for any feedback,
Mike