Andrewch

Members
  • Posts

    71
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Melbourne, Australia

Recent Profile Visitors

1163 profile views

Andrewch's Achievements

Rookie

Rookie (2/14)

2

Reputation

  1. So did you remove that vfio code and still doesn't boot? Yes I've removed it and I still get no output to my display. Reading back through the thread I should have explained myself better. The VM starts but I get no output to my monitor. It started as soon as I replaced the windows iso but no output to the monitor. The other code may be passing through my pci usb controller but ill have to get the diagnostics when I get home. Thanks again
  2. I'm almost certain I did as I followed the Spaceinvader tutorial but I set it up about 1 year ago and all was working fine. This is the code for a second physical DVD drive that was passed through. It needed some XML modification because I wanted 2 DVD drives connected to the VM. I have since removed one of these drives from the case but the XML remained unchainged. I think that may be part of the problem. Ive tried to remove the above code but that still doesnt work. I was assisted to get ther two drives running on the below thread but I cant work out how to reverse it or even determine if this is the problem. https://forums.unraid.net/topic/87852-passthrough-2x-dvd-drives/?tab=comments#comment-817477 I also tried copying my original XML from the post I just linked but I get this error XML error: unable to parse mac address 'XX:XX:XX:XX:XX:XX' Sorry, I'm not understanding here: did you remove the dvd drive from your pc, or did you delete the dvd drive from the xml, or...? All good, Yes I removed the actual drive from the PC I have another VM that works fine so I know the hardware is working. I just want to get the data from this Windows install. Thanks
  3. What error? When I open VNC and dont press any buttons it ends at a command line saying "Shell>" Alternatively I press any key and boot from CD/DVD and the Windows installation gives me the option to repair or install. Repair has the following options: Startup repair - Says "Startup Repair couldnt repair your PC. No other options other than to return to the UEFI Firmware settings - Havent tried it, im not sure its relevant Command Prompt - Dont know what to do here System Restore - Asks me to specify "which Windows installation to restore. Restart this computer, select operating system and select system restore" Uninstall updates - Havent tried System image recovery - Asks me to locate a restore image. I dont know how to use this in this circumstances Fresh install asks me if I want to upgrade and keep all data (yes) or fresh install (no). When I select "upgrade and keep all data" it says it cannot do this from the iso and I need to boot into Windows and upgrade from there. Something should have changed, otherwise you would be able to boot. Yes you're right. I have removed a physical DVD drive which was added as a second drive through modifying the XML. Im guessing that that may be the issue although I dont know how to delete that drive from the XML. Ive attached my xml. Thanks <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10 dvd</name> <uuid>65adcf44-3643-6cc9-6abb-60fa0ad89df5</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>16777216</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>6</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='4'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='5'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='6'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/65adcf44-3643-6cc9-6abb-60fa0ad89df5_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='3' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <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/user/domains/Windows 10 dvd/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Chris/Purchased Programs/Setup files/Windows 10.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Chris/Purchased Programs/virtio-win-0.1.118-2.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <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> <interface type='bridge'> <mac address='xx:xx:xx:xx:xx:xx'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <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='0x02' function='0x0'/> </video> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain>
  4. Can anyone assist? Essentially, I deleted the Windows iso that I used to install the VM and when I went to restart the VM I received the error that the iso is missing. After getting another iso the VM won't boot and just goes to the windows boot troubleshooting screen and I can't get it to "repair the installation" Nothing else has changed in the vm or its data. Any ideas?
  5. Also, when I go through the Windows Boot troubleshooter and select to reinstall but keep all the data it just gives me an error.
  6. Hi all, I recently tried to start my VM's but couldn't because I had deleted the Windows 10.iso. I redownloaded the iso and pointed the VMs to it but it will not boot into windows, it just goes straight to the Windows troubleshooter. This only happens through VNC, I can't get the graphics card pass through to display anything at all. I dont believe anything else has changed except for deleting the Windows Install iso. The VM disks are all still there so I don't think there's any data lost. Any idea how I can boot back into my VM's?
  7. You've gone above and beyond mate. When I was researching NAS OS's a decade ago this forum/community was a big factor in my decision to choose Unraid. I'm pleased that I can still say the same today.
  8. Yes they both work now. Much appreciated. I wish I understood why! Thanks
  9. Mate, you're a legend! That got [2:0:0:0] working. I tried flying solo to get [6:0:0:0] going. I added the following just above the membaloon line </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </hostdev> but it returned the following error. "XML error: Attempted double use of PCI Address 0000:00:0a.0" Any idea what I should change to get this one going? Thanks again
  10. Please find attached. It's all working in this configuration just not the 2 DVD drives. Thanks I think its back to the original code before I started mucking around. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10</name> <uuid>04f4bb29-ff9b-a34e-3b84-113bebd8c6da</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>16252928</memory> <currentMemory unit='KiB'>16252928</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>6</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='4'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='5'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='6'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='3' threads='2'/> </cpu> <clock offset='localtime'> <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/user/domains/Windows 10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Chris/Purchased Programs/Setup files/Windows 10.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/Chris/Purchased Programs/virtio-win-0.1.118-2.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='scsi' index='0' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </controller> <controller type='scsi' index='1' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> </controller> <controller type='scsi' index='2' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <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> <interface type='bridge'> <mac address='XX:XX:XX:XX:XX:XX'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <hostdev mode='subsystem' type='scsi' managed='no'> <source> <adapter name='scsi_host2'/> <address bus='0' target='0' unit='0'/> </source> <readonly/> <address type='drive' controller='1' bus='0' target='0' unit='0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain>
  11. Thanks mate, Tried that and get this error when I save: XML error: Multiple 'scsi' controllers with index '1'
  12. So I added the above code to the xml before </devices> and the DVD drive still did not appear in the VM. I changed the host number to "2" and tried setting the controller value to '0', '1' and '2' but still the DVD drive didn't register in the VM. I checked the device manager each time and the drive was not present. I also upgrade to the latest stable (6.8.2) which also did not resolve the issue. The drives do appear in the BIOS and are connected directly to the motherboard. There doesn't seem to be many threads about passing through a SATA connected optical drive to a VM leading me to think that I'm doing something wrong. I imagined that after connecting them I would be able to select them from the VM template but they don't appear there either. Does anyone else have a SATA connected optical drive passed through to their VM?
  13. Hi all, Trying to pass these two drives through to my VM. [2:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223C SB05 /dev/sr0 [6:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223B SB01 /dev/sr1 I see some threads where people have used the code below to get 1 drive going. Can anyone assist me by telling me where I need to copy this to and also how I edit it for two drives? I assume I need to change the host number for starters. Thanks <hostdev mode='subsystem' type='scsi' managed='no'> <source> <adapter name='scsi_host3'/> <address bus='0' target='0' unit='0'/> </source> <alias name='hostdev0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </hostdev>
  14. Just realised how old my HDDs are. Still running basically the same setup since first built but unraid has so many more features now. Good work all.
  15. HDMI over Ethernet is definitely a way to do it but in my case (as mentioned) it would be expensive. Especially for something that I don't really need - just really want! 😁 Maybe cheap android boxes using RDP??? I don't have any experience with RDP so can't say if that would be any good.