

Select "Disk Utility" and click "Continue". Wait until you get to the screen where you have to choose the language.vdi file you created using VBoxManage convertfromraw. When asked click on "Choose existing disk" and select the. Select "Storage" and click to add a hard disk.Once the machine is created, go to the "Settings".Create a new machine of Type "Mac OS X" and Version "macOS 10.13 High Sierra (64-bit)" (probably others work, but I just tried with that one).Copy the file to some device which you can get access from Ubuntu (external drive or whatever works for you).Once the previous command finished, continue with the following steps.If you changed the value of the "Name" field in the step where you changed the "Size", then instead of "Untitled" the image probably appears with that name you entered. Run sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia -volume /Volumes/Untitled.If the image is not mounted automatically, double-click the file you just created to do it.In the "Size" field, enter 13 GB and save it wherever you want.Click on "File" > "New Image" > "Blank image.".If the High Sierra Installer starts, quit it.On macOS, download the High Sierra installer (even if you have Mojave installed):.But if you are curios how to do everything manually to install High Sierra, then this guide may be useful.Īfter reading a few articles I ended up with these steps:

There is already a script which installs Mojave in a virtual machine here. Important: I'm writing this when the last version of macOS (and the one I have installed) is Mojave.
