I have recently upgraded to F44 and through updates I see that kernel 7.0.4 is installed. When rebooting I see a short error message at the start-up screen and the kernel 6.19.14-300 is booted.
I see no other error messages and I cannot find other error messages after boot is completed.
Does anyone have an idea of how to proceed to find out why the new kernel does not start?
You do not have an initial ram filesystem built; note there is no initramfs for version 7.0.4 - only for version 6.19.14.
This is why the boot fails immediately.
Rebuilding one can be achieved with sudo dracut --kver 7.0.4-200.fc44.x86_64 but the more important thing to ascertain is why it’s not there in the first place. The usual suspect is lack of space, so please post the output from df -h /boot.
If there is sufficient space then we can run dracut manually to recreate the ram disk, but if not it’ll just fail again so we’ll need to come up with an alternative plan.
a few upgrades back I ran out of /boot or /boot/efi space. My solution has been to delete the oldest kernel before installing a new one.
I do not know why this happened, but I have read somewhere that something called “bignumbers” or thelike came in at some point. There seems to be solution to this, but I have so far not found it.
Anyway, here is the output. Two kernel versions installed.
df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 943M 534M 345M 61% /boot
That looks like you should have enough space (345 MB) to create the 7.0.4 initramfs based on the size of the 6.19 initramfs you have installed).
Feel free to run that dracut command and after it’s finished, take a look in /boot again to make sure the initramfs-7.0.4 file is there alongside the 6.19 version. If so, then you can reboot and you should be able to start the 7.0.4 kernel up without any error messages.
If you get any errors from dracut, feel free to post them here.