Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
macos-guest-virtualbox.sh | 2023-08-06 | 85.6 kB | |
macOS virtual machine from scratch (August 6, 2023) source code.tar.gz | 2023-08-06 | 31.2 kB | |
macOS virtual machine from scratch (August 6, 2023) source code.zip | 2023-08-06 | 32.5 kB | |
README.md | 2023-08-06 | 1.9 kB | |
Totals: 4 Items | 151.2 kB | 7 |
macos-guest-virtualbox.sh
is a Bash script for creating Catalina (10.15), Mojave (10.14), and High Sierra (10.13) guests on VirtualBox on Windows, Linux, and macOS hosts from scratch
The script creates a VirtualBox guest macOS virtual machine with unmodified macOS installation files downloaded directly from Apple servers. See the readme file for more information.
Known issues
- Guest macOS boot process hangs on “LoadKernelFromStream”, “EndRandomSeed”, or "EXITBS" - see documentation regarding VirtualBox CPU profiles and CPUID settings.
- Hosts with CPUs released in 2020 and later may fail to start or complete the installer, and may require manually adjusting the CPUID settings.
- The script does not verify file integrity for the downloaded installation files.
Dependencies
The following dependencies should be available through a package manager:
bash
coreutils
gzip
unzip
wget
xxd
dmg2img
virtualbox
The following optional packages provide optical character recognition that reduces the required interaction with the script:
tesseract-ocr
tesseract-ocr-eng
Supported versions:
- VirtualBox ≥ 6.1.6, though versions as low as 5.2 may work.
- GNU
Bash
≥ 4.3, GNUcoreutils
≥ 8.22, GNUgzip
≥ 1.5, Info-ZIPunzip
≥ v6.0, GNUwget
≥ 1.14,xxd
with-e
little endian support,dmg2img
≥ 1.6.5,tesseract-ocr
≥ 4