Fedora error | Kernel 5.18.18

Hello friends. I installed fedora for the first time.
After installing fedora, I did the updates.
reboot after update.
the first option in the grub loader gave this error.

The second option works.
How can I remove or repair the first option.
Thank you in advance for your help.

Welcome to Ask Fedora! Please view the “Start here!” category

Please boot into the working kernel. (5.17.5)
In a terminal can you check:
sudo grubby --info=ALL
or
sudo grep -r options /boot/loader/entries

and see if there is a difference in the args or options (they’re the same thing), between 5.17.5 and 5.18.18

If ro rootflags=subvol=root or a similar declaration is missing from 5.18.18:
Check and see if /etc/kernel/cmdline exists and is also missing that argument?
sudo cat /etc/kernel/cmdline

If it does please:
remove the /etc/kernel/cmdline file
sudo rm /etc/kernel/cmdline

and re-install the updated kernel
sudo dnf remove kernel-core-5.18.18
sudo dnf upgrade

This might be the bug mentioned here, Issues with 5.18.18 kernel on Fedora 36 - #2 by grumpey

3 Likes

I had a similar problem and managed to boot the kernel by updating grub2. The thread is here: https://ask.fedoraproject.org/t/boot-entering-emergency-mode-with-kernel-5-18-17-200-fc36/25374/7

2 Likes

Rainer Peters, Joe

Thank you very much for your quick response and interest. The system crashed, I think I made a mistake. I am reformatting. if same problem occurs i will try what you said.