December 21, 20241 yr Hi, I did upgrade my CPU and Motherboard for a better one. I forgot to enable VMX in the bios prior to the restart. When I went to the VM tab my VM was stop. Tried to start it and it mention that virtualization is not enable. Before making the reboot to the bios I went to edit the VM to add more CPU when I click apply the VM disappear. How I can retrieve the VM? Thanks Dan
December 21, 20241 yr Author I did recreate a Linux vm and point the virtual disk to the one in the /mnt/user/domains. But when I start the vm and console it it is stuck with a prompt Shell> What I need to do to start it? BTW it is and HASS.IO vm (homeassistant) Thanks
December 21, 20241 yr Community Expert 3 hours ago, lecrote said: I did recreate a Linux vm and point the virtual disk to the one in the /mnt/user/domains. But when I start the vm and console it it is stuck with a prompt Shell> What I need to do to start it? BTW it is and HASS.IO vm (homeassistant) Thanks Normally HA images are qcow2 rather than raw. Check type in the xml is qcow2.
December 29, 20241 yr Author Sorry for the delay I was out for the holiday. I did create the VM manually and install everything manually. Any thought on how to retart it from the shell prompt? Thanks
January 3, 20251 yr Author here is the VM logs: text error warn system array login -device '{"driver":"ide-hd","bus":"ide.2","drive":"libvirt-1-format","id":"sata0-0-2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:85:d5:1e","bus":"pci.1","addr":"0x0"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \ -k en-us \ -device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1e"}' \ -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.4","addr":"0x0"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) qxl_send_events: spice-server bug: guest stopped, ignoring 2025-01-03T17:45:26.853558Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:45:26.883916Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:47:19.855855Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:47:19.953959Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:49:47.101912Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:49:47.134178Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:51:46.651978Z qemu-system-x86_64: terminating on signal 15 from pid 7694 (/usr/sbin/libvirtd) 2025-01-03 17:51:46.834+0000: shutting down, reason=destroyed 2025-01-03 17:52:05.407+0000: starting up libvirt version: 8.7.0, qemu version: 7.2.0, kernel: 6.1.106-Unraid, hostname: SERVER-DAN LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME=/var/lib/libvirt/qemu/domain-6-Linux \ XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-6-Linux/.local/share \ XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-6-Linux/.cache \ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-6-Linux/.config \ /usr/local/sbin/qemu \ -name guest=Linux,debug-threads=on \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-6-Linux/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/b9394ad6-83bf-1088-8b44-017d9a0eed8c_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-q35-7.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,host-cache-info=on,l3-cache=off \ -m 2048 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":2147483648}' \ -overcommit mem-lock=off \ -smp 1,sockets=1,dies=1,cores=1,threads=1 \ -uuid b9394ad6-83bf-1088-8b44-017d9a0eed8c \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=35,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc,driftfix=slew \ -global kvm-pit.lost_tick_policy=delay \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"pcie-root-port","port":11,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x1.0x3"}' \ -device '{"driver":"pcie-root-port","port":12,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x1.0x4"}' \ -device '{"driver":"pcie-root-port","port":8,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x1"}' \ -device '{"driver":"pcie-root-port","port":9,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x1.0x1"}' \ -device '{"driver":"pcie-root-port","port":10,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x1.0x2"}' \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x7.0x2"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.2","addr":"0x0"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/HASS.IO/vdisk1.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.3","addr":"0x0","drive":"libvirt-1-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:85:d5:1e","bus":"pci.1","addr":"0x0"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \ -k en-us \ -device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1e"}' \ -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.4","addr":"0x0"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) qxl_send_events: spice-server bug: guest stopped, ignoring 2025-01-03T17:52:36.632399Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:52:36.694291Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:53:51.033986Z qemu-system-x86_64: warning: no scancode found for keysym 224 2025-01-03T17:53:51.133303Z qemu-system-x86_64: warning: no scancode found for keysym 224
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.