IT/Software/Virtualization/QEMU/OSX-KVM

From msgwiki
< IT‎ | Software‎ | Virtualization‎ | QEMU
Jump to navigation Jump to search

The other way with virtualbox is here.

Source

https://github.com/kholia/OSX-KVM

MSGCNX MacOS Install

  • All the files are located at ~/.qemu/OSX-KVM/
  • Inside that folder is a script called boot-macOS-NG.sh which can be run to boot the VM.
  • If you need networking in the VM you can run the following four commands on the host to add the network interface:
    • sudo ip tuntap add dev tap0 mode tap
    • sudo ip link set tap0 up promisc on
    • sudo ip link set dev virbr0 up
    • sudo ip link set dev tap0 master virbr0
  • Or you can run them all at one time by running from withing the .qemu directory

./qemuNetworking.sh

Caveats

  • You will need to create an Apple ID
  • Once done you can try to login from the computer and it will work
    • BUT it will say acocunt reached
      • This did work for the first three blokes that ran this VM!!!
  • The APP store does not work either.
  • But it is relatively snappy.