The scope of the script is completing a default macOS install process on VirtualBox on supported hardware.
See the documentation command for further information. After the installation is complete, the storage size may be increased. The script by default assigns a target virtual disk storage size of 80GB, which is populated to about 25GB on the host on initial installation. These can be set in EFI and NVRAM by editing the script. ICloud, iMessage, and other connected Apple services require a valid device name and serial number, board ID and serial number, and other genuine (or genuine-like) Apple parameters. iCloud and iMessage connectivity and NVRAM The majority of the script is either documentation, comments, or actionable error messages, which should make the script straightforward to inspect and understand. Documentationĭocumentation can be viewed by executing the command. If you would like to become the maintainer of this repository, please see issue #645 - maintainer wanted. MacOS Catalina (10.15), Mojave (10.14), and High Sierra (10.13) currently supported. Should work on most modern Linux distros.
Works on macOS, CentOS 7, and Windows on x86 CPUs with VT-x or AMD-V.
Macos-guest-virtualbox.sh is a Bash script that creates a macOS virtual machine guest on VirtualBox with unmodified macOS installation files downloaded directly from Apple servers.Ī default install only requires the user to sit patiently and, less than ten times, press enter when prompted by the script, without interacting with the virtual machine. There might be old copies of Lion, Mountain Lion, and even Snow Leopard for sale on sites like eBay.Push-button installer of macOS on VirtualBox Non-developers can buy OS X Mountain Lion ($19.99) and OS X Lion ($19.99) from Apple directly. Apple will email you an unlock code, which you can redeem in the Mac App Store. If you have a valid Apple Developer account, you might be able to download older versions from /downloads. This will put an installation app in your Applications folder, which you should leave there. Once any of these downloads are complete, mount the. Leave the installation app in your Applications folder.ĭirect Disk Image Links for Older macOS Downloads Once any of these downloads finishes, do not open the installer to begin the installation. Mac App Store Links for Older macOS Downloads