Barkings! | The Small Dog Apple Blog

How to Erase Your Macs Hard Drive Before Selling It (OS 10.4)

Hannah, the manager of our Burlington retail store recently decided to upgrade her Core Duo black MacBook to a Core 2 Duo black MacBook. First, she used Migration Assistant and a firewire cable to move everything from the old Mac to the new Mac. Migration Assistant is included with OS 10.4 – it can be found in the Utilities folder which is nested in the Applications folder.

Next, Hannah needed to erase the old MacBook’s hard drive, and reinstall a fresh copy of the operating system (OS). The OS installation disks that came with your Mac (sometimes called the Software Restore disks) or a OS 10.4 Install disk is required to do this.

Most people simply install a fresh copy of the OS over the old copy of the OS. This has the effect of overwriting and obscuring / erasing their old data. To do this, pop in the OS install DVD that came with the computer (or a purchased copy of the OS), restart the Mac holding down the “C” key, and follow the onscreen installation instructions – making sure to choose “Erase and Install” when it comes time to actually install the operating system.

However, Hannah wanted to be sure that her old data was really erased. Thus, she decided to first erase the MacBook’s hard drive before installing the new OS. Again, pop the OS installation DVD into your Mac’s optical drive. Restart the Mac while holding down the “C” key. This time choose “Open Disk Utility” on the menu bar from the Installer menu. In Disk Utility, select your Mac’s hard-drive icon in the left column. Click the Erase tab, then click the “Security Options” button.

Now you can choose to Zero Out Data, which provides good security in minimal time, 7-Pass Erase, which writes data over the entire disk seven times (and takes seven times longer than the Zero Out Option), and even a 35-Pass Erase option – which would take a very long time, would be extremely secure, and is great for very paranoid people.

Why the different security options? When a hard drive is “erased” most of the time the old data is not really erased, but set aside to be written over on an as-needed basis. If you never actually write over the old data, it is still there – ready to be recovered by scheming people.

To truly erase a drive so that no one else can recover old data, new data (random data, a meaningless stream of 1’s and 0’s) needs to be written over it multiple times. When erasing a Mac’s hard dive prior to a new OS installation, most people will be fine choosing “Zero Out Data,” and then re-installing the OS. However, doctors, lawyers, accountants, and spies should probably choose 7-Pass Erase before reinstalling the OS.

It does take a couple hours to securely erase your hard drive and install a fresh copy of the OS – but if you have sensitive data, it’s worth the trouble.

post this at del.icio.uspost this at Diggpost this at Newsvinepost this at Redditpost this at TailRank

TechnoratiTags: , , , , ,

Back to Barkings!
Previous Post:
Next Post:

  1. Saw this on TUAW, Your famous now, nice post Ed!


    — Dave Jaques    2007-06-29 17:56    #
  2. Actually, to truly erase a drive, you need to take the approach Wikipedia suggests:

    “If one wants to be absolutely sure that the file is not recoverable by any means, a suggested approach is to incinerate the media (e.g. burning the hard drive to raise the platters above their Curie point). Another approach is to destroy the media with acid.”

    It’s what the NSA does. But I guess that would mean you couldn’t sell your hard drive to Smalldog, eh?


    mac en tot    2007-06-29 18:07    #
  3. “Zero Out Data” will prevent any software-based file recovery from restoring previous data. There is no way that software can interrogate the hard drive and reveal previous 1’s and 0’s beneath the current 0’s from a “Zero Out Data”.

    The more secure 7- and 35-pass methods can prevent expensive hardware-based recoveries, in which the magnetic moment of each magnetic domain can be measured to reveal information about its history (a 1 bit might be a domain with spin up +1, and writing a 0 bit should flip the spin down to -1, but its actually more like -0.9 indicating that its previous state was +1).

    Users can choose their level of paranoia by asking to what extend the new owner would go to recover the data: inexpensive software or expensive hardware methods


    — Rafe H.    2007-06-29 18:44    #
  4. Incinerating the drive will work as will shredding it. However rather than destroying the disk why not remove it from the system, replace it with a new drive, then take the old drive, and buy an external case for it.

    Delete the operating system and applications from the old drive and use it as your backup media.

    OR

    Format it and use it as a fresh backup disk.

    In either case you should protect it from prying eyes just as you should any backup media.

    You are as careful with the backup media as you are with your system. Aren’t you?


    — DWS    2007-06-30 02:59    #
  5. Great tip! I just tried this—it took me a while to realize that to get the “Options” button to be enabled, I had to choose the icon for the hard disk (e.g., “38.3 GB Maxtor”) and not the icon under it for the logical disk (e.g., “Macintosh HD”).

    (This was on a Mac OS X 10.3 install CD—it might be different in a newer version.)


    — Ned    2007-07-04 18:10    #
  6. Burn iT!


    — beaner    2007-09-08 04:58    #
  7. Verizon is about the only place you can get the authentic RIM product and matching door. Most other sites are out of stock and even when they are in stock they have the black battery door which looks like crap. http://www.batteryfast.co.uk
    I tested this camera for a client. I didn’t have the light running for more than 15 minutes. The battery lasted approximately 6 hours before recharging. The LCD, however, had a few dead pixels – never saw this before. Tried returning for exchange and had to put up quite a fight. Anyone else seen this? http://www.batteryfast.com
    :)


    lory    2008-02-24 21:44    #
  8. yeahhhh Burn IT!!! Congrats excellent Note & Comments


    — Luca Zaggatii    2008-04-19 19:32    #
  9. Spies would not burn the media, they’d take care of it.


    machinehuman    2008-04-19 21:41    #
  10. I’m not sure I would want a drive previously owned by the CIA. It’s a nasty business they are in.


    Troy Banther    2008-04-23 10:06    #
  11. Nice post. You can erase your data by zeroing your hard drive. formatting doesn’t erase data permanently. You can use drive wipe software that overwrite hard drive so it becomes unrecoverable.


    shrek    2008-06-27 07:59    #
  12. I have a powerbook g4 that I want to get off my hands. One problem, the CD drive doesn’t work anymore. Is there any way to erase everything without having to reinstall OSX from the disc ??????? HELP !!


    — e.    2008-08-06 22:08    #
  13. Agreed, I don’t have the disk any longer, any ideas?


    — chris    2008-08-25 00:09    #
  14. try running the following commands from the terminal. Boot into Single User Mode by pressing cmd -s the geer is spinning. Type the following commands:

    mount -uw /
    find / -user yourshortusername -exec rm -R {} \;
    cd /var/db/
    rm -R netinfo/
    rm .AppleSetupDone
    reboot

    This should take a little while if you have a lot of files. It will delete ALL of the files belonging to the user name that you specify. So you may need to run the find command more than once to get all the users. Next it will delete the netinfo folder, which stores information about the accounts on the computer, and the file that tells OS X that setup of the machine has completed. When you reboot, you should see the Welcome to Mac movie followed by the setup assistant.


    — Devon Govett    2008-09-25 08:07    #
  15. I inserted the install disk, helc the “c” button then went through all of the other steps. When I pushed the erase button to execute the erase I got an error message saying that the disks could not be mounted. can anyone help?


    — Andrew Hagerman    2008-10-28 18:42    #
  Textile Help