Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

theturtle

macrumors 6502a
Original poster
Aug 3, 2009
579
35
Searched all over Google but couldn't find a clear answer.
I went through an 8 hour tear my hair out session trying to set up boot camp on my 2015 5K imac and needless to say, it was not a success. Every time it ended up hanging on the "partitioning" portion of the boot camp set up. After a while I decided to cut my losses and just do Parallels.

When I went to go remove the partition via boot camp set up, it wouldn't work so I looked on Google and found these commands.


sudo diskutil eraseVolume free none disk0s4
sudo diskutil eraseVolume free none disk0s3
sudo diskutil apfs resizeContainer disk0s2 0
sudo diskutil mount disk0s1
cd /Volumes/EFI/EFI
rm -r Boot
rm -r Microsoft
cd ~
diskutil unmount disk0s1

This successfully removed the "OSXRESERVED" and "BOOTCAMP" reserves but when I check disk utility, my breakdown shows the following screens. What exactly is "2 Not Mounted" and how do I mount it?
 

Attachments

  • Screen Shot 2019-05-02 at 9.39.26 AM.png
    Screen Shot 2019-05-02 at 9.39.26 AM.png
    600.2 KB · Views: 1,554
  • Screen Shot 2019-05-02 at 9.39.18 AM.png
    Screen Shot 2019-05-02 at 9.39.18 AM.png
    620.1 KB · Views: 862
Searched all over Google but couldn't find a clear answer.
I went through an 8 hour tear my hair out session trying to set up boot camp on my 2015 5K imac and needless to say, it was not a success. Every time it ended up hanging on the "partitioning" portion of the boot camp set up. After a while I decided to cut my losses and just do Parallels.

When I went to go remove the partition via boot camp set up, it wouldn't work so I looked on Google and found these commands.


sudo diskutil eraseVolume free none disk0s4
sudo diskutil eraseVolume free none disk0s3
sudo diskutil apfs resizeContainer disk0s2 0
sudo diskutil mount disk0s1
cd /Volumes/EFI/EFI
rm -r Boot
rm -r Microsoft
cd ~
diskutil unmount disk0s1

This successfully removed the "OSXRESERVED" and "BOOTCAMP" reserves but when I check disk utility, my breakdown shows the following screens. What exactly is "2 Not Mounted" and how do I mount it?
I'm no expert but I know that macOS has a small recovery partition around that size and my guess is something got screwed up with that.
 
If nothing else works, this will do it:

The following procedure will remove that BootCamp partition, 100% guaranteed:

1. Get either CarbonCopyCloner or SuperDuper. Both are free to download and use for 30 days (doing this will cost you nothing)
2. Get an external drive (if your internal drive is 500gb, the external should be that size or larger)
3. Use CCC or SD to clone the contents of your Mac partition (the regular partition you boot into and work from) to the external drive
4. Now, BOOT FROM the external drive (press the power on button, IMMEDIATELY hold down the "option" key CONTINUOUSLY until the startup manager appears, then select the cloned drive and hit return).
5. When you get booted from the external drive, open Disk Utility
6. In the upper-left-hand-corner of Disk Utility, choose "show all devices"
7. Now, click the uppermost line for your internal drive (this represents the physical drive itself).
8. Next, click the "erase" button and ERASE the internal drive, completely. You would choose APFS, GUID partition format if you want APFS formatting. For HFS+, choose "Mac OS extended with journaling enabled, GUID partition format".
9. Once the drive is erased, quit Disk Utility and re-open CCC (or SD).
10. Now, RE-clone the contents of the cloned backup BACK TO the internal drive.
11. When done, disconnect the external cloned backup and reboot to the internal drive.
12. Done.

In the future, don't bother fooling with BootCamp again.
I'd suggest either VMWare Fusion or Parallels (both "virtual machines") as "the better way to go..."
 
Much much faster than above—also the way Apple recommends:

If you have a Time Machine backup, boot with the Command r keys held down. In the Repair Partition, use Disk Utility to erase your system, download and reinstall the OS. Now restore from your backup.

If you don’t have a backup, make one first. There is no reason to use CCC over Time Machine fr this.

If you have Time Machine enabled before your failed attempt, APFS Snapshots might be able to restore your system to an earlier state in about 5 minutes. I’ve never tried it on an APFS fusion drive but no reason why it shouldn’t work. You must have had Time Machine enabled beforehand or it can’t.
http://www.motunation.com/forum/viewtopic.php?f=4&t=64689
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.