Jump to content

[RESOLVED] Error creating OXS VM


VelcroBP

Recommended Posts

I'm attempting to create an OSX Yosemite VM using the tutorial provided by SpaceinvaderONE on Youtube. I'm receiving an error when trying to edit the .XML stating "VM creation error - Cannot check QEMU binaary /usr/local/sbin/qemu: No such file or directory". I've attached the .XML.

<domain type='kvm'>
  <name>mooMACedit</name>
  <uuid>f5190441-f361-f786-3c88-f8fd367d207a</uuid>
  <description>OSX Yosemite</description>
  <metadata>
    <vmtemplate name="Custom" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>12582912</memory>
  <currentMemory unit='KiB'>12582912</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='5'/>
    <vcpupin vcpu='6' cpuset='6'/>
    <vcpupin vcpu='7' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-2.3'>hvm</type>
    <loader type='pflash'>/usr/share/qemu/ovmf-x64/OVMF-pure-efi.fd</loader>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='8' threads='1'/>
  </cpu>
  <clock offset='utc'>
     <timer name='rtc' tickpolicy='catchup'/>
     <timer name='pit' tickpolicy='delay'/>
     <timer name='hpet' present='no'/>
   </clock>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
     <emulator>/usr/local/sbin/qemu</emulator>
     <disk type='file' device='disk'>
       <driver name='qemu' type='raw' cache='writeback'/>
       <source file='/mnt/user0/vmISO/Yosemite/yosemite.img'/>
       <target dev='hdc' bus='sata'/>
       <boot order='1'/>
       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
     </disk>
     <controller type='usb' index='0' model='ich9-ehci1'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
     </controller>
     <controller type='usb' index='0' model='ich9-uhci1'>
       <master startport='0'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
     </controller>
     <controller type='usb' index='0' model='ich9-uhci2'>
       <master startport='2'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
     </controller>
     <controller type='usb' index='0' model='ich9-uhci3'>
       <master startport='4'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
     </controller>
     <controller type='sata' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
     </controller>
     <controller type='pci' index='0' model='pcie-root'/>
     <controller type='pci' index='1' model='dmi-to-pci-bridge'>
       <model name='i82801b11-bridge'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
     </controller>
     <controller type='pci' index='2' model='pci-bridge'>
       <model name='pci-bridge'/>
       <target chassisNr='2'/>
       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
     </controller>
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
     </controller>
     <interface type='bridge'>
       <mac address='52:54:00:51:66:48'/>
       <source bridge='br0'/>
       <model type='e1000-82545em'/>
       <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
     </interface>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
       <listen type='address' address='0.0.0.0'/>
     </graphics>
     <video>
       <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
     </video>
     <memballoon model='none'/>
   </devices>
   <seclabel type='none' model='none'/>
   <qemu:commandline>
     <qemu:arg value='-device'/>
     <qemu:arg value='usb-kbd'/>
     <qemu:arg value='-device'/>
     <qemu:arg value='usb-mouse'/>
     <qemu:arg value='-device'/>
     <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'/>
     <qemu:arg value='-smbios'/>
     <qemu:arg value='type=2'/>
     <qemu:arg value='-cpu'/>
     <qemu:arg value='Penryn,vendor=GenuineIntel'/>
   </qemu:commandline>
 </domain>

VM Creation error- QEMU Binary - no such file or directory.JPG

Link to comment

Well I upgraded to unRaid 6.3.5 and that seems to have resolved the first issue. I can now boot the VM!

 

However, when connecting via VNC the screen is tiled and distorted, making any further configuration (or launching of Splashtop or NoMachine) impossible. 

 

 

VM Creation error- tiled distorted diplay.JPG

Link to comment
1 hour ago, VelcroBP said:

Well I upgraded to unRaid 6.3.5 and that seems to have resolved the first issue. I can now boot the VM!

 

However, when connecting via VNC the screen is tiled and distorted, making any further configuration (or launching of Splashtop or NoMachine) impossible. 

 

 

VM Creation error- tiled distorted diplay.JPG

 

 

change the video resolution in the bios back to like 800x600 or something.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...