There is now an official Linux Release of checkra1n https://www.youtube.com/watch?v=AS9JS8PuDw0 download here https://checkra.in/
wget https://raw.githubusercontent.com/downthecrop/macOS-Simple-KVM/master/install.sh -v -O install.sh; chmod +x install.sh; ./install.sh
dmesg | grep -E "DMAR|IOMMU"
if no output then enable virtulization in BIOS
lspci -nn | grep -i USB
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
sudo gedit /etc/default/grub
Intel
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash iommu=pt intel_iommu=on vfio-pci.ids=XXXX:XXXX"
AMD
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash iommu=pt amd_iommu=on vfio-pci.ids=XXXX:XXXX"
sudo update-grub
sudo reboot
dmesg | grep -i vfio
Uncomment bottom lines from macOS.sh
using the first number from the lspci -nn | grep -i USB
device you passed through
edit USBmacOS.sh
using the first number from the lspci -nn | grep -i USB
device you passed through
Download macOS.7z Virtual Disk Image: https://drive.google.com/open?id=1EnbopO0On4vZN7X_8zPr-k4EjCTuoQLM
Mirror1: https://mega.nz/#!dJUiUYiB!tnW7nM-oXXfyUs6EPYMLLLzXXauPqlLsB8b_gPs28Dc
Mirror2: https://mega.nz/#!wNZQQYrQ!CZ_Y8ysRIHYMcbOsh3kEAwi-m4g90mAc7vAV_q1Od8U
Note: The VM has NO password. If you need a password to run commands go to System Preferences and replace the empty password on the checkra1n account.
sudo ./USBmacOS.sh
Note: if you get an issue like qemu-system-x86_64: -device vfio-pci,host=00:14.0,bus=port.1,multifunction=on: vfio error: 0000:00:14.0: group 4 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.
You need to unbind multiple groups: https://www.reddit.com/r/jailbreak/comments/dvolsy/comment/f7ei2tp