Jump to content
IGNORED

Scrubbing a Hard Drive


jhd

Recommended Posts

I will shortly be upgrading to a new laptop. Before I sell the old one, I would like to "scrub" the hard drive of any and all personal information. A complete reformat of the hard drive would be best, of course, but I do not have the system disks anymore (the hardware is about 4+ years old) and I don't think anyone would buy it without a functioning OS. I'm currently running Windows Vista.

 

Is there anything available that will completely wipe the My Documents file tree?

Link to comment
Share on other sites

Just boot a live Linux CD. As root, execute 'dd if=/dev/zero of=/dev/sda1'. Wait for it to finish. You are done, no data can be recovered from the hard disk by any known technology.

 

If you're paranoid, you can use /dev/urandom instead of /dev/zero, but there's no good reason to, and it takes a lot longer.

  • Like 1
Link to comment
Share on other sites

Just boot a live Linux CD. As root, execute 'dd if=/dev/zero of=/dev/sda1'. Wait for it to finish. You are done, no data can be recovered from the hard disk by any known technology.

 

If you're paranoid, you can use /dev/urandom instead of /dev/zero, but there's no good reason to, and it takes a lot longer.

He said he wanted to scrub any personal data, while still leaving the OS intact in order to be able to sell the computer.

Link to comment
Share on other sites

  • 1 month later...

I will shortly be upgrading to a new laptop. Before I sell the old one, I would like to "scrub" the hard drive of any and all personal information. A complete reformat of the hard drive would be best, of course, but I do not have the system disks anymore (the hardware is about 4+ years old) and I don't think anyone would buy it without a functioning OS. I'm currently running Windows Vista.

 

Is there anything available that will completely wipe the My Documents file tree?

 

There are programs out there that will securly delete files, but the problem is finding all the files that need to be deleted. There are a lot of different places that a file with personal information could end up. Just deleting My Documents wouldn't necessarily be sufficient.

 

Dan

  • Like 1
Link to comment
Share on other sites

The absolute, most sure way of deleting the data you want would be to wipe the drive and reinstall the OS. If you've lost the disk for that, then there's not much that you can do outside of hunt, hunt, hunt, hope you got it all, then find a program that will overwrite the space you freed up several times.

 

Even deleting My Documents, you have to contend with programs that may have stashed cache copies elsewhere on the hard drive.

Link to comment
Share on other sites

The safest bet is to scrub the drive before installing a fresh operating system. Hatta's method is good; it turns every bit on the drive into a zero.

 

Allegedly, someone who is really good at hard drive forensics cab recover data even from a drive that's been written over once. It's something to do with how the physical media that creates each bit is arranged after it has been written one way, then another; something of a "ghost image" of the previous data possibly can be reconstructed. Obviously somebody is going to have to really want your old data for this to happen. If you really want to be that paranoid, the solution is to do multiple swaths of random data instead, using /dev/urandom and running the command multiple times.

 

As for a new OS install, depending on how you plan on selling the laptop, you may not have to worry about it. Techy types know how to install their preferred OS, so just advertising that an OS is not preinstalled can be good enough. If you do want an OS on the laptop, however, consider using one of the friendlier linux distributions, like Ubuntu. There are also *cough* ways of installing Windows that don't require the original system CDs. I haven't looked for Vista or 7, but for XP it's a snap. I wouldn't recommend this method if the next owner isn't going to know any better, but again, techy types won't care, or will know how to deal with it.

Edited by FujiSkunk
Link to comment
Share on other sites

The absolute, most sure way of deleting the data you want would be to wipe the drive and reinstall the OS. If you've lost the disk for that, then there's not much that you can do outside of hunt, hunt, hunt, hope you got it all, then find a program that will overwrite the space you freed up several times.

 

Even deleting My Documents, you have to contend with programs that may have stashed cache copies elsewhere on the hard drive.

 

Uuuh, no. Overwriting your OS is NOT enough by a longshot. With a few free tools anyone could still retrieve your zebra pr0n. Use a real shredding tool please..

http://www.dban.org/

Edited by theloon
Link to comment
Share on other sites

Agreed with the idea that deleting MY DOCUMENTS is not enough. What about all the other bits of info stored in other directories? And can you be sure you've gotten them all? And how will you know?

 

I personally suggest that you use one of the popular drive erasers and scrubbers already talked about.

 

Full disk wipe.

Basic reformat.

Then reinstall the OS.

 

Expecting to achieve a 100% kill rate by manually picking though files and directories is just beyond hilarity. Good luck!

Link to comment
Share on other sites

The absolute, most sure way of deleting the data you want would be to wipe the drive and reinstall the OS. If you've lost the disk for that, then there's not much that you can do outside of hunt, hunt, hunt, hope you got it all, then find a program that will overwrite the space you freed up several times.

 

Even deleting My Documents, you have to contend with programs that may have stashed cache copies elsewhere on the hard drive.

 

Uuuh, no. Overwriting your OS is NOT enough by a longshot. With a few free tools anyone could still retrieve your zebra pr0n. Use a real shredding tool please..

http://www.dban.org/

 

Yeah, if I was selling a PC etc I would definitely use something like dban -- I found it quite useful in the past -- and stick something like linux on afterwards or even just leave it without an OS, as someone else suggested.

Link to comment
Share on other sites

1. Make sure it doesn't have a recovery partition. Sometimes all you need to reformat and reinstall the OS is already on the drive.

2. Often times you can use a different Windows Vista install disc and just use the Key on your case to activate it. It will probably need to be an OEM disc, though.

Link to comment
Share on other sites

  • 2 weeks later...

Boot off OS on USB (if possible) or remove HDD and install on other computer via USB, run mutilate file wiper with high setting on old files (or select entire document or user directory, or heck the whole drive) then wipe free space.

 

I guarrantee you'd need CIA and their really high tech equipment to find any fragment of old file after it's been mutilated. For non flash storage, I usually find 3 repeat of random numbers is sufficent. For flash storage, it can be harder to really wipe it due to the way some flash storage uses wear leveling. For flash drive, I'd use H2testw, delete verify files, and repeat a couple times.

 

Is there any reason you can't just install a new OS? Most retail laptop comes with extra partition with OS restore and generally users are expected to make initial backup set of restore CDs or DVDs so they could wipe the main partition and install fresh OS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...