Page 1 of 1

วิธีลง macOS Monterey บน VirtualBox running บน Windows 11

Posted: 14 Apr 2022, 23:00
by brid.surapol
https://shaadlife.com/install-macos-mon ... irtualbox/

วิธีซ่อม

Code: Select all

Failed to query SMC value from the host
(VERR_INVALID_HANDLE)
https://osxdaily.com/2021/07/15/how-ins ... x-windows/

Re: วิธีลง macOS Monterey บน VirtualBox running บน Windows 11

Posted: 14 Apr 2022, 23:01
by brid.surapol
Content สำหรับ แก้ไขข้างบน

Code: Select all

Note: You should replace your "macOS Monterey" with your own virtual Machine
Code for Virtualbox 6.x:
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "macOS Monterey" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

********
VBoxManage modifyvm "macOS Monterey" --cpu-profile "Intel Xeon X5482 3.20GHz"
********

Use Codes Below in cmd with Administrators instead of above.
--------------------------------
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "macOS Monterey" –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 0

Re: วิธีลง macOS Monterey บน VirtualBox running บน Windows 11

Posted: 14 Apr 2022, 23:02
by brid.surapol
I think I found a fix if you’re using Windows 11 Host

1. Close the Vmachine and Vbox
2. Open CMD as administrator
3. enter this command: bcdedit /set hypervisorlaunchtype off
4. restart your PC

Apparently the Hyper-V on windows 11 latest version slows down VBOX drastically making everything seem like it’s taking forever to load

Re: วิธีลง macOS Monterey บน VirtualBox running บน Windows 11

Posted: 14 Apr 2022, 23:15
by brid.surapol
เกิด panic ขึ้นระหว่าง installation

Code: Select all

VBoxManage setextradata "macOS Monterey" "VBoxInternal/TM/TSCMode" "RealTSCOffset"

Re: วิธีลง macOS Monterey บน VirtualBox running บน Windows 11

Posted: 15 Apr 2022, 08:42
by brid.surapol