IT/Software/Virtualization/QEMU/OSX-KVM: Difference between revisions

From msgwiki
< IT‎ | Software‎ | Virtualization‎ | QEMU
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The other way with virtualbox is [[IT/Software/Virtualization/Virtual Box|here]].
==Source==
==Source==
https://github.com/kholia/OSX-KVM
https://github.com/kholia/OSX-KVM
Line 6: Line 8:
*All the files are located at ~/.qemu/OSX-KVM/
*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.
*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 to add the network interface:
*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 tuntap add dev tap0 mode tap
**sudo ip link set tap0 up promisc on
**sudo ip link set tap0 up promisc on
**sudo ip link set dev virbr0 up
**sudo ip link set dev virbr0 up
**sudo ip link set dev tap0 master virbr0
**sudo ip link set dev tap0 master virbr0
*Or you can run them all at one time by running from withing the .qemu directory
<code>./qemuNetworking.sh </code>
===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.

Latest revision as of 07:49, 24 February 2020

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.