
Immediately after selecting the installation language, run " Disk Utility" netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:AB:F8:B7Ĭonnect via VNC to the port specified in the startup script drive id=MacDVD,if=none,snapshot=on,media=cdrom,file=./'Mojave.iso' \ device ide-drive,bus=ide.0,drive=MacDVD \

drive id=MacHDD,if=none,file=./mac_hdd.img,format=qcow2 \ device ide-drive,bus=ide.1,drive=MacHDD \ drive id=Clover,if=none,snapshot=on,format=qcow2,file=./'Mojave/Clover.qcow2' \ device ide-drive,bus=ide.2,drive=Clover \

device ich9-intel-hda -device hda-duplex \ drive if=pflash,format=raw,file=OVMF_VARS-1024x768.fd \ drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \ device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \ usb -device usb-kbd -device usb-tablet \ To get the following: qemu-system-x86_64 -vga std -nographic -vnc :1 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\ Where 1 – screen numbers, 1 – corresponds to port 5901. Since we have Ubuntu without a graphical shell, we need to add the following options for forwarding an image via VNC: -vga std -nographic -vnc :1 We are interested in the script " boot-macOS-Mojave.sh" in the root of the repositoryĬorrect the name and, if necessary, the path to the ISO image. Now on the host machine we also need the following repository: git clone Ĭopy our ISO image directly to the root of the downloaded repository.Ĭreate a disk for a future virtual machine: qemu-img create -f qcow2 mac_hdd.img 128G
#MACOS MOJAVE DOWNLOAD ISO INSTALL#
Install all necessary packages: apt install -y qemu qemu-kvm libvirt0 virt-manager bridge-utils libvirt-daemon-system libvirt-clients uml-utilities libguestfs-toolsĬreate interface " tap0" ip tuntap add dev tap0 mode tap If the match is " 0" – does not support, if non-zero, it supports.Įnable forwarding packages: vim /etc/nf Make sure the processor supports virtualization: egrep -c '(vmx|svm)' /proc/cpuinfo

To run MacOS Mojave, you need a processor with support for sse4.1 and sse4.2 instructionsĪll actions were performed on OS Ubuntu 18.04, CPU: Intel Xeon E3-1270 v6 Upon completion of which, the converted ISO image will appear on the desktop.
#MACOS MOJAVE DOWNLOAD ISO LICENSE#
You will transfer to iTunes, agree with the license agreement, remove all the checkboxes about the update, and choose to download the image.Īfter the download is complete, you need to convert the downloaded image into ISO, for this we will download the repository: git clone Īnd run the script.
