Hey,
I just managed to have a centos 8 booted in PV mode \o/ jeee. So here is what had to be done:
- Installed it in HVM mode using netinstall/cdrom or whatever makes it installed
- During the installation create a separate standalone partition for the /boot using ext3 filesystem on /dev/xvda1. This is important for the xen pygrub loader. If you prefer LVM then it can be on the /dev/xvda2 for the rest. If for some reason you already have the /boot as ext4 then it also works if you backup the partition, recreate it as ext3 and re-run the grub2-install for the disk device like
- Once you have the above the the unable to find partition with the kernel message goes away, however it turns into an invalid kernel message. After some time it turned out that there is only one repository available with the correct kernel configuration for a xen guest operation which is the ELRepo (
https://elrepo.org). This repo can be installed via:
Code: Select all
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
Then the kernel-ml package is ready to be installed with:
Code: Select all
yum --enablerepo=elrepo-kernel install kernel-ml
Once is done remove all the other kernel related files from the /boot directory (including the rescue entry) and leave only the newly installed kernel files (vmlinuz, initramfs) and run
Code: Select all
grub2-mkconfig -o /boot/grub2/grub.cfg
And the system is ready to be rebooted into PV mode, don't forget to remove the builder HVM and to add the bootloader pygrub entries into the xen configuration file for the vm.
So nuttshell, ext3 standalone /boot partition and a compatible kernel from the ELRepo repository.
Hope this helps whoever needs it:)
peace & love