May 17, 20251 yr I am running 7.1.2. I have tried to install Alma 9.2, Fedora Kenoite 42, Mint 22 and Ubuntu 24.04 in a VM. I keep getting "Requires Guest agent installed" and fails. I have not tried to install a VM in 7.1 until today but my Home Assistant VM that was there before I upgraded works just fine. The screen shot is an example of what is shown in the VNC console for Alma. Attached is also the XML. I appreciate any assistance. XML.txt Edited May 17, 20251 yr by M8trix
May 17, 20251 yr the panic issue needs solved first. Please attach a unriad diagnostic the Quote "Requires Guest agent installed" is a 3rd party package looking for the qemu agent applicaition. Linux On Linux you have to simply install the qemu-guest-agent, please refer to the documentation of your system. We show here the commands for Debian/Ubuntu and Redhat based systems: on Debian/Ubuntu based systems (with apt-get) run: apt-get install qemu-guest-agent and on Redhat based systems (with yum): yum install qemu-guest-agent Depending on the distribution, the guest agent might not start automatically after the installation. I can install ubuntu fine on 7.1.2 so this tell ms me that either you have a vm misconfiguration or a xml setup issue. what option did you chose or didn't choose? at the installer screen did you run additional options? Is this a vm made else where and imported?
May 17, 20251 yr Author I used the default RedHat Template for Alma and Fedora. I used the Ubuntu default template for Mint and Ubuntu. The install with all 4 distro's fails and I am unable to get command line access. I used the ISO for each of these VMs from the individual distro website. zion-diagnostics-20250517-1042.zip Edited May 17, 20251 yr by M8trix
May 17, 20251 yr Solution Thank you for providing the diag file in it is the xml used for the vms... you may need to use the generic linux option when making a vm otherwise, lets review the xml directly as there are some problems. as the issue are that the vm is kernel panicking at boot... On unraid In your Mint VM in the .xml Lets review some small things to look at and edit... AS this VM has some issues... as You have a memory mismatch among other thing to look at... 1. Memory Mismatch <memory unit='KiB'>8388608</memory> <!-- 8 GB defined --> <currentMemory unit='KiB'>1048576</currentMemory> <!-- Only 1 GB active --> These should match. The VM is being limited to only 1 GB of usable RAM, which is too low for modern Linux distros and could lead to kernel panics or failure to boot. <currentMemory unit='KiB'>8388608</currentMemory> set current memory to the memory unit... 2. Your using a old machine type... Machine Type: pc-q35-8.0 <type arch='x86_64' machine='pc-q35-8.0'>hvm</type> While Q35 is usually fine, some distros may be more stable with the default i440fx machine type. Try changing to: Optional fallback: <type arch='x86_64' machine='pc-i440fx-8.0'>hvm</type> 3. the (vnc/spice vm generated driver for display...) Video Model: QXL <model type='qxl' ram='65536' vram='16384' vgamem='16384' heads='1' primary='yes'/> QXL can cause problems, especially if guest additions or spice tools aren't properly installed. For better compatibility, switch to: <model type='virtio'/> Or even more compatible: <model type='vmvga'/> 4. potential bus disk incompatibility <target dev='hdc' bus='virtio'/> VirtIO is good for performance but needs drivers in the installer. Try using sata for easier compatibility (especially in install phase): <target dev='sda' bus='sata'/> setting sata can help get tot he terminal of a host VM to install the qemu guest agent and other qemu kvm addons... 5. CPU Passthrough Mode as it looks like you went passthoguh mode... <cpu mode='host-passthrough' check='none' migratable='on'> This can cause instability with newer kernels or on systems with specific microcode. Try host-model first: <cpu mode='host-model' check='partial'> other vm general notes and testing: -Try Minimal ISO: Use Ubuntu Server or Fedora Netinstall ISO to reduce GUI-related issues. -Test UEFI vs Legacy BIOS: Although UEFI is specified here, some Linux distros still behave better in legacy mode (remove <loader> and <nvram> for BIOS). at the vm screen, I normaly use the defeat Linux options... making some chagnes in teh add configuration... deselct all setting 4 vcpu set inital memory to 4 GB (not this matches and sets max memory... change the vdisk bus to sata... and add my iso and install... up at the top right with edit vm you can go to xml view.. My example defautl linux xml code: Quote <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Linux</name> <uuid>fc44d56e-e4d1-cc9a-0d05-93a46189ba01</uuid> <metadata> <vmtemplate xmlns="http://unraid" name="Linux" iconold="linux.png" icon="linux.png" os="linux" webui="" storage="default"/> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>4</vcpu> <os> <type arch='x86_64' machine='pc-q35-9.2'>hvm</type> <loader readonly='yes' type='pflash' format='raw'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram format='raw'>/etc/libvirt/qemu/nvram/fc44d56e-e4d1-cc9a-0d05-93a46189ba01_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' clusters='1' cores='4' threads='1'/> <cache mode='passthrough'/> </cpu> <clock offset='utc'> <timer name='hpet' present='no'/> <timer name='hypervclock' present='no'/> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> </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' discard='unmap'/> <source file='/mnt/cache/system/VMs/Linux/vdisk1.img'/> <target dev='hdc' bus='sata'/> <serial>vdisk1</serial> <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='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:47:92:29'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' 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' sharePolicy='ignore'> <listen type='address' address='0.0.0.0'/> </graphics> <audio id='1' type='none'/> <video> <model type='qxl' ram='65536' vram='16384' vgamem='16384' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </video> <watchdog model='itco' action='reset'/> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </memballoon> </devices> </domain> And that was just revieing the mint vm first and only... you need to update and fix your vms xml for kvm.qemu to install the other linux distros.
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.