mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Could not access KVM kernel module: Permission denied #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hakonhagland on GitHub (Jun 17, 2020).
I am trying to run
sickcodes/docker-osxinside an Ubuntu 20.04 KVM virtual machine (on a host which is also Ubuntu 20.04):@hakonhagland commented on GitHub (Jun 17, 2020):
Seems to be fixed with:
Then retried:
@hakonhagland commented on GitHub (Jun 17, 2020):
It now shows a black window with a hard disk with the text
macOS Base System. If I click the disk it saysQEMU - press CTRL+ALT+G to release grab. If I press the key combination nothing happens.@hakonhagland commented on GitHub (Jun 17, 2020):
If I first click the disk and then press the
ENTERkey it boots the OS@hakonhagland commented on GitHub (Jun 17, 2020):
Now I got to the screen with
Select the disk where you want to install macOS. If I click on the disk withmacOS Base System, 2.01 GB total, 667.6 MB availableit saysThis disk is locked@hakonhagland commented on GitHub (Jun 17, 2020):
Ok after the repartition operation as described
Additional Boot Instructionson this site I am able to install on the new disk@hakonhagland commented on GitHub (Jun 17, 2020):
Seem like the installation crashed shortly after:
@hakonhagland commented on GitHub (Jun 17, 2020):
I will try to restart the container with
@hakonhagland commented on GitHub (Jun 17, 2020):
It crashed again after installing for 5 minutes approximately
@sickcodes commented on GitHub (Jun 17, 2020):
How much disk space do you have? How much hardware, RAM?
@hakonhagland commented on GitHub (Jun 17, 2020):
@sickcodes Of course. I did not think about that I was running from the KVM VM, I think I only had 40GB disk allocated to the VM. I am trying on another machine now, but now trying a custom setup of RAM and disk space:
But when I run it:
I get
@hakonhagland commented on GitHub (Jun 17, 2020):
According to #1 I should be able to do
and then run
but this gives me:
@hakonhagland commented on GitHub (Jun 17, 2020):
@sickcodes I tried to run the original command on the new machine:
and was able to install macOS 10.15.5 with 200GB disk! It is Great! Though I am not able to set the disk size and the version of the OS as you can do with
docker-osx:latestso I hope this can be fixed in the future@sickcodes commented on GitHub (Jun 18, 2020):
They’re both the same, one is built on hub.docker.com the other is local.
However, we changed disk size to 200G because it didn’t matter and there were complaints for too small disk size.
Glad to hear you fixed the issue :) I will remove the messages about disk size because it doesn’t really matter how big. It only matters how small :)