Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't erase Macintosh HD (FileVault active)

I'd like to erase all data on my MBA since I'm going to sell it.


I booted with cmd-R, accessed Disk Utility, selected "Macintosh HD" and the "Erase" tab. "Erase..." button is greyed. I therefore cannot erase my data.


Maybe this is due to the fact that FileVault is active on this computer.


How do I erase all my data from "Macintosh HD"?


Note: Athough FileVault has got my data encrypted, it might be preferable to erase them before selling the computer, right?


Thanks.

MacBook Air, OS X Mountain Lion (10.8.4), MBA August 2011

Posted on Jun 12, 2013 10:02 AM

Reply
22 replies

Oct 23, 2017 4:57 AM in response to belso

In my case helped starting "clean" restoration from my Time Machine backup copy of my device (Ctrl+Option+R during boot sequence start). During restoration process device prompted that my disk will b erased and I wil have to set up FileVault anew from settings after retoration.


In my case it was a Fusion Drive. NOT a separate SSD. Hope this helpes

Jun 12, 2013 10:26 AM in response to belso

If you want to use the Terminal, then reboot with the Command-R keys held to get to the OS X tools window. In here, choose "Terminal" from the Utilities menu, and then run the following command:


diskutil cs list


With this command entered, you should see a hierarchical tree of the encrypted volume, with the first entry being the core storage volume group. Get the UUID from this group, and use it int he following command:


diskutil cs delete UUID


See this screenshot for what this should look like (UUID is circled in RED, and typed commands are in BLUE):


User uploaded file

Jun 12, 2013 10:43 AM in response to belso

If your drive is encrypted then destroying the volume group as I described in the Terminal will render all data useless, as it will be garbled information to anyone who tries to retrieve it.


If you instead disable FileVault and allow the system to decrypt the drive before formatting, then using a multi-pass erase will be one way to secure the data, though for most intents and purposes (the vast majority) using a simple single pass write to zeros will be enough.


Do keep in mind that if your system has an SSD, then writing to zeros and using 7-pass erase features is not recommended. In some cases it can give problems, but otherwise it will simply wear out the drive faster.

Jun 12, 2013 10:49 AM in response to belso

A seven pass erase is extreme overkill. There's nothing out there for the general public that can retrieve anything that's been covered by even a single pass erase. Plus, you'd be waiting a VERY long time for a seven pass erase to complete. On top of that, after the single pass erase, you'll be writing over the drive again with a fresh install of the OS. No one you're selling the Mac to is going to able to recover any old data.

Jun 12, 2013 10:49 AM in response to belso

Additionally, you're showing that you are running Mountain Lion - if your machine was purchased in 2011, it most likely came with Lion?


If that is the case, you need to erase the hard drive completely and reinstall the original OS as any OS obtained at the app store is not transferable. The buyer would never be able to reinstall the OS, as it is tied to your Apple ID forever.


In order to do that, you need to use Internet Recovery - Command + Option + R - which should install the original OS (rather than the regular recovery which will reinstall the current OS). If the machine came with an install DVD, you would need to use that to reinstall.

Jun 12, 2013 1:47 PM in response to Topher Kessler

Thanks to all for all the precious information.


Now: I deactivated FileVault (it took about 2 hours to unencrypt the SSD) & rebooted on the recovery partition. Went to Disk Utility and had no other option than "Erase" ("Security Option" was greyed). Macintosh HD is now empty.


I rebooted and selected "Install Mountain Lion" but the problem is I want to install "Lion" instead since the MBA original configuration was with Lion.


Question is:

1. how do I install Lion?

I didn't get any USB stick when purchasing the MBA.

I checked the MAS on my iMac but Lion is not available for download anymore (if available, i could have downloaded it, copied it on an external drive, plugget it to the MBA and installed it from there).


2. if i reinstall Mountain Lion, I need to enter my Apple credentials... How can I possibly sell my MBA to somebody I don't know with my Apple credentials already into the system?


Hope you can help.

Jun 12, 2013 1:53 PM in response to belso

How can I possibly sell my MBA to somebody I don't know with my Apple credentials already into the system?

That's what babowa was explaining; you can't, and don't.


The legal way to sell the Mac is by installing the OS it came with. Assuming babowa is correct, and it came with Lion, you restart and hold down the Command+Option+R keys to do an Internet Recovery. The OS that matches what the Mac came with will be installed.


If the buyer wants Mountain Lion, they'll have to purchase it themselves under their own App Store account.

Jun 12, 2013 2:52 PM in response to Kurt Lang

Assuming babowa is correct, and it came with Lion, you restart and hold down the Command+Option+R keys to do an Internet Recovery. The OS that matches what the Mac came with will be installed.


These are the results testing has produced (testing done by various people here including myself and Red Dwarf and elsewhere and some have been working on a detailed user tip because the whole thing is so convoluting):


Internet Recovery (displaying a spinning globe while accessing Apple's servers): erase drive > no Apple ID required > installs original OS (perfect for selling as the buyer is able to get to the app store and purchase things with his/her own Apple ID)


Recovery: Apple ID required > installs current OS


Disclaimer (haha): one person reported that during one test with internet recovery, the current OS was installed; however, most of the time, the original OS was installed as intended. So, results weren't 100%.

Can't erase Macintosh HD (FileVault active)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.