Boot failed with imported VM

dpayet

Member
Jun 19, 2019
11
0
21
41
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 !
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!