dubbly Posted April 25, 2020 Share Posted April 25, 2020 (edited) I have some old windows XP based music software and files that I created a long time ago. They won't run on windows 7. So, I am trying to get an XP VM based on a Windows XP SP3 to run but am struggling. I have tried a number of virtIO drivers and but every time it halts at "Booting from hard drive" and pegs a single cpu at 100% until force shut down. Suggestions and help is appreciated. Logs and Images below: Edited April 25, 2020 by dubbly image size Quote Link to comment
rachid596 Posted April 25, 2020 Share Posted April 25, 2020 (edited) hello, Try to change vdiisk bus to ide or sata and assign 2 core to the VM Edited April 25, 2020 by rachid596 Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 (edited) 7 hours ago, rachid596 said: hello, Try to change vdiisk bus to ide or sata and assign 2 core to the VM Made some progress based on assistance from rachid596 and also gareth_iowc. The XP VM now appears to boot the ISO and begin installing. However, I now get a blue screen right when it says "starting windows," see the image below. After the blue screen I need to force quit the VM. Then it WILL NOT boot/install again. In that see is "booting from HDD" with no action. I can destroy the VM and setup new and end up in the same loop. Screen shots and config file below. I wonder if my XP SP3 ISO is somehow corrupted or the HDD doesn't function. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows XP</name> <uuid>557a0dec-0d49-bffd-94f1-3b3910ced0b5</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows XP" icon="windowsxp.png" os="windowsxp"/> </metadata> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='1'/> <vcpupin vcpu='1' cpuset='5'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='6'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type> </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'> <topology sockets='1' cores='2' 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='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/Windows XP/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso'/> <target dev='hda' bus='sata'/> <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/isos/virtio-win-0.1.160-1.iso'/> <target dev='hdb' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows XP/vdisk1.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='pci' index='0' model='pci-root'/> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:45:e7:cd'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 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> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> </domain> This is just before the blue screen: Blue Screen: This is what I see if I restart after the blue screen. Edited April 25, 2020 by dubbly corrected XML Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 try reducing the number of CPU cores to just 1 for the setup process. 1 Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 6 minutes ago, meep said: try reducing the number of CPU cores to just 1 for the setup process. Thank you for the suggestion. Just tried reducing to a single core and experienced the same issue. Any other ideas? Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 You could try rebuilding the VM using Q35 rather than i440 machine type. That's got me out of a few pickles in the past. Have you selected your target install disk by this point? It's been a while since I did an XP install? Was there an opportunity to load custom drivers before this point? You might need to load vistor and other drivers from the viirtio iso? Beyond that, I'd be stumped. Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 I can try Q35. Yes, there is an opportunity to load drivers. I am just not sure what to load. I will see if I can show a screen shot of the options. Thanks Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 (edited) When you have the opportunity to load drivers, take it! You need to follow the driver installation sequence described here; http://lime-technology.com/wiki/index.php/UnRAID_6/VM_Management#Step_5:_Install_the_VirtIO_drivers_from_inside_the_VM_.28Windows_Guests_Only.29 That's actually for post-OS-install updates, but you my be getting that BSD because Windows Setup doesn't have drivers for some of your VM devices. You need to load the relevant drivers from the ISO as part of the setup process. (you need to do this for Win10, why not XP?) That page specifically indicates that the viostor drivers should be installed last. You'll need to load Balloon, NetKVM and vioserial drivers first, then viostor. You do them one at a time, so its a bit repeditive. Edited April 25, 2020 by meep Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 (edited) Actually, here's the correct guide for drive install during the setup process; https://wiki.unraid.net/index.php/UnRAID_Manual_6#Loading_the_VirtIO_Drivers_During_Installation Edited April 25, 2020 by meep Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 Q35 didn't solve the problem However, pressing F6 while loading brought up the following screen (see image). It seems that it can't find a mass storage device to save to. At least that is how I read it. Pressing S resulted in no additional drivers found. I wasn't able to see a way to load the drivers. This seems like progress. Suggestions? Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 1 minute ago, meep said: Actually, hers the correct guide for drive install during the setup process; https://wiki.unraid.net/index.php/UnRAID_Manual_6#Loading_the_VirtIO_Drivers_During_Installation Ohhh... I have always started with the spaceinvader one's videos. Good suggestion on the docs! Reading now. Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 More good news. I found this for you; https://www.raymond.cc/blog/install-xp-setup-did-not-find-any-hard-disk-drives-installed-in-your-computer/ It looks lies WinXP doesn't support SATA for install, and VIRTIO is causing a problem for you. Also, it seems that the drivers need to be on floppy (!) or USB, so likely why pressing 'S' results in no dice. Try setting your primary vDisk bus to IDE specifically. Or see if you can follow the instructions oin the above article. Good luck! Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 (edited) For some reason I am not able to find a way to open an load the drivers in XP setup. Pressing F6 should work as shown in the image above. However, no options exist to load drivers when I press S. I wonder if I need to add a virtual floppy drive. Edited April 25, 2020 by dubbly clarity update Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 8 minutes ago, dubbly said: For some reason I am not able to find a way to open an load the drivers in XP setup. Was the article above no help? set primary vDisk bus to IDE then, and see how that goes.... Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 30 minutes ago, dubbly said: clarified above. The issue is that the VirtIO drivers on the ISO aren't available to install. I wonder if I need to add a virtual floppy or something. It keeps asking for one. Yes, it seems XP needs a floppy at that point, or a USB spoofed as a floppy. Did you try to et primary vDisk bus to 'IDE' in VM config? Quote Link to comment
dubbly Posted April 25, 2020 Author Share Posted April 25, 2020 Ahh... I somehow missed your post about the floppy! I read it and also found the following which was the key. I followed the instructions and blam! Thank you so much for your suggestion. It was key. 1 Quote Link to comment
meep Posted April 25, 2020 Share Posted April 25, 2020 Result! Well done on the perseverance. Quote Link to comment
alicecantsleep Posted July 14, 2020 Share Posted July 14, 2020 Does anyone have a link to a valid copy of viostor-31-03-2010-floppy.img? The site hosting changed to a .org and none of the old stuff is available. Maybe someone can post and share their copy? Quote Link to comment
Luckyjoe Posted February 18, 2021 Share Posted February 18, 2021 On 7/14/2020 at 11:17 PM, DeathByDentures said: Does anyone have a link to a valid copy of viostor-31-03-2010-floppy.img? The site hosting changed to a .org and none of the old stuff is available. Maybe someone can post and share their copy? Found it on the Wayback Machine if anyone needs it. https://web.archive.org/web/20151212170347/http://www.linux-kvm.com/sites/default/files/viostor-31-03-2010-floppy.img 2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.