kvm installed in the Apple system

root@slave-2:~$ cat /etc/issue
Ubuntu 18.04.2 LTS \n \l
root@slave-2:~$ uname -r
4.18.0-25-generic

Installation tools
apt -y install qemu uml-utilities virt -manager dmg2img git wget
View qemu version (qemu> 2.11.1)
qemu-img -V
Installation Preparation
echo 1> / sys / module / kvm / parameters / ignore_msrs # temporary modification
permanently modifying cp kvm.conf /etc/modprobe.d/ #
# cloning project
Git clone [email protected]: kholia / OSX-KVM.git
CD-OSX the KVM /

# Select the desired macOS version, after performing this step the base system image file should be placed in the current directory

Set up networking:

ip tuntap add dev tap0 mode tap
ip link set tap0 up promisc on
ip link set dev virbr0 up
ip link set dev tap0 master virbr0
注意:如果virbr0系统上没有网络接口则可能已将其停用。尝试使用以下命令启用它
virsh net-start default
virsh net-autostart default

如果上面的操作都顺利的做了下来则已准备好安装MacOS......下面开始安装MacOS系统

 

Guess you like

Origin www.cnblogs.com/smlile-you-me/p/11209132.html