quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.86k stars 477 forks source link

Monterey "the disk is locked" #315

Closed buzzmandt closed 2 years ago

buzzmandt commented 2 years ago

Expected behaviour

To click the install folder and it be ok to install to, but it's locked

Actual behaviour

When monterey is asking to select the disk where you want to install macOS, there's a folder 2.87 G total, 1.08 available. When I click this folder it says "This disk is locked"

Steps to reproduce the behaviour

quickget macos monterey quickemu --vm macos-monterey.conf

Quickemu output

buzz-manjaro% quickemu --vm macos-monterey.conf Quickemu 3.11 using /usr/bin/qemu-system-x86_64 v6.2.0

Linux Distribution & Kernel

Manjaro-KDE Kernel 5.15.12.1-MANJARO

github-actions[bot] commented 2 years ago

Hello there 👋 Thanks for submitting your first issue to the Quickemu project 🐛 We'll try and take a look at your issue soon ⏲

In the meantime you might want to join the Wimpys World Discord 🗣 where we have a large community of Linux 🐧 enthusiasts and passionate open source developers 🧑‍💻

You might also be interested in following Wimpys World Twitch 📡 channel where Wimpy streams let's code video, including this project, several times a week. A back catalog of past live stream and other Linux related content is available on Wimpys World YouTube 📺 channel.

buzzmandt commented 2 years ago

This also happens with catalina and big-sur. tells me something is wrong on my end. I'll admit that I don't have macrecovery installed. I don't know how and it's not in the repos or aur. is that the issue maybe?

rany2 commented 2 years ago

This is how I managed to fix the "the disk is locked" issue:

  1. Select "Disk Utility"
  2. After Pressing "Continue", you will have a list of available hard disk devices
  3. Select "Apple Inc. VirtIO Block Media"
  4. Pick "Erase"
  5. At the Erase prompt, make sure you select one of the "Mac OS Extended" options, here I picked case-sensitive
  6. When the Erase operation is complete, leave the disk utility by Win+Q so you could go back to the main menu and pick "Install Mac OS"

Now redo the install process and you will have an option to install onto your newly formatted hard drive:

buzzmandt commented 2 years ago

Yep, that was it. Just didn't know what to do next. Thank you very much

deathblade287 commented 9 months ago

thank you. this helped me still, more than 2 years later. couldn't find the solution anywhere else.