Migrate from Xen / pvgrub

bastien_durel

Member
Jan 22, 2020
3
0
6
42
Hello,

I'm migrating from a Xen host, where most VM are paravirtualized linux with each partition as a disk image.
I've moved the images on the proxmox host, imported them with `qm importdisk` but as I don't have any MBR, the VMs won't boot past bios ...

Is there a trick to make them boot ?

thanks,

--
Bastien
 
I migrated only a couple of PV machines. Can you install kernel inside them ,and the grub?
If not,maybe try with live cd , mount the partitions and try again.
 
I've build a small (500 Mb) disk with MBR and 1 (/boot) partition with grub installed in, and default debian kernel booting on /dev/vda that I copied on every VM (as scsi0), each VM boots on this disk, and after boot I've mounted the /dev/sda1 on /boot, fixed fstab (/dev/xvda1 -> /dev/vda, xvda2 -> vdb, etc.) and re-generated grub config file
 

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!