When I try to install the latest kernel the boot fails because initramfs-5.14.0-570.21.1.el9_6.x86_64.img isn’t found.
When I try to create initramfs it fails with this error
dracut --kver 5.14.0-570.21.1.el9_6.x86_64
Error on line 0 of configuration file
40FC7BD3B87F0000:error:80000002:system library:BIO_new_file:No such file or directory:crypto/bio/bss_file.c:67:calling fopen(/etc/ssh/wdlive-openssl.cnf, rb)
40FC7BD3B87F0000:error:10000080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:75:
40FC7BD3B87F0000:error:07000072:configuration file routines:def_load:no such file:crypto/conf/conf_def.c:179:
dracut: ‘/usr/lib/dracut/ossl-files --config’ does not return a path!!
If it matters this is installed in VirtualBox running in a host that is also running R9, but because of this error I’m reluctant to ungrade the host until I can resolve this problem.
Thanks
Pete
Thanks
I’m trying to ask the right question here because this appears to be the kernel that is part of the rebase of Rocky to verion 9.6. Thus it is part of a large package update to all of the critical system packages. If you are trying to upgrade to this kernel in isolation to the rest of the upgraded system files then that may be the reason for your problem.
Can you elaborate on the Rocky vm origins and installed state?
Did you do the default install or custom partitioning?
Are you using drive encription?
This command will give us an idea of the disk layout
This command will give us an idea of the system origins:
ls -l /lib/modules
I just upgraded my Rocky vm to 9.6 today and had no issues. It is a custom partition layout consisting of one ext4 partition for root and one vfat partition for /boot/efi.
There could be many causes to the error you are seeing so the more background information provided then the more causes we can eliminate.
So it sounds like the real problem was upgrading from 9.5 to 9.6 using dnf upgrade? But the original post doesn’t say that, and “kernel build”, sounds like you are building your own kernel.
OOps my, I didn’t realize/notice that thisI was an upgrade from 9.5 to 9.6 and yes I was just doing a dnf upgrade, as for building a kernel I’ve not built one since fedora 6 and for the life of me I surely don’t remember how to do that, if I did I would have taken a whack at trying that.
I hope that someone can point me in the right direction to fix this if not then I guess I’ll be facing a reinstall which I’d rather not do if I can avoid it.
OK, so it sounds like you did a “normal” dnf upgrade (9.6 was recently released), and maybe something went wrong during that (big) upgrade.
Are you still able to boot with the older kerne? If so perhaps look at the dnf logs from the date / time of the upgrade, look for any errors or warnings. In addition, do ‘dnf check’ as root.