r/NobaraProject • u/boaronthegate • 4d ago
Support Reinstall older kernel?
I've had some trouble when upgrading. After updating my display appears as "Unknown-1" and resolution is locked at 1024x768 in the configuration menu. Haven't identified the exact cause (might make a seperate post about it) but seems to only be an issue with newer kernels since I've tried reinstalling/downgrading the Nvidia drivers with no effect. No issue when booting the old 7.2.1.200(?)
Trouble is, I tried to make sure not to let it be auto deleted by edititing the dnf.conf to allow more installed kernels, but I seem to have made a mistake somewhere and now the only kernel that works was uninstalled.
How do you reinstall an old kernel?
Alternatively, if someone know if this issue has been solved elsewhere I'd be glad to know
EDIT: Solved it! Nobara was utilising the motherboards integrated graphics instead of my nvidia card. Disabling it in BIOS solved it.
2
u/hughesjr99 4d ago
This is a list of the kernels: Produced with
dnf list --showduplicates kernel | sortI don't see a 7.2.1 in there .. but you can install a specific kernel with:
sudo dnf install kernel-7.3.1-203.nobara.fc44.x86_64You can see what is installed with:
rpm -qa | grep ^kernel | sortFor me that looks like:
The one thing I see is the kernel-headers is only the newest kernel .. if you need to reboot to get dkms / akmods, you might want to do:
sudo dnf downgrade kernel-headersThen I would edit the nobara.repo file in /etc/yum.repos.d/ .. in the [nobara] section I would set this (it is already in the [nobara-updates] section on my setup:
exclude=kernel*That will prevent kernel updates until you figure it out how to fix it.
Reboot and pick the older kernel.
Personally, if you are not comfortable doing any of that (or are not completely sure what any part means), I would do it while talking to people in the Nobara discord channel.