[[https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/|How to Install macOS Mojave Final on VirtualBox on Windows PC]] {{ :prog:virtualbox:install_macos_catalina_on_virtualbox_on_windows_pc_-_geekrar_2019-10-08_23_29_29_.html |Archive le 08/10/2019}}
Commandes à exécuter pour rendre exécutable la machine virtuelle :
VBoxManage modifyvm "catalina" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "catalina" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "catalina" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "catalina" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "catalina" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "catalina" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
====Messages d'erreur====
===VERR_VMX_NO_VMX===
VMMR0_DO_NEM_INIT_VM failed: VERR_NEM_MISSING_KERNEL_API (VERR_NEM_MISSING_KERNEL_API).
VT-x is not available (VERR_VMX_NO_VMX).
Il faut désactiver Hyper-V :
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
Il faut modifier la stratégie de groupe :
''Local Computer Policy'' > ''Computer Configuration'' > ''Administrative Templates'' > ''System'' > ''Device Guard'' > ''Turn on Virtualization Based Security'' > ''Disabled''.
===VERR_CPUM_INVALID_HWVIRT_CONFIG===
Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!
(VERR_CPUM_INVALID_HWVIRT_CONFIG).
Docker utilisant ''WSL 2'' entre en conflit avec Virtual Box.
Pour résoudre ce problème (et ne plus faire fonctionner Docker), exécuter sous Powershell :
Disable-WindowsOptionalFeature -online -FeatureName VirtualMachinePlatform
et redémarrer le PC.
[[https://nullrend.com/11909/verr_cpum_invalid_hwvirt_config/|VERR_CPUM_INVALID_HWVIRT_CONFIG]] {{ :prog:virtualbox:verr_cpum_invalid_hwvirt_config_nullrend_blarghs_2020-05-30_10_22_09_pm_.html |Archive du 09/09/2019 le 30/05/2020}}