Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
Skeuds
Posts: 4
Joined: 6. Sep 2023, 12:35

Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by Skeuds »

Hi everyone,

I have a macbook pro 15" host on which i have installed ubuntu 22.04 as main OS few months ago.
To allow using osx applications, i need to setup Mac Os Monterey guest with virtualbox but it failed each time i try.

If you could help me it will be very appreciated :)

You will find my log file attached

Thanks.
Attachments
VBox part3.log
(116.86 KiB) Downloaded 312 times
VBox part2.log
(101.3 KiB) Downloaded 333 times
VBox part1.log
(108.54 KiB) Downloaded 335 times
Last edited by scottgus1 on 6. Sep 2023, 13:21, edited 1 time in total.
Reason: changed topic title
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Installing Mac Os Monterey on Ubuntu fail

Post by scottgus1 »

A zipped log almost always fits in one attachment, Please edit and try again.

Since you do have a real Apple computer, this Mac guest seems to abide by Apple's EULA. We'll need a Mac guru to weigh in here, to get you going.

One thing I saw in the first section of log is that the VM guru meditated right away. Check that your Linux host OS does not have a KVM hypervisor enabled.
Skeuds
Posts: 4
Joined: 6. Sep 2023, 12:35

Re: Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by Skeuds »

You will find zip log attached.

I can see i have kvm installed with the following command :

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

What do you recommand ? Uninstall KVM ?
Attachments
VBox_log.zip
(67.97 KiB) Downloaded 310 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by scottgus1 »

Thanks for the zipped full log.

I'm no Linux guru, so I don't know if this:
Skeuds wrote: 6. Sep 2023, 13:44 $ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
satisfies this:
scottgus1 wrote: 6. Sep 2023, 13:20 Check that your Linux host OS does not have a KVM hypervisor enabled.
You could web-search the question or wait for a Linux guru to answer.
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by fth0 »

Skeuds wrote: 6. Sep 2023, 13:44 What do you recommand ? Uninstall KVM ?
VirtualBox cannot run a VM while QEMU/KVM is simultaneously running a VM, and your VBox.log files has the typical indications of the kvm kernel modules being in use. It would suffice to prevent that, but there have been reports that the kvm kernel modules were still in use after running a QEMU/KVM VM, so it might be tricky to achieve that. Uninstalling KVM is a way to ensure that.
Skeuds
Posts: 4
Joined: 6. Sep 2023, 12:35

Re: Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by Skeuds »

Hi,
I will try that and i came back to tell you the result.
Skeuds
Posts: 4
Joined: 6. Sep 2023, 12:35

Re: Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by Skeuds »

Hi,
I have finally uninstall Qemu and after that all works like a charm.
But i finally remember that Qemu is used by Docker Desktop and i have to reinstall it.
So i think if i exit Docker Desktop before launching any virtual machine on Virtualbox it could works.

Thank you for your help !
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Installing Mac Os Monterey on Mac Pro Host with Ubuntu fail

Post by fth0 »

Skeuds wrote: 8. Sep 2023, 15:55 So i think if i exit Docker Desktop before launching any virtual machine on Virtualbox it could works.
If that doesn't work, look for a way to manually unload the kvm kernel modules after exiting Docker Desktop (that's the tricky part I mentioned previously).
Post Reply