Boot failed with imported VM

dpayet

Member
Jun 19, 2019
11
0
21
43
Hello everybody,

i have a qemu virtual machine with virsh on an old dedicated server. I have to move it on a new server and when I start the new VM, it fails at boot.

What i did :

- [old server] in /etc/libvirt/qemu/host.xml i have a disk (type file) with file='/var/lib/libvirt/images/host.img'/
- I do a scp to copy the disk in the proxmox server
- I import the disk into the VM by a 'qm importdisk 304 host.img local'
- In Promox GUI I double-click on the unused disk and add it to the VM
- boot the VM and I have the message :

Code:
mkrootdev: label / not found
mount: error 2 mounting ext3
mount: error 2 mounting none
Kernel panic

The OS is a Red Hat Entreprise ES 2.6..9

What i do wrong ? For information, I have shutdown the old VM in order to copy the disk, and it reboots fine on the old server.

Thanks in advance for your help !