To remove a kernel in Fedora, follow these steps: Identify the kernel you want to remove using the uname -r command. This will display the currently running kernel version. Use the rpm -qa | grep ^kernel command to list all of the installed kernel packages on your system. Look for the kernel package that you want to remove. It will be named kernel-version, where version is the version number of the kernel you want to remove. Example: rpm -qa | grep ^kernel proves the kernel 6.0.11 is still present: kernel-core-6.0.11-300.fc37.x86_64 kernel-modules-6.0.11-300.fc37.x86_64 kernel-devel-6.0.11-300.fc37.x86_64 kernel-6.0.11-300.fc37.x86_64 kernel-core-6.0.12-300.fc37.x86_64 kernel-modules-6.0.12-300.fc37.x86_64 kernel-devel-6.0.12-300.fc37.x86_64 kernel-6.0.12-300.fc37.x86_64 to remove older kernel the below command will have to be used. sudo dnf remove kernel-headers-6.0.5-300.fc37.x86_64 sudo dnf remove kernel-core-6.0.11-300.fc37.x86_6 sudo dnf remove kernel-modules-6.0.11-300.fc37.x86...