I never liked Windows. Between the constant bugs of Windows 95/98 and the constant advertising and privacy concerns. I tried Linux on and off now since the CD magazine days and for one reason or another it just didn’t hold up. I would always run back to Windows.
That is no longer an option since getting a Mac. Now the only reasons to run Windows is gaming and I think gaming works in Linux now.
So I looked for the most reliable, stable version of Linux and to my delight found Fedora 40. It was a little slow for gaming but works great. I heard about CachyOS and installed it. Now I get the following scary message while trying to install an update:
Error running transaction: installing package kernel-cachyos-lto-core-6.10.5-cb1.0.lto.fc40.x86_64 needs 38MB more space on the /boot filesystem
installing package kernel-cachyos-core-6.10.5-cb1.0.fc40.x86_64 needs 112MB more space on the /boot filesystem
installing package kernel-cachyos-lts-core-6.6.46-clts1.0.fc40.x86_64 needs 183MB more space on the /boot filesystem
This sounds like a nightmare. I hope there is a simple solution and I hope someone can point me in the right direction.
P.S. Fedora is installed on a 512GB m.2. I have nothing extra installed besides Steam. The games are on another 1GB m.2
You do have a non-fedora kernel (cachyos) installed and that might be the problem. One factor is that fedora 40 currently is using kernel 6.10.4 while the cachyos kernel packages appear to be 6.6.5 (older) or 6.10.5 (which is newer than the fedora kernel)
Fedora seldom uses more than about 300M of a 1G /boot partition. It sounds like you have a lot of extra fluff (probably unnecessary) that is installed in /boot.
Please show us the output of the following commands using the preformatted text button </> on the toolbar to retain the on-screen formatting for readability.
dnf list installed kernel* sudo du -hs /boot/* dnf repolist
I am sorry for the confusion. I installed Fedora from USB. Then installed updates. Finally I installed Steam but what hoping for a somewhat faster gaming experience so I found this video:
Kind of did it but got bored after a few unknown errors but I think I did installed something called CachyOS which is a Kernel replacement for a faster gaming experience in Fedora. I am a little confused at the moment so I am sorry if I am still not clear.
Thank you so much for your help. I posted the output but it was “temporarily removed until a forum moderator can check for spam.” I hope it will be up soon.
If you want what seems the best gaming under a fedora like system I suggest Nobara. Instead of modifying fedora as a user without background experience they have already done that part for you. We do not support nobara here due to the large amount of changes they have made to support gaming but it is very much based on fedora.
I am not going to watch a 31 minute video to see what changes were recommended, nor do I know exactly what parts you may have followed. I can state that once you replace the fedora kernel with a 3rd party kernel then support is iffy at best since we cannot tell where problems may lie.
Space in the /boot partition is an issue that can probably be solved by reverting to only the fedora kernels. Cachyos kernels are difficult to support on a fedora forum which is based on the default fedora configs. Changes we may suggest could break your 3rd party software. Other changes that may have been done which are outside the normal fedora software may also cause breakage of apps.
I did note that the video shows installing in a virtual machine using vmware so that is different as well.
I use Fedora and rpmfusion steam to play games.
I can dual boot into Windows 11 for the cases of games that linux steam does not support.
But see no detectable difference in perfomance.
I have not noticed a reason to think Fedora is slow playing games.
Thanks but that doesn’t seem very helpful. You wanted the print out but what did it tell you? Can you help me replace it back to the official kernel and clean out the stuff in boot that shouldn’t be there.
Nothing really just saw the video and thought it might be the normal thing gamers do to Linux. Like the other person mentioned it was a bad idea and I regret doing it. Also, I simply do not have enough experience with Linux to try such ambitious stuff yet.
Now that the command results are shown and from watching a little more of the video I can see why you had problems.
That video had you install drivers directly from the nvidia site which often causes problems.
You have seven different kernels installed in /boot (3 from fedora and 4 from cachyos) which seems the cause of being out of space.
You also have 2 cachyos copr repos enabled.
With all that said, what is the output of lsblk -f and df -h
OK, I found the commands that I used to install it so I used the same command with remove instead of install to get rid of it. It seemed to work but the Kernel didn’t revert back. Can you show me how to change the kernel?
We need to work through the fix systematically and not random.
First the last 2 commands so we can see the available space.
then dnf list installed kernel* so we can see the installed packages and know which to remove.
With that info it would seem that running sudo dnf remove kernel-cachyos-* should remove all those packages and the associated files in /boot.
Before doing that check which kernel is booted with uname -a. If you are booted to one of the kernels that you wish to remove then dnf will not remove it.
To select which kernel to boot, while powering on or rebooting you should be able to hold down the “shift” key immediately after the bios splash screen and the grub menu should appear to allow selecting the kernel to boot.
You are a vast knowledge of everything Linux and I appreciate your time, but you have to understand I am very new to Linux. Here is the result of uname -a:
Linux fedora 6.6.45-clts1.0.lto.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Aug 11 19:14:15 UTC 2024 x86_64 GNU/Linux
Is this the Kernel that comes packaged with Fedora?
That is one of the cachyos kernels.
You can either display the grub menu to select a kernel as I described or you can use this command to display the menu with each following boot. sudo grub2-editenv - unset menu_auto_hide
This will display the grub menu with each boot.
To hide the menu again run sudo grub2-editenv - set menu_auto_hide=1
Sorry, I checked Settings → System → Advanced and it still shows Linux 6.6.45-clts1.0.lto.fc40.x86_64 for Kernel Version.
I tried running the command to remove cachyos but got the following error messsage:
Error:
Problem: The operation would result in removing the following protected packages: kernel-cachyos-lts-lto-core
(try to add ‘–skip-broken’ to skip uninstallable packages)