High Sierra install fails - "unable to unmount volume for repair"

Have a 2012 Mac Mini.

Running Sierra.

Third party SSD running Sierra for more than a year.

Sierra was installed over the previous version of OS.


When trying to install High Sierra, system takes me to a screen that says "unable to unmount volume for repair". Asks me to restart and back to normal login.


Checked the primary HDD via Disk Utility. Everything appears to be ok.


Searched the discussion forum and internet. No solution found.


Any ideas?


Thank you.

Posted on Sep 26, 2017 10:58 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 19, 2017 11:27 AM

Building upon previous answers, I have concluded that the problem is because the installer is glitched and can't convert the drive to APFS. This problem can easily be circumvented:


1 . Boot to internet recovery or a USB drive with the High Sierra Installer (standard Sierra recovery mode won't do).


2 . Go to Disk Utility and mount your Mac volume.


3 . Close Disk Utility and go to the command line terminal.


4 . Do diskutil umount force /Volumes/Macintosh HD/

Take note of your disk id. disk1 in my case.


5. Run diskutil apfs convert /dev/disk1s1

(replace disk1 with your disk id if needed)


6. Once this is done, reboot and High Sierra can be installed from either a USB drive or Internet Recovery mode (option+command+R)

126 replies

Oct 8, 2017 10:04 AM in response to msim20

I also have a 2012 (late) Mac Mini, with stock Apple SSD, running 10.12.6, and FileVault off. Same issue.

Disk Util reports no drive issues. Have tried a couple times from normal reboot and safe reboot. Reaches the same point (only a couple minutes into install) and reports message "Unable to unmount ... please quit installer and try again".

Also deleted and downloaded the installer on the chance from the time I originally tried Apple updated the installer. Last version of 'Install macOS High Sierra' I tried was 13.0.66.

Oct 19, 2017 1:10 PM in response to etinin

A bit of an update....

Between your steps 3&4 I did a "diskutil list" just to make sure I was dealing with the right drive.

Instead of your 4 step I did "distil amount force /dev/disk0s2" (disk0s2 being what's displayed in both the GUI diskutil and the diskutil list response)

That did successfully unmount the drive.

But the diskutil convert /dev/disk0s2 resulted in an error "exiting conversion operations with error code -69888"

That error code is an unmount error (inability to unmount), so it seems the convert option wants to mount and unmount before converting.

Also tried unmounting again and doing the "diskutil repair volume /dev/disk0s2" command. Which chugged along for a few minutes and reported back everything was fine.


So ya - still back at square one, once the volume is dismounted and them mounted again, it doesn't want to dismount unless "force" is used, claiming it's still in use. Which is really weird since... how? I booted from USB so how can it be in use?

Oct 19, 2017 1:15 PM in response to etinin

Ok. Tried this. An earlier poster pointed out a possible discrepancy in step #2... so I ignored that as it was already mounted.

Here's the results I get from steps #3 & #4...

User uploaded file

I should note that I have tried this with all external (Thunderbolt & USB) drives disconnected, apart from the booted external image.

My (much older) 17" MacBookPro (mid-2010) updated with no issues.

Oh, and if it helps, this is a bone-stock 27" 5k iMac as delivered (with internal SSD from Apple).

Oct 19, 2017 5:19 PM in response to etinin

Etinin,


Does your procedure wipe the drive and do a 'clean' install? If so, I could do that before - I was running High Sierra from a clean install just fine. I got the unmount error when I tried to do an 'over-the-top' installation. I desire this route because I don't want to lose any data. I did try to use Migration Assistant to restore my files after the 'clean' install, but that never worked. I suspect it wouldn't let me restore from my Time Machine backup because the backup was made from a different OS --> Sierra. But, that's poppycock, right? Why would it care that I created the backup from a previous OS?!


I'm still at a loss...


Joe

Oct 20, 2017 3:47 AM in response to msim20

Nope... no hacking here...all original equipment.

As for your software argument... anti-virus etc.... doesn't make a whole lotta sense many of us (myself included) are booting from USB.


But... there is some sort of software thing going on - yes... it's not a hardware issue as the Apple Store told me. But my impression, was that it was some Apple software thing, not third party.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

High Sierra install fails - "unable to unmount volume for repair"

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