If the script fails to find the installer you can specify its path as the first parameter. Make the script executable and run it: chmod +x prepare-iso.sh &. In this case, you need to use an older Mac to download the older OS. the 2016 MacBook Pro can only download 10.12 Sierra or later). Note: On newer hardware, you might not be able to download older OS releases that Apple doesn't support on the newer hardware (e.g.(Should work for Yosemite, El Capitan, Sierra and High Sierra, Mojave - 10.10-10.14.) The installer will be placed in your Applications folder. To build a VM running macOS, follow the directions below:ĭownload the installer from Mac App Store (it should be available in the 'Purchases' section if you've acquired it previously). Current macOS version: High Sierra (10.13), tested with VirtualBox 5.2.16 r123759