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.

Using Disk Utility to Erase Disk-won't unmount

I have a MacPro and 4 drives inside it, one of which I need/want to erase. I have backed it up and using DU tried to erase it = by both highlighting the drive identifier and the name - in both cases, whether I try to erase disk or set it to erase to one partition, I get a message saying it can't do it because it can't unmount the disk.


I backed up my startup drive to this drive so I could wipe and reinstall OSX on my new SU drive but now I can't delete items off the backup drive [the one I want to erase] because the message says I can't delete backup items. And I can't erase the drive to get a brand new drive to work with.


I don't need the old SU material on this drive, it was just a way to be sure I had it before using Migration Asst to reinstall the SU on the new SU drive = I used SuperDuper to clone the old SU onto this drive - then I used Migration Asst to move the stuff back to the new startup drive = but now I want to EITHER get rid of the system files and apps [no need for those = I don't min

Mac OS X (10.7.4), iPad and iPhone4

Posted on Jul 18, 2012 11:16 AM

Reply
63 replies

Dec 27, 2013 10:51 PM in response to taramaple

I had similar problem, can't unmount easily.


Ending up connecting the disk as a target disk (holding T key on startup) connected to another Mac.


Then using terminal, used the following commands to force unmount disk and erase the disk after.


To check for the exact name of the disk:

sudo diskutil list

(you will see the list of drives/partitions, take note of which one is the one you are trying to unmount/format, should be something like /dev/disk<number>)


Then to force unmount disk:

sudo diskutil unmountDisk force /dev/disk<number>


You should get a response to the success or failure to the unmount command.


Then if you want to format force format the disk:

sudo diskutil erasedisk JHFS+ Untitled /dev/disk<number>

Jan 7, 2014 10:54 PM in response to Drakcresure

I tried turning off indexing via terminal unsuccessfully but eplt@odw's Force Unmount worked perfectly.


Background:

I boot my imac from an external SSD and use the original, internal hard disk to clone a backup to. My partitions needed resizing so I had to erase and repartition. During this process the disk wouldn't unmount,


All good now though. Thanks for your post eplt@odw

Feb 2, 2014 8:17 PM in response to alex.zatman

I had a volume named W for Western Digital etc... wanted to erase it to give to my father to use as his Time Machine backup. It wouldn't unmount directly when trying to 0 out data, it was because I had Quicktime open and had been playing a video stored on the HD going to be erased. I closed the Quicktime app and directly unmounted the volume, then highlighted the drive once again and it erased the data as desired. Sometimes things don't go so smoothly but it can be a simple oversight sometimes as well.

Apr 21, 2014 8:16 PM in response to desbrisay

Another option for anyone having to deal with an internal drive that will not erase or partition, giving the message that the erase failed because it "Could not open Device"


This happens to me when I try to wipe and install a fresh OS on any internal HD using a (Mavericks) installer on a bootable external drive.


Try connecting the Computer in question to a functional Mac with a firewire cable. Boot up the faulty computer in Target Disk Mode (hold down the "T" key) and it should show up on the functional Mac with the message that the disk is unreadable. Go to Disk Utility and it will now allow you to erase and then partition with 1 GUID partition. (Make sure you are erasing the correct drive !!)


Now unmount the target computer, shut it down and then restart holding down the option key to select the bootable external from which you can now re-install the new OS!


Works each time for me!


PS

Jun 10, 2014 9:22 PM in response to philbone

THE EASIEST WAY TO UNMOUNT:


Simply use Disk Utility to "Force Unmount". You do this by selecting the partition in the left pane, and OPTION+CLICKING the "Unmount" button. Once you have done this, you can format the entire Volume.


I hope this helps someone else, as I struggled with this for a few hours. I then remembered that the OPTION key on Mac OS is a frequent ticket to awesome features.

Aug 31, 2014 9:02 AM in response to f30_Vincent

Don't know if this works out, in my case it did, and it is quite simpler for people not customed to use terminal, or people uneasy with using sudo, or simply, like me, people who don't have a password in their daily user account:

my solution to "can't unmount" was to put the disk in Spotlight of the accessing Mac into the Private Sphere of Spotlight preferences, so the background indexing did not avoid the unmount. Worked out with a MBP in target mode.

Put if that fails, for sure the terminal will sort it out 🙂

Using Disk Utility to Erase Disk-won't unmount

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