I need Linux to replace Windows! Please help

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

Thanks,
Steve

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

Did you install the CachyOS kernel or the entire OS? If the latter, please use their forums.

Wow. What awesome commands. Here is a list of the output:

>:~$ dnf list installed kernel*
Installed Packages
kernel.x86_64                               6.8.5-301.fc40          @anaconda   
kernel.x86_64                               6.9.12-200.fc40         @updates    
kernel.x86_64                               6.10.3-200.fc40         @updates    
kernel-cachyos.x86_64                       6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-core.x86_64                  6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-devel.x86_64                 6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-devel-matched.x86_64         6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lto.x86_64                   6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lto-core.x86_64              6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lto-devel.x86_64             6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lto-devel-matched.x86_64     6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lto-modules.x86_64           6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts.x86_64                   6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-core.x86_64              6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-devel.x86_64             6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-devel-matched.x86_64     6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-lto.x86_64               6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-core.x86_64          6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-devel.x86_64         6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-devel-matched.x86_64 6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-modules.x86_64       6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-modules.x86_64           6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-modules.x86_64               6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-core.x86_64                          6.8.5-301.fc40          @anaconda   
kernel-core.x86_64                          6.9.12-200.fc40         @updates    
kernel-core.x86_64                          6.10.3-200.fc40         @updates    
kernel-headers.x86_64                       6.10.3-200.fc40         @updates    
kernel-modules.x86_64                       6.8.5-301.fc40          @anaconda   
kernel-modules.x86_64                       6.9.12-200.fc40         @updates    
kernel-modules.x86_64                       6.10.3-200.fc40         @updates    
kernel-modules-core.x86_64                  6.8.5-301.fc40          @anaconda   
kernel-modules-core.x86_64                  6.9.12-200.fc40         @updates    
kernel-modules-core.x86_64                  6.10.3-200.fc40         @updates    
kernel-modules-extra.x86_64                 6.8.5-301.fc40          @anaconda   
kernel-modules-extra.x86_64                 6.9.12-200.fc40         @updates    
kernel-modules-extra.x86_64                 6.10.3-200.fc40         @updates    
kernel-srpm-macros.noarch                   1.0-23.fc40             @fedora     
stede@fedora:~$ sudo du -hs /boot/*
[sudo] password for ****
272K	/boot/config-6.10.3-200.fc40.x86_64
272K	/boot/config-6.10.4-cb1.0.fc40.x86_64
272K	/boot/config-6.10.4-cb1.0.lto.fc40.x86_64
264K	/boot/config-6.6.45-clts1.0.fc40.x86_64
264K	/boot/config-6.6.45-clts1.0.lto.fc40.x86_64
268K	/boot/config-6.8.5-301.fc40.x86_64
268K	/boot/config-6.9.12-200.fc40.x86_64
20M	/boot/efi
2.4M	/boot/grub2
155M	/boot/initramfs-0-rescue-4b622b4ea6da4c9d9265bbdbab8b99cd.img
70M	/boot/initramfs-6.10.3-200.fc40.x86_64.img
73M	/boot/initramfs-6.10.4-cb1.0.fc40.x86_64.img
73M	/boot/initramfs-6.10.4-cb1.0.lto.fc40.x86_64.img
35M	/boot/initramfs-6.6.45-clts1.0.fc40.x86_64.img
35M	/boot/initramfs-6.6.45-clts1.0.lto.fc40.x86_64.img
76M	/boot/initramfs-6.8.5-301.fc40.x86_64.img
69M	/boot/initramfs-6.9.12-200.fc40.x86_64.img
40K	/boot/loader
16K	/boot/lost+found
164K	/boot/symvers-6.10.3-200.fc40.x86_64.xz
0	/boot/symvers-6.10.4-cb1.0.fc40.x86_64.gz
0	/boot/symvers-6.10.4-cb1.0.lto.fc40.x86_64.gz
0	/boot/symvers-6.6.45-clts1.0.fc40.x86_64.gz
0	/boot/symvers-6.6.45-clts1.0.lto.fc40.x86_64.gz
0	/boot/symvers-6.8.5-301.fc40.x86_64.xz
160K	/boot/symvers-6.9.12-200.fc40.x86_64.xz
8.9M	/boot/System.map-6.10.3-200.fc40.x86_64
7.9M	/boot/System.map-6.10.4-cb1.0.fc40.x86_64
8.3M	/boot/System.map-6.10.4-cb1.0.lto.fc40.x86_64
7.4M	/boot/System.map-6.6.45-clts1.0.fc40.x86_64
8.0M	/boot/System.map-6.6.45-clts1.0.lto.fc40.x86_64
8.5M	/boot/System.map-6.8.5-301.fc40.x86_64
8.9M	/boot/System.map-6.9.12-200.fc40.x86_64
15M	/boot/vmlinuz-0-rescue-4b622b4ea6da4c9d9265bbdbab8b99cd
16M	/boot/vmlinuz-6.10.3-200.fc40.x86_64
14M	/boot/vmlinuz-6.10.4-cb1.0.fc40.x86_64
13M	/boot/vmlinuz-6.10.4-cb1.0.lto.fc40.x86_64
12M	/boot/vmlinuz-6.6.45-clts1.0.fc40.x86_64
12M	/boot/vmlinuz-6.6.45-clts1.0.lto.fc40.x86_64
15M	/boot/vmlinuz-6.8.5-301.fc40.x86_64
16M	/boot/vmlinuz-6.9.12-200.fc40.x86_64
>:~$ dnf repolist
repo id                                                        repo name
copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos     Copr repo for kernel-cachyos owned by bieszczaders
copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto Copr repo for kernel-cachyos-lto owned by bieszczaders
copr:copr.fedorainfracloud.org:phracek:PyCharm                 Copr repo for PyCharm owned by phracek
fedora                                                         Fedora 40 - x86_64
fedora-cisco-openh264                                          Fedora 40 openh264 (From Cisco) - x86_64
google-chrome                                                  google-chrome
rpmfusion-nonfree-nvidia-driver                                RPM Fusion for Fedora 40 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                                        RPM Fusion for Fedora 40 - Nonfree - Steam
updates                                                        Fedora 40 - x86_64 - Updates

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.

Thanks for your help,
Stede

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.

Thanks again,
Steve

2 Likes

I am not a moderator so cannot assist in that. Possibly one of them will respond quickly.

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.

1 Like

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.

I’m curious where you notice slow downs.

Added cachyos, dual-boot, f40, gaming, kernel, unsupported, windows

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?

here is what boot looks like now:

272K	/boot/config-6.10.3-200.fc40.x86_64
272K	/boot/config-6.10.4-cb1.0.fc40.x86_64
272K	/boot/config-6.10.4-cb1.0.lto.fc40.x86_64
264K	/boot/config-6.6.45-clts1.0.fc40.x86_64
264K	/boot/config-6.6.45-clts1.0.lto.fc40.x86_64
268K	/boot/config-6.8.5-301.fc40.x86_64
268K	/boot/config-6.9.12-200.fc40.x86_64
20M	/boot/efi
2.4M	/boot/grub2
155M	/boot/initramfs-0-rescue-4b622b4ea6da4c9d9265bbdbab8b99cd.img
70M	/boot/initramfs-6.10.3-200.fc40.x86_64.img
73M	/boot/initramfs-6.10.4-cb1.0.fc40.x86_64.img
73M	/boot/initramfs-6.10.4-cb1.0.lto.fc40.x86_64.img
35M	/boot/initramfs-6.6.45-clts1.0.fc40.x86_64.img
35M	/boot/initramfs-6.6.45-clts1.0.lto.fc40.x86_64.img
76M	/boot/initramfs-6.8.5-301.fc40.x86_64.img
69M	/boot/initramfs-6.9.12-200.fc40.x86_64.img
40K	/boot/loader
16K	/boot/lost+found
164K	/boot/symvers-6.10.3-200.fc40.x86_64.xz
0	/boot/symvers-6.10.4-cb1.0.fc40.x86_64.gz
0	/boot/symvers-6.10.4-cb1.0.lto.fc40.x86_64.gz
0	/boot/symvers-6.6.45-clts1.0.fc40.x86_64.gz
0	/boot/symvers-6.6.45-clts1.0.lto.fc40.x86_64.gz
0	/boot/symvers-6.8.5-301.fc40.x86_64.xz
160K	/boot/symvers-6.9.12-200.fc40.x86_64.xz
8.9M	/boot/System.map-6.10.3-200.fc40.x86_64
7.9M	/boot/System.map-6.10.4-cb1.0.fc40.x86_64
8.3M	/boot/System.map-6.10.4-cb1.0.lto.fc40.x86_64
7.4M	/boot/System.map-6.6.45-clts1.0.fc40.x86_64
8.0M	/boot/System.map-6.6.45-clts1.0.lto.fc40.x86_64
8.5M	/boot/System.map-6.8.5-301.fc40.x86_64
8.9M	/boot/System.map-6.9.12-200.fc40.x86_64
15M	/boot/vmlinuz-0-rescue-4b622b4ea6da4c9d9265bbdbab8b99cd
16M	/boot/vmlinuz-6.10.3-200.fc40.x86_64
14M	/boot/vmlinuz-6.10.4-cb1.0.fc40.x86_64
13M	/boot/vmlinuz-6.10.4-cb1.0.lto.fc40.x86_64
12M	/boot/vmlinuz-6.6.45-clts1.0.fc40.x86_64
12M	/boot/vmlinuz-6.6.45-clts1.0.lto.fc40.x86_64
15M	/boot/vmlinuz-6.8.5-301.fc40.x86_64
16M	/boot/vmlinuz-6.9.12-200.fc40.x86_64

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.

Thank you. here is the first two commands:

~$ lsblk -f
NAME FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                          
└─sda1
     ext4   1.0   data   be76b290-d6af-40af-94b9-7d23602fc076                
sdb                                                                          
├─sdb1
│    vfat   FAT32        A242-EC4D                             579.8M     3% /boot/efi
├─sdb2
│    ext4   1.0          87b91d3e-5ac9-4757-839d-fa74a53b2c27  153.1M    77% /boot
└─sdb3
     btrfs        fedora 2283c38a-2878-49fc-ad16-4eb87a2c20b0  452.3G     5% /home
                                                                             /
zram0
                                                                             [SWAP]
nvme0n1
│                                                                            
└─nvme0n1p1
     ext4   1.0   apps   d30434af-2803-49fb-82e3-9a6b976cb08b    738G    14% /run/media/stede/apps
~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb3       476G   22G  453G   5% /
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
efivarfs        128K   48K   76K  39% /sys/firmware/efi/efivars
tmpfs           6.3G  1.9M  6.3G   1% /run
tmpfs            16G   16K   16G   1% /tmp
/dev/sdb3       476G   22G  453G   5% /home
/dev/nvme0n1p1  916G  132G  738G  16% /run/media/stede/apps
/dev/sdb2       974M  754M  154M  84% /boot
/dev/sdb1       599M   20M  580M   4% /boot/efi
tmpfs           3.2G  160K  3.2G   1% /run/user/1000

$ dnf list installed kernel*
Installed Packages
kernel.x86_64                               6.8.5-301.fc40          @anaconda   
kernel.x86_64                               6.9.12-200.fc40         @updates    
kernel.x86_64                               6.10.3-200.fc40         @updates    
kernel-cachyos-core.x86_64                  6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lto-core.x86_64              6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lto-modules.x86_64           6.10.4-cb1.0.lto.fc40   @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts.x86_64                   6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-core.x86_64              6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-devel.x86_64             6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-devel-matched.x86_64     6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-lts-lto.x86_64               6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-core.x86_64          6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-devel.x86_64         6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-devel-matched.x86_64 6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-lto-modules.x86_64       6.6.45-clts1.0.lto.fc40 @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-lto
kernel-cachyos-lts-modules.x86_64           6.6.45-clts1.0.fc40     @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-cachyos-modules.x86_64               6.10.4-cb1.0.fc40       @copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
kernel-core.x86_64                          6.8.5-301.fc40          @anaconda   
kernel-core.x86_64                          6.9.12-200.fc40         @updates    
kernel-core.x86_64                          6.10.3-200.fc40         @updates    
kernel-headers.x86_64                       6.10.3-200.fc40         @updates    
kernel-modules.x86_64                       6.8.5-301.fc40          @anaconda   
kernel-modules.x86_64                       6.9.12-200.fc40         @updates    
kernel-modules.x86_64                       6.10.3-200.fc40         @updates    
kernel-modules-core.x86_64                  6.8.5-301.fc40          @anaconda   
kernel-modules-core.x86_64                  6.9.12-200.fc40         @updates    
kernel-modules-core.x86_64                  6.10.3-200.fc40         @updates    
kernel-modules-extra.x86_64                 6.8.5-301.fc40          @anaconda   
kernel-modules-extra.x86_64                 6.9.12-200.fc40         @updates    
kernel-modules-extra.x86_64                 6.10.3-200.fc40         @updates    
kernel-srpm-macros.noarch                   1.0-23.fc40             @fedora     

some of the kernel names are in red.

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)