Tried it again, it just breaks the boot.

After a lot of firefighting found that elrepo kernel-lt doesn't have `xfs` in initramfs image and it fails mounting the lvm which uses xfs

# lsinitrd /boot/initramfs-4.18.0-240.1.1.el8_3.x86_64.img | grep xfs.ko
-rw-r--r--   1 root     root       442760 Aug 11  2020 usr/lib/modules/4.18.0-240.1.1.el8_3.x86_64/kernel/fs/xfs/xfs.ko.xz

Tested kernel-ml and it has the needed xfs module

After installing the new kernel, I needed to copy over the "options" line from /boot/loader/entries/ovirt*.conf to the new one.

Hope this saves a lot of hair pulling for someone.

On Tue, Feb 9, 2021 at 7:23 PM Matthew.Stier@fujitsu.com <Matthew.Stier@fujitsu.com> wrote:

‘Node’ images are just minimal CentOS plus all the packages for this release, in a sub-DVD sized ISO.  Once it is installed, the operating system is still CentOS, and can be patched/modified, including installing alternative kernels.

 

If it fails, boot back to the original kernel, and remove the package from Elrepo, or at worse, re-install.

 

From: Shantur Rathore <rathore4u@gmail.com>
Sent: Tuesday, February 9, 2021 11:11 AM
To: Stier, Matthew <Matthew.Stier@fujitsu.com>; users <users@ovirt.org>
Subject: Re: [ovirt-users] Newer kernel for oVirt Node NG

 

Thanks Matthew,

 

Are you sure about this?

I thought oVirt Node NG images are immutable

 

On Tue, Feb 9, 2021 at 3:42 PM Matthew.Stier@fujitsu.com <Matthew.Stier@fujitsu.com> wrote:

Elrepo.org

 

From: Shantur Rathore <rathore4u@gmail.com>
Sent: Tuesday, February 9, 2021 9:28 AM
To: users <users@ovirt.org>
Subject: [ovirt-users] Newer kernel for oVirt Node NG

 

Hi oVirt Users,

 

I am trying to test some vfio related stuff on oVirt Node NG 4.4.4 based host.

What would be the easiest way to have a 5.x kernel on this node?

I don't mind compiling if it needs to.

 

Cheers,

Shantur