![]() ![]() Exit Disk Utility, choose Reinstall macOS and go through the usual installation steps. First thing you’ll need to do is run Disk Utility and format your virtual drive.ĩ. ![]() Now you can start the installation process. You can do that with your favorite GUI text editor or from the terminal with nano, micro or vim.Ħ. If you can “afford” it, change the default CPU values too. But before we do, let’s edit the OpenCore-Boot.sh and add more RAM ( by default it’s set to use 3 gigs of RAM ).Ĩ gigs should be enough. Also if, for any reason, you want to change the name of the disk image from mac_hdd.img to something else, you’ll also have to update OpenCore-BS.sh to point to the new image name.ĥ. NOTE: You can change the size of the virtual drive. ![]() Run qemu-img create -f qcow2 mac_hdd_ng.img 128G Create a virtual HDD image where macOS will be installed. You can do that by running qemu-img convert BaseSystem.dmg -O raw BaseSystem.imgĤ. When the download is complete you’ll need to convert the downloaded BaseSystem.dmg file into the required BaseSystem.img. Modern NVIDIA GPUs are supported on High Sierra but not on later versions of macOS.ģ. NOTE: Here you can choose which macOS you want to install. When you’re done cloning the git repo, cd into path with cd OSX-KVMĢ. Open terminal and run git clone -depth 1 -recursive. NOTE: Adjust install command and, possibly, packages names according to your distro.Īdd user to the kvm and libvirt groups ( reboot after adding ):ġ. Open the terminal and run: sudo apt install qemu uml-utilities virt-manager dmg2img git wget libguestfs-tools p7zip Internet access for the installation process.A CPU with AVX2 support is required for >= macOS Mojave.A CPU with SSE4.1 support is required for >= macOS Sierra.A CPU with Intel VT-x / AMD SVM support is required.Today we’re going to take a look at how to set up a simple macOS Monterey VM in QEMU, accelerated by KVM. If you’re running a Linux distro as your daily driver, you can still other distros and OS’. At the OpenCore menu, select UEFI Shell > Press Enter.Click console in the left sub-navigation menu.Back in the Proxmox web UI, right click the MacOS12 VM in the left navigation pane > Start.Press CTRL+O, Enter, CTRL+X to write the changes to the conf file.iso files (KVM OpenCore and Monterey) and add cache=unsafe Delete the ,media=cdrom from the two attached.Press CTRL+W and search for ,media=cdrom.conf file:Īrgs: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,check If running on an AMD CPU, add the following line to the bottom of the.conf file:Īrgs: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -cpu host,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc If running on an Intel CPU, add the following line to the bottom of the.# edit the VM conf file, change 1200 to the VM ID for the MacOS12 VM Run the following commands in the terminal.Right click the ProxMox node name > Console. ![]() Set the KVM OpenCore disk as the first boot option > Click OK.Select the MacOS12 VM > Options > Boot Order.Click the MacOS12 VM > Select Hardware from the left sub-navigation menu.On the Network tab, set the Model field to VMware vmxnet3 > Next.On the Memory tab, set the Memory to 4096 > Next.On the CPU tab, set Cores field to 4, Type field to Penryn > Next.On the Hard Disk tab, set the Bus/Device field to VirtIO Block, Disk size field to 64, Cache field to Write back (unsafe) > Next.On the System tab, set the Graphic card field to VMware compatible, BIOS field to OVMF (UEFI), Uncheck the Pre-Enroll Keys checkbox, Check the Add EFI Disk checkbox, Machine field to q35 and the SCSI Controller to VirtIO SCSI > Next.On the OS tab, set the Type field to Other and select the KVM OpenCore.Type MacOS12 in the name field, set the VM ID to 1200 (unless 1200 is in use) > Next.Right click the ProxMox node name > Create VM.Extract the downloaded KVM OpenCore bootloader.Download KVM OpenCore bootloader Download. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |