

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.

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.
