If I recall correctly the license agreement of OS-X specifically only allows installation on Apple-branded hardware, which rules out VMs. So even if you have a valid license you're still not allowed to install it on a VM. But the exact wording of the license seems to have changed between various versions, so check yours.And yes,sometime ago I've bought the original mac mini.
0%...
VBoxManage extpack install --replace --accept-license=sha256 Oracle_VM_VirtualBox_Extension_Pack-6.1.34.vbox-extpack
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/usr/home/marietto/Desktop/Files/Oracle_VM_VirtualBox_Extension_Pack-6.1.34.vbox-extpack"
VBoxManage: error: Failed to locate the main module ('VBoxPuelMain')
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg *)" at line 1424 of file VBoxManageMisc.cpp
If I recall correctly the license agreement of OS-X specifically only allows installation on Apple-branded hardware, which rules out VMs. So even if you have a valid license you're still not allowed to install it on a VM. …