High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
monz
Posts: 3
Joined: 15. Mar 2022, 04:02

High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by monz »

I am new to VirtualBox and am unable to get past the following failure from the macOs installer.
macOS installer screen
macOS installer screen
Screen Shot 2022-03-14 at 10.42.12 PM.jpeg (124.4 KiB) Viewed 6250 times
vbox.log begins with the following:
  • 00:00:01.068665 VirtualBox VM 6.1.32 r149290 darwin.amd64 (Jan 13 2022 20:13:15) release log
    00:00:01.068669 Log opened 2022-03-14T18:02:27.501741000Z
    00:00:01.068669 Build Type: release
    00:00:01.068680 OS Product: Darwin
    00:00:01.068685 OS Release: 21.3.0
    00:00:01.068689 OS Version: Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64
    00:00:01.068764 DMI Product Name: MacBookPro16,2
    00:00:01.068793 DMI Product Version: 1.0
    00:00:01.068796 Firmware type: failed - VERR_NOT_SUPPORTED
the installer log contains the following lines containing the word "fail"
failures in installer log
failures in installer log
Screen Shot 2022-03-14 at 11.17.08 PM.jpg (123.4 KiB) Viewed 6250 times
the error message that refers to "InstallESDDmg.pkg" ends with "communication error, operation timeout, / no such file or directory"

the output of vminfo is in the following attachment
vminfo.txt
vminfo for High SIerra VM
(5.99 KiB) Downloaded 14 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by mpack »

Extracts from VM logs are generally not useful. Zip and attach the entire zip.
StephenJ
Posts: 12
Joined: 27. Oct 2021, 08:38

Re: High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by StephenJ »

If you are attempting to install Virtual Box on a Apple Silicon based Mac - that will not work as the Apple Silicon is not supported by Virtual Box - you must have an Intel based Mac.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by mpack »

Topic moved to "Mac OS X Guests".

If it's an M1 processor then the VirtualBox 6.1.32 installer on the MacOS host would have said so. VirtualBox versions prior to that can be installed (the installer is fooled by the Rosetta 2 CPU translation), but then you'd get errors when launching the VM - not when running an OS installer inside the VM. I also note that the guest log identifies the host as "MacBookPro16,2", which I believe means a 2020 13" MacBook Pro with an 10th Gen i5 processor.

I assume this error is simply that the High Sierra installer doesn't recognize this VM as Apple hardware of the day, e.g. wrong processor. I believe the solution is to select the correct CPU profile, but I can't advise further on that as I've never used MacOS.
granada29
Volunteer
Posts: 690
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by granada29 »

One possible reason your install is failing is the code-signing certificate used by Apple has expired. The explanation and workaround for expired certificates is in

viewtopic.php?f=22&t=98142
monz
Posts: 3
Joined: 15. Mar 2022, 04:02

Re: High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by monz »

Here are the specs for the host machine

Model Name: MacBook Pro
Model Identifier: MacBookPro16,2
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 512 KB
L3 Cache: 8 MB
Hyper-Threading Technology: Enabled
Memory: 32 GB
System Firmware Version: 1715.81.2.0.0 (iBridge: 19.16.10744.0.0,0)
OS Loader Version: 540.80.2~11

I have been using the following to try to set the correct chip set.

VBoxManage modifyvm "High Sierra" --cpu-profile "Intel Core i7-6700K"

I will also try the suggestion to work around the expired certificates, and will attach the full log

thanks for your help!
monz
Posts: 3
Joined: 15. Mar 2022, 04:02

Re: High Sierra Guest fails on Monterey with macOs could not be installed on your computer

Post by monz »

After having applied the workaround for the expired certificates, the MacOs installer failed with the same problem as before.

I have attached the full vbox log (of the original configuration, NOT the log resulting from trying the certificate workaround)
HighSierra-2022-03-15-18-36-23.log.zip
(24.42 KiB) Downloaded 9 times
I'm not able to post a link (yet), but I found a reference which seems applicable, although I don't know how to translate some of the machine details it contains into the corresponding values to set for my hardware. If you are interested, it can be found by searching the web for "Creating Windows and macOS VMs myByways".

Also, since my processor is Intel Core i7 2.3 GHz (i.e., I7-1068NG7), I am wondering if I should be setting a different value for the cpu-profile.
Post Reply