

VBoxManage setextradata “$NAME” VBoxInternal2/EfiGraphicsResolution “$VM_RES” VBoxManage setextradata "$NAME" "CustomVideoMode1" "$x32” VBoxManage modifyvm "$NAME" -usbxhci on -firmware efi -chipset ich9 -mouse usbtablet -keyboard usb Make sure you have no VirtualBox windows open (close all just in case) and run the following script #!/bin/bash

You can download the macOS Mojave from here īefore we run the VM make sure you execute the following script to setup VirtualBox for macOS – replace the NAME variable with the name of the VirtualBox guest name. Next we upload the Mojave.iso to our Linux host and continue with the standard macOS VirtualBox setup (In the first stage attach Mojave.iso – clover.iso will be in the second one) Hdiutil convert ~/Desktop/ -format UDTO -o ~/Desktop/Mojave.iso Hdiutil detach /Volumes/Install\ macOS\ Mojave/ Sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia -volume /Volumes/install_build

Hdiutil attach /tmp/ -noverify -mountpoint /Volumes/install_build Without actually installing it, after download is finished we run the following sets of commands to create the Mojave.iso hdiutil create -o /tmp/Mojave.cdr -size 6000m -layout SPUD -fs HFS+J We will download the Mojave dmg via AppleStore from the Mojave-Beta VBox guest that we installed earlier ( you can download the ready made ISO from here Short entry here, since it was covered in the early article (which you can find here -> ) how to setup the Mojave-Beta in VirtualBox and Apple released the stable Mojave yesterday. As of VirtualBox 6.1 Clover.iso is not needed, since VirtualBox supports EFI APFS boot now
