If you’re trying on a Mac using Disk Utility to erase a hard drive and it won’t unmount, giving you an error similar to Disk erase failed. Couldn’t unmount disk, then you may have to force an unmount through the terminal.
Launch up Terminal.app (through /Applications/Utilities or through a Spotlight search).
Then paste in the command:
to list out the different disks. You should see some disks appear like /dev/disk0, /dev/disk1, /dev/disk2.
Find the one you want to force unmount. For this example, let’s say it’s /dev/disk2.
Run a command similar to this one
If you’re prompted for a password, enter it (yes, your account does need to have administrative privileges). You should not physically unplug the drive.
You should now be able to erase the drive.
Leave a Reply