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

2580285

Canceled
Original poster
Nov 2, 2016
61
38
Hi there,

I have chosen to switch back to macOS as the main production OS so I would like to remove the Windows installation to use the license in a virtual machine setup inside macOS.

It seems however impossible to do so using the Assistant, since an error message appears when hitting the continue button from the first screen.

This translates approximately as: to install Windows, the startup disk must be formatted as a whole Mac OS extended (journaled) volume (which it is not, as this is what I'm trying to achieve) or already partitioned by BootCamp Assistant (which it is).

In Disk Utility I can see the following.

2a6s8ar.png


20u8kug.png


Would using Disk Utility to simply delete extending the macOS partition be useful, like this?

kalkrk.png


I'm running Mojave 10.14 (18A377a) on a 2017 iMac. On the other side there is Windows 10 Pro, fully updated. Both operating systems can't see each other (macOS doesn't let me choose to reboot to Windows, but it obviously works by holding Alt at startup, likewise Windows has never seen the macOS partition to reboot into).

Thank you very much in advance for any insight on this!
 
Hi there,

I have chosen to switch back to macOS as the main production OS so I would like to remove the Windows installation to use the license in a virtual machine setup inside macOS.

It seems however impossible to do so using the Assistant, since an error message appears when hitting the continue button from the first screen.

This translates approximately as: to install Windows, the startup disk must be formatted as a whole Mac OS extended (journaled) volume (which it is not, as this is what I'm trying to achieve) or already partitioned by BootCamp Assistant (which it is).

In Disk Utility I can see the following.

2a6s8ar.png


20u8kug.png


Would using Disk Utility to simply delete extending the macOS partition be useful, like this?

kalkrk.png


I'm running Mojave 10.14 (18A377a) on a 2017 iMac. On the other side there is Windows 10 Pro, fully updated. Both operating systems can't see each other (macOS doesn't let me choose to reboot to Windows, but it obviously works by holding Alt at startup, likewise Windows has never seen the macOS partition to reboot into).

Thank you very much in advance for any insight on this!

Open terminal and run: diskutil list

Take a screenshot & post here
 
Here you go! 2 and 3 were copying files so I couldn't disconnect them at the time I took the screenshot...

2rxfwqu.png
 
Here you go! 2 and 3 were copying files so I couldn't disconnect them at the time I took the screenshot...

2rxfwqu.png

Open terminal and run this command:

sudo diskutil eraseVolume "Free Space" %noformat% /dev/disk0s4

You may have to enter your admin password.

If that command is successful (an error message will appear if it isn’t) run this command next. Even if it isn’t successful, run this command anyway:

diskutil apfs resizeContainer disk0s2 0



Once the above is done, try using Bootcamp Assistant again to remove Windows.
 
I did what you suggested and it worked, thank you very much!

This is the updated output of diskutil (cut to show only the internal disks).

zyc7yq.png


Is everything how it should be, in your opinion?

Thanks again!
 
I did what you suggested and it worked, thank you very much!

This is the updated output of diskutil (cut to show only the internal disks).

zyc7yq.png


Is everything how it should be, in your opinion?

Thanks again!

You’re welcome! Everything looks good. Take care!
 
  • Like
Reactions: 2580285
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.