While the default VirtualBox settings are appropriate for Sierra, the trick is creating a bootable dmg for the installer. These steps assume you have saved the installer in your application folder.
To create the VM using VirtualBox 5.0.24(r108355):
Credit to Matt Behrens for the bootable dmg steps.
hdiutil attach /Applications/Install\ macOS\ Sierra\ Public\ Beta.app/Contents/SharedSupport/InstallESD.dmg
hdiutil create -o tmp.dmg -size 10g -layout SPUD -fs HFS+J
hdiutil attach tmp.dmg
asr restore --source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg --target /Volumes/untitled --erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -Rv /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
cp -v /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/OS\ X\ Base\ System
hdiutil detach /Volumes/OS\ X\ Install\ ESD
hdiutil convert -format UDZO -o InstallSierra.dmg tmp.dmg
hdiutil create -o tmp.dmg -size 10g -layout SPUD -fs HFS+J
hdiutil attach tmp.dmg
asr restore --source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg --target /Volumes/untitled --erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -Rv /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
cp -v /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/OS\ X\ Base\ System
hdiutil detach /Volumes/OS\ X\ Install\ ESD
hdiutil convert -format UDZO -o InstallSierra.dmg tmp.dmg
To create the VM using VirtualBox 5.0.24(r108355):
1. In VirtualBox Manager, Name (Sierra), Type (Mac OS/X), Version (Mac OS X 10.11 El Capitan)
2. Memory 4gb, Create a dynamic hard drive of at least 32gb, leave the defaults alone. Be sure EFI is selected and on the motherboard chipset option, PIIX3 is selected.
3. For storage, attach the bootable dmg (InstallSierra) create above. If all goes well, delete the tmp.dmg.
2. Memory 4gb, Create a dynamic hard drive of at least 32gb, leave the defaults alone. Be sure EFI is selected and on the motherboard chipset option, PIIX3 is selected.
3. For storage, attach the bootable dmg (InstallSierra) create above. If all goes well, delete the tmp.dmg.
Credit to Matt Behrens for the bootable dmg steps.
Last edited: