Migrated Rocky Linux -8 VM from VMWare to XCP-ng and now will not boot
-
Hi Team
I am new to XCP-ng and am on the latest release.
Migrated Rocky Linux VM from VMWare to XCP-ng using the import option in XO and now will not boot.
It shows the initial rocky Linux banner for more than 3 minutes and finally comes to the root prompt and only command I can run is the list "ls -l"Request the experts to guide me here.
-
@venkatm Which firmware is the VM using to boot, BIOS or UEFI? Are you ending up in the dracut emergency shell?
-
Used UEFI for booting. This is a working VM in VMware platform.
Yes its going to safe mode -
Hi.
Can you try to have a VM setup within XenOrchestra and then use Clonezilla to get the machine over?
Power down the Rocky Linux VM, boot from a Clonezilla ISO and do the same thing on a VM in XOA.You should make sure to have at least the same or a little greater amount of storage on the new VM on XOA
as it was on the VMWare platform before starting the clone.Just to have a fallback option in case the XOA import mechanism has a problem.
Best regards,
Marc -
It's likely because your Rocky, during install, did not add the Xen PV drivers. For example in here, before migrating: https://docs.xcp-ng.org/installation/migrate-to-xcp-ng/#-from-kvm-libvirt
-
Plus one for Clonezilla here, has worked for me migrating Rocky from various hypervisors to xcp-ng.
-
@itservices tried it , disk was detected but copy of data failed and process ended in minutes.
-
Echoing what @olivierlambert mentioned. I migrated a number of Almalinux VMs and they too would not boot until adding the Xen PV drivers.
-
Did you try to match drive size from source to xcp-ng? That gave me issues before, when drives on xcp-ng was a bit to small.
-
@iLix The sizing of the VM in XCP-NG was bigger compared to the source
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login