Pour démarrer macOS sur Linux, il existe 2 solutions :
Avec mac-on-linux-with-qemu
Il existe ce dépôt Github qui permet de démarrer macOS en une seule ligne de commande à condition d'avoir les prérequis suivants :
# Arch Linuxsudo pacman -Syy qemu python-click qemu-ui-gtk qemu-ui-sdlyay -S --noconfirm dmg2img# Debian, Ubuntusudo apt install -y qemu-kvm dmg2img pulseaudiosudo pip install -U clicksudo ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu
Une fois installé exécuter la commande run.sh
:
git clone https://github.com/arindas/mac-on-linux-with-qemucd mac-on-linux-with-qemu./run.sh
noteChoose Disk Utility and then select the largest Apple Inc. VirtIO Block Media disk.Click the Erase button to format the disk to APFS, and give it any recognizable name you like.
CTRL
+ ALT
+ G
pour sortir de la VM.
Avec QuickEmu
Vous pouvez aussi utiliser Quickemu :
yay -S --noconfirm quickemu qemu qemu-ui-gtk qemu-ui-sdlquickget macos catalinaquickemu --vm macos-catalina.conf
Une fois macOS démarré, supprimez la partition Apple Inc. VirtIO Block Media
puis lancez l'installation.
Références :