VBoxManage setextradata "vbox-machine-name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "vbox-machine-name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" The differences seems to be about emulating different Mac models. It seems there are two sets usually repeated changing only the two first commands. You should enter a few of vboxmanage commands before booting.ĭifferent tutorials give alternative set of parameters.
If you don't want to create a script, copy & paste & execute the commands in the script line by line in Terminal.īefore booting apply some mods to the VM: VBoxManage modifyvm "name_of_vm" -cpuidset 00000001 000306a9 00020800 80000201 178bfbff The script assumes the default location of the High Sierra installer in /Applications.
Hdiutil convert /tmp/HighSierra.sparseimage -format UDTO -o /tmp/HighSierra.iso Hdiutil detach /Volumes/Install\ macOS\ High\ Sierra/ Sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia -volume /Volumes/install_build Hdiutil attach /tmp/HighSierra.sparseimage -noverify -mountpoint /Volumes/install_build Hdiutil create -o /tmp/HighSierra -size 5600m -layout SPUD -fs HFS+J -type SPARSE Basically it's the same method as Apple's recommended way to create a bootable macOS installer thumb drive. I use the following shell script to create a working macOS installer iso file. You just copy a probably defunct and thus non-bootable base macOS system to the image. Your final HighSierra.iso is missing the complete InstallESD content (AKA the real High Sierra installer). Is there something else I need to do in order to create my virtual macOS instance?
However, when I attempt to boot from the ISO to start the install process, I'm met with a blank, black screen. I've also created my VirtualBox guest on VirtualBox 5.2.0 r118431 with 8GB RAM and 2 processors. Hdiutil convert /tmp/ -format UDTO -o /tmp/HighSierra.iso Hdiutil detach /Volumes/OS\ X\ Base\ System Hdiutil attach /tmp/ -noverify -nobrowse -mountpoint /Volumes/install_buildĪsr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase I've created an ISO of High Sierra by downloading the installer from the Mac AppStore and running the following commands: hdiutil create -o /tmp/HighSierra.cdr -size 7316m -layout SPUD -fs HFS+J
without rendering my primary laptop unusable.
I would like to install a VirtualBox guest of macOS High Sierra on my MacBook Pro that is also running macOS High Sierra so that I can experiment with MDMs, etc.