Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VM not booting after moving vdisk to new SSD drive

Featured Replies

I'm in the process of migrating vdisks to a new SSD drive. I'm using Midnight Commander to copy the vdisks to the new location and then remapping the disk in the VM config.

 

After this I try to power on the VM boots in the shell. I've tried exit and then selecting different boot device, but with the same result. This happens if I try to change it back to the old vdisk location as well.

 

Any suggestions?

 

Thanks in advance.

 

image.thumb.png.0a7fa11cab713ef878de857085b25a66.png

  • 3 weeks later...

I have the same problem. : /

Can help anybody?

guys...without logs/diagnostics it's nearly impossible to reply with consistent advices.

The fact that you boot into a uefi shell, if I read what you posted can be everything...error in configuration, wrong type of disk type, wrong bios (ovmf vs seabios), corrupted vdisk, etc.

Always attach diagnostics because without it and a proper description of the issue nobody will care to reply.

Sorry.
In itself, of course, correct.
I assumed that you might have to approach the setting differently for Linux in general.
I have had the same case with a Windows VM, there it worked without problems.

 

ErrorWarningSystemArrayLogin


-smp 8,sockets=1,dies=1,cores=4,threads=2 \
-uuid 165679af-6cdc-3eac-0deb-4b607e9a216e \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=34,server,nowait \
-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 pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 \
-device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 \
-device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \
-device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
-device pcie-root-port,port=0x14,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 \
-device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x7.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
-blockdev '{"driver":"file","filename":"/mnt/cache/domains/ExtDocker/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 virtio-blk-pci,bus=pci.3,addr=0x0,drive=libvirt-1-format,id=virtio-disk2,bootindex=1,write-cache=on \
-netdev tap,fd=36,id=hostnet0 \
-device virtio-net,netdev=hostnet0,id=net0,mac=52:54:00:01:3d:3e,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=37,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-vnc 0.0.0.0:1,websocket=5701 \
-k de \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.4,addr=0x0 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2022-01-02 16:45:49.876+0000: Domain id=30 is tainted: high-privileges
2022-01-02 16:45:49.876+0000: Domain id=30 is tainted: host-cpu
char device redirected to /dev/pts/4 (label charserial0)

 

 

Edited by Patty92

3 minutes ago, Patty92 said:

I have had the same case with a Windows VM, there it worked without problems.

Can you attach diagnostics file?

With that file we can have (hopefully) a more clear vision of what is happening because we can see what is your hardware, thees address, the logs, the xml of the vms, most of the time all that it's needed to fix a user error.

Since I do not know exactly what you need, I once provided the whole archive.

 

Edited by Patty92

I have attached 2 more pictures.
In the first picture you can see that the vdisk is not booted.
In the second picture I called the menu inside the VM and selected "Boot from File", then the whole thing works.
Unfortunately, I do not know how I can change the whole thing so that the whole thing works automatically.

 

 

Boot1.png

Boot2.png

7 hours ago, Patty92 said:

In the first picture you can see that the vdisk is not booted.
In the second picture I called the menu inside the VM and selected "Boot from File", then the whole thing works.

It happened to me with my linux vm too, I needed to add a boot entry in ovmf to boot from file.

For the second case, are you saving the boot from file option (choosing the boot file and adding a description)?When doing this the entry should be saved in OVMF_VARS and it should be persistent.

Check also the Boot Manager option, as far as I can remember I needed to change also the boot order, after making the new boot entry (boot from file).

Edited by ghost82

Thanks for your help.
Creating a new boot option (boot from file) and saving it brought the desired success.

The boot order had to be changed, that is correct.

I hope this helps @Daryl Williams too.

  • 2 years later...

Thanks, had the exact same problem, adding a boot entry and chaning the boot order fixed this!

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.