Slow boot times, Disk Partition

After a recent update my whole computer is moving very slowly, When I boot up I get a message left that I have around 10mb left of data? although I have 300gb left of storage. I see my parition has boot set at 1gb is that normal? Any idea of how I can fix this my whole pc is lagging badly, and takes 2-3 minutes to boot up, I have a 2070 super and everything use to run smoothly.

Possibly too many retained kernels.

Can you check the output of cat /etc/dnf/dnf.conf, and that of ls -lh /boot, and post them back as preformatted text (</>)?

1 Like

cat /etc/dnf/dnf.conf

# see `man dnf.conf` for defaults and possible options

[main]
gpgcheck=True
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
# Added for Speed:
fastestmirror=True
max_parallel_downloads=10
defaultyes=True
keepcache=True
fastestmirror=1
fastestmirror=1
fastestmirror=1
max_parallel_downloads=10

ls -lh /boot

total 869M
-rw-r--r--. 1 root root 263K Nov 24  2023 config-6.6.2-cbrt2.0.fc39.x86_64
-rw-r--r--. 1 root root 266K May 25 20:00 config-6.8.11-200.fc39.x86_64
-rw-r--r--. 1 root root 268K Jun 11 20:00 config-6.9.4-100.fc39.x86_64
-rw-r--r--. 1 root root 269K Jun 15 12:56 config-6.9.4-cb4.0.fc39.x86_64
-rw-r--r--. 1 root root 268K Jun 15 20:00 config-6.9.5-100.fc39.x86_64
-rw-r--r--. 1 root root 268K Jun 15 20:00 config-6.9.5-200.fc40.x86_64
-rw-r--r--. 1 root root 269K Jun 16 19:40 config-6.9.5-cb1.0.fc39.x86_64
-rw-r--r--. 1 root root 269K Jun 22 03:54 config-6.9.6-cb1.0.fc39.x86_64
-rw-r--r--. 1 root root 269K Jun 22 03:55 config-6.9.6-cb1.0.fc40.x86_64
drwx------. 4 root root 4.0K Jun 25 20:25 efi
drwxr-xr-x. 2 root root 4.0K Jun 25 19:38 extlinux
drwx------. 5 root root 4.0K Jun 26 08:43 grub2
-rw-------. 1 root root 100M Jul 29  2022 initramfs-0-rescue-6407affd49414c2aa23d115930ceaf52.img
-rw-------. 1 root root  38M Jun  8 21:28 initramfs-6.6.2-cbrt2.0.fc39.x86_64.img
-rw-------. 1 root root  73M Jun  4 20:18 initramfs-6.8.11-200.fc39.x86_64.img
-rw-------. 1 root root  73M Jun 19 20:09 initramfs-6.9.4-100.fc39.x86_64.img
-rw-------. 1 root root  76M Jun 16 04:48 initramfs-6.9.4-cb4.0.fc39.x86_64.img
-rw-------. 1 root root  72M Jun 24 21:29 initramfs-6.9.5-100.fc39.x86_64.img
-rw-------. 1 root root  75M Jun 19 20:07 initramfs-6.9.5-cb1.0.fc39.x86_64.img
-rw-------. 1 root root  75M Jun 24 21:25 initramfs-6.9.6-cb1.0.fc39.x86_64.img
-rw-------. 1 root root  80M Jun 25 19:50 initramfs-6.9.6-cb1.0.fc40.x86_64.img
drwxr-xr-x. 3 root root 4.0K Jul 29  2022 loader
drwx------. 2 root root  16K Jul 29  2022 lost+found
lrwxrwxrwx. 1 root root   49 Jun  8 21:28 symvers-6.6.2-cbrt2.0.fc39.x86_64.gz -> /lib/modules/6.6.2-cbrt2.0.fc39.x86_64/symvers.gz
lrwxrwxrwx. 1 root root   46 Jun  4 20:18 symvers-6.8.11-200.fc39.x86_64.xz -> /lib/modules/6.8.11-200.fc39.x86_64/symvers.xz
-rw-r--r--. 1 root root 160K Jun 19 20:09 symvers-6.9.4-100.fc39.x86_64.xz
lrwxrwxrwx. 1 root root   47 Jun 16 04:48 symvers-6.9.4-cb4.0.fc39.x86_64.gz -> /lib/modules/6.9.4-cb4.0.fc39.x86_64/symvers.gz
-rw-r--r--. 1 root root 160K Jun 24 21:29 symvers-6.9.5-100.fc39.x86_64.xz
lrwxrwxrwx. 1 root root   47 Jun 19 20:06 symvers-6.9.5-cb1.0.fc39.x86_64.gz -> /lib/modules/6.9.5-cb1.0.fc39.x86_64/symvers.gz
lrwxrwxrwx. 1 root root   47 Jun 24 21:25 symvers-6.9.6-cb1.0.fc39.x86_64.gz -> /lib/modules/6.9.6-cb1.0.fc39.x86_64/symvers.gz
lrwxrwxrwx. 1 root root   47 Jun 25 19:48 symvers-6.9.6-cb1.0.fc40.x86_64.gz -> /lib/modules/6.9.6-cb1.0.fc40.x86_64/symvers.gz
-rw-r--r--. 1 root root 7.3M Nov 24  2023 System.map-6.6.2-cbrt2.0.fc39.x86_64
-rw-r--r--. 1 root root 8.7M May 25 20:00 System.map-6.8.11-200.fc39.x86_64
-rw-r--r--. 1 root root 8.7M Jun 11 20:00 System.map-6.9.4-100.fc39.x86_64
-rw-r--r--. 1 root root 7.5M Jun 15 12:56 System.map-6.9.4-cb4.0.fc39.x86_64
-rw-r--r--. 1 root root 8.7M Jun 15 20:00 System.map-6.9.5-100.fc39.x86_64
-rw-r--r--. 1 root root 8.9M Jun 15 20:00 System.map-6.9.5-200.fc40.x86_64
-rw-r--r--. 1 root root 7.5M Jun 16 19:40 System.map-6.9.5-cb1.0.fc39.x86_64
-rw-r--r--. 1 root root 7.5M Jun 22 03:54 System.map-6.9.6-cb1.0.fc39.x86_64
-rw-r--r--. 1 root root 7.8M Jun 22 03:55 System.map-6.9.6-cb1.0.fc40.x86_64
-rwxr-xr-x. 1 root root  12M Jul 29  2022 vmlinuz-0-rescue-6407affd49414c2aa23d115930ceaf52
-rwxr-xr-x. 1 root root  12M Nov 24  2023 vmlinuz-6.6.2-cbrt2.0.fc39.x86_64
-rwxr-xr-x. 1 root root  15M May 25 20:00 vmlinuz-6.8.11-200.fc39.x86_64
-rwxr-xr-x. 1 root root  16M Jun 11 20:00 vmlinuz-6.9.4-100.fc39.x86_64
-rwxr-xr-x. 1 root root  14M Jun 15 12:56 vmlinuz-6.9.4-cb4.0.fc39.x86_64
-rwxr-xr-x. 1 root root  16M Jun 15 20:00 vmlinuz-6.9.5-100.fc39.x86_64
-rwxr-xr-x. 1 root root  16M Jun 15 20:00 vmlinuz-6.9.5-200.fc40.x86_64
-rwxr-xr-x. 1 root root  14M Jun 16 19:40 vmlinuz-6.9.5-cb1.0.fc39.x86_64
-rwxr-xr-x. 1 root root  14M Jun 22 03:54 vmlinuz-6.9.6-cb1.0.fc39.x86_64
-rwxr-xr-x. 1 root root  14M Jun 22 03:55 vmlinuz-6.9.6-cb1.0.fc40.x86_64
1 Like

