virtualization – What’s the procedure for installing a macOS VM as a Virtualbox instance?

william@william-Satellite-C55D-B:~/Downloads/macOS-Simple-KVM-master$ VBoxManage clonehd ~/VirtualBox\ VMs/macOS.vdi macOS.img --format raw
VBoxManage: error: Could not find file for the medium '/home/william/VirtualBox VMs/macOS.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 197 of file VBoxManageDisk.cpp
william@william-Satellite-C55D-B:~/Downloads/macOS-Simple-KVM-master$ VBoxManage clonehd macOS.vdi macOS.img --format raw
VBoxManage: error: Could not open the medium '/home/william/Downloads/macOS-Simple-KVM-master/macOS.vdi'.
VBoxManage: error: QCow: Reading the L1 table for image '/home/william/Downloads/macOS-Simple-KVM-master/macOS.vdi' failed (VERR_EOF).
VBoxManage: error: VD: error VERR_EOF opening image file '/home/william/Downloads/macOS-Simple-KVM-master/macOS.vdi' (VERR_EOF)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 197 of file VBoxManageDisk.cpp
william@william-Satellite-C55D-B:~/Downloads/macOS-Simple-KVM-master$ qemu-img convert -O img macOS.vdi macOS.img --format raw
qemu-img: unrecognized option '--format'

Read more here: Source link