Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arindas/mac-on-linux-with-qemu
Runs macOS on linux with qemu.
https://github.com/arindas/mac-on-linux-with-qemu
hackintosh qemu virtualization
Last synced: 14 days ago
JSON representation
Runs macOS on linux with qemu.
- Host: GitHub
- URL: https://github.com/arindas/mac-on-linux-with-qemu
- Owner: arindas
- License: mit
- Created: 2021-07-22T11:40:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T12:43:16.000Z (over 2 years ago)
- Last Synced: 2024-12-06T11:21:35.294Z (27 days ago)
- Topics: hackintosh, qemu, virtualization
- Language: Python
- Homepage:
- Size: 18 MB
- Stars: 200
- Watchers: 10
- Forks: 17
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mac-on-linux-with-qemu
![screenshot](./assets/screenshot.png)[![License: MIT](https://img.shields.io/github/license/arindas/mac-on-linux-with-qemu)](https://opensource.org/licenses/MIT)
![Repo size](https://img.shields.io/github/repo-size/arindas/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`](./run.sh)
## How does it work?
- [`./fetch-macos.py`](./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`](./create-virtual-disk.sh)
- We install macOS to qemu using the given image. [`./install-macos.sh`](./install-macos.sh)
- We provide a custom launcher script to launch qemu with the correct settings. [`./launch-macos.sh`](./launch-macos.sh)## Closed issues solving relevant tasks
- [Xcode and usb iphone passthrough for ios App development](https://github.com/arindas/mac-on-linux-with-qemu/issues/25)## Closed issues solving common problems
- [archlinux: virtio-vga support lost after qemu and kernel upgrade](https://github.com/arindas/mac-on-linux-with-qemu/issues/24)
- [Freeze on Big Sur using the new ESP.qcow2 resolved](https://github.com/arindas/mac-on-linux-with-qemu/issues/21)## References
- https://github.com/popey/sosumi-snap## License
This repository is licensed under the MIT License. See [LICENSE](./LICENSE) for the full license text.