mac-on-linux-with-qemu
Runs macOS on linux with qemu.
Dependencies
qemu-system-x86_64
dmg2img
pulseaudio
python[click]
Usage
After cloning the repository, simply run ./run.sh
How does it work?
./fetch-macos.py
fetches macOS image dmg from their software update centre- The downloaded .dmg image is converted to .img using the
dmg2img
utility - We create a virtual disk image using
./create-virtual-disk.sh
- We install macOS to qemu using the given image.
./install-macos.sh
- We provide a custom launcher script to launch qemu with the correct settings.
./launch-macos.sh
Closed issues solving relevant tasks
Closed issues solving common problems
- archlinux: virtio-vga support lost after qemu and kernel upgrade
- Freeze on Big Sur using the new ESP.qcow2 resolved
References
License
This repository is licensed under the MIT License. See LICENSE for the full license text.