Your boot partition is nearly full.
There are two options:

  1. increase boot partition by resizing your Btrfs partition (make sure you have working backups)
  2. delete some of the eight kernels that you have installed.

What are these cband cbrt kernels?

1 Like

That’s strange. Did you upgrade from F39?

You can delete your old kernels, and keep the last 3 ones.

@augenauf , any idea why the latest kernels are both for F39 and F40 there?

1 Like

preformatted text </>

1 Like

Yes I did just update from Fedora 39.

No idea.

weird, first didn’t notice that. strange mix of kernels. I guess we wait to learn what cb kernels are and how they were installed.

I suggest we take a look at uname -a and let OP perform sudo dnf distro-sync after having cleared at least one kernel (it may otherwise fail due to insufficient space)

The please show us the output of sudo dnf repolist and uname -a.
Did you not manually install some third party kernel builds?

@rester , I have to leave my desk for a couple of hours, but it seems to be leaving you in good hands.

1 Like

I found bieszczaders/kernel-cachyos Copr. does this ring a bell @rester ?

:thinking:

Should only have 3. . .

does that not only apply for “official” kernels from Fedora repo? If OP installed some third-party kernel from copr, not sure the 3 applies.

2 Likes
 sudo dnf repolist
repo id                                                    repo name
copr:copr.fedorainfracloud.org:atim:heroic-games-launcher  Copr repo for heroic-games-launcher owned by atim
copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos Copr repo for kernel-cachyos owned by bieszczaders
copr:copr.fedorainfracloud.org:elxreno:preload             Copr repo for preload owned by elxreno
copr:copr.fedorainfracloud.org:kylegospo:gnome-vrr         Copr repo for gnome-vrr owned by kylegospo
copr:copr.fedorainfracloud.org:phracek:PyCharm             Copr repo for PyCharm owned by phracek
copr:copr.fedorainfracloud.org:sentry:xone                 Copr repo for xone owned by sentry
fedora                                                     Fedora 40 - x86_64
fedora-cisco-openh264                                      Fedora 40 openh264 (From Cisco) - x86_64
google-chrome                                              google-chrome
mullvad-stable                                             Mullvad VPN
rpmfusion-free                                             RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates                                     RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree                                          RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-nvidia-driver                            RPM Fusion for Fedora 40 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                                    RPM Fusion for Fedora 40 - Nonfree - Steam
rpmfusion-nonfree-updates                                  RPM Fusion for Fedora 40 - Nonfree - Updates
updates                                                    Fedora 40 - x86_64 - Updates

uname -a
Linux xyz 6.9.6-cb1.0.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 22 07:25:32 UTC 2024 x86_64 GNU/Linux

That’s where the cb kernels are coming from.
You need to make some space on /boot by removing kernels and then run sudo dnf distro-sync

1 Like

:soap: + :broom:

I appreciate all the help, I just removed all of the COPR’s most I did not use or need. Now to remove the kernel’s what would be the command.

sudo rm config-6.6.2-cbrt2.0.fc39.x86_64
rm: cannot remove 'config-6.6.2-cbrt2.0.fc39.x86_64': No such file or directory

And I’d be safe removing all of them except the ones that are FC40 for Fedora 40.

I ended up clearing like 500mb of data from the 1.1gb. Now I just have to remove those kernels from the ls -lh /boot command, It keeps saying " No match for arguement"

Try sudo dnf remove kernel-core-kernelNumber*,
where kernelNumber is the number of the kernel to be removed, e.g. 6.9.4-cb4.0.fc39.

1 Like