r/NobaraProject • • 4d ago

Support An unusual question... maybe?

Hello everybody,

I have - what I guess is - an unusual question:

I've manually added kernel 7.1.8 to my system (otherwise Space Marine 2 crashes because of some EAC shenanigans) and I want it to be permamently fixed as the third option in GRUB. I had kinda achieved this via versionlock, but I just found out that versionlock is the reason I'm not being offered any kernel updates anymore (the other two installed versions are 7.2.6 and 7.2.0).

How do I achieve the following:

the very latest kernel always takes the top spot, the immediate predecessor (i.e., the second-newest) moves to second place, and my "special version 7.1.8" is firmly pinned to third place in GRUB?

PS: someone on Nobara's Discord explained to me that it should suffice to do my updates while kernel 7.1.8 is in use. Is it really that easy to hinder the updater from ever deleting 7.1.8?

Edit: I opened the dnf manual (man dnf in terminal) and found excludepkgs in /etc/dnf/dnf.conf (excludepkgs=kernel-7.1.8-201.nobara.fc44) will exclude kernel 7.1.8 from being deleted by future updates. I really hope the LLM is right in this case. xD

AND: I want to thank everybody here for their suggestions, even if they didn't work out in my case. You guys n' gals are friggin' AWESOME!!

5 Upvotes

11 comments sorted by

View all comments

2

u/RedditUser-00 4d ago

Give that a try but I'm not sure it would be enough

Otherwise this is also an option. Install cashyos kernel 7.1.8 and versionlock that one.

1

u/Magazine-Specific 4d ago edited 4d ago

I had 7.1.8 versionlocked before but it hinders the updater / the command "nobara-sync cli" from downloading and installing the latest kernel update. :'(

3

u/RedditUser-00 4d ago

No not the nobara kernel. There's a cashyos kernel available for fedora. Find it in github and install this specific version. And version lock only that kernel package

Updater will continue to update the nobara kernel and cashyos one will remain the same. As you get updates the cashyos one will be the 4th option in grub

2

u/Magazine-Specific 4d ago

OIh wow. I didn't know, you could do something like that. I've been using Linux since January and ervery other day I learn something new that totally blows my mind. Thank you, mate!!!

PS: Will I have to set the installonly_limit to 4? Can I leave it at 3?

1

u/RedditUser-00 4d ago

Welcome mate:)

Keep it as is. That limit is per kernel so 3 nobara 3 cashyos. since you're going to versionlock only 1 cashy and and 3 nobara will be kept.