Low disk Space on "boot"

Folks everytime i boot i get this notification message, it says i have only 31,4 MB disk space remaining.

What should i do ?

Added gnome, silverblue

Added storage and removed gnome, Site Help & Feedback

Hi, you could start by giving us some info to work with :wink: I cant imagine that you wouldnt know what could be helpful here (how installed, how long, dualboot or not, what filesystem, how big of a drive, how much space used, …)

The very first commands should be df -h then sudo fdisk -l and lsblk -f

We need to know the current status of drives and partitions before any advice may be given.

In addition to the other reports which have been requested, also run sudo du -ah /boot |sort -h and post the result. Notice you will get the biggest files sorted to the end of the display, and that is where the problem might be found.

df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0       465G   80G  384G  18% /sysroot
devtmpfs        4,0M     0  4,0M   0% /dev
tmpfs           7,8G     0  7,8G   0% /dev/shm
efivarfs        384K  104K  276K  28% /sys/firmware/efi/efivars
tmpfs           3,1G   11M  3,1G   1% /run
/dev/dm-0       465G   80G  384G  18% /var
/dev/dm-0       465G   80G  384G  18% /var/home
tmpfs           7,8G   16K  7,8G   1% /tmp
/dev/sda2       974M  878M   29M  97% /boot
/dev/sda1       599M   14M  586M   3% /boot/efi
tmpfs           1,6G   11M  1,6G   1% /run/user/1000

sudo fdisk -l

Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 870 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F343255B-D1CF-432F-92BC-3FC9031C83DC

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1230847   1228800   600M EFI System
/dev/sda2  1230848   3327999   2097152     1G Linux filesystem
/dev/sda3  3328000 976773119 973445120 464,2G Linux filesystem


Disk /dev/nvme0n1: 476,94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: IM2P33F3 NVMe ADATA 512GB               
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B7865137-BC84-4E7C-B09A-217C096DCB33

Device             Start        End   Sectors  Size Type
/dev/nvme0n1p1      2048     309247    307200  150M EFI System
/dev/nvme0n1p2    309248     571391    262144  128M Microsoft reserved
/dev/nvme0n1p3    571392  967405567 966834176  461G Microsoft basic data
/dev/nvme0n1p4 967405568  969433087   2027520  990M Windows recovery environment
/dev/nvme0n1p5 969433088  997539839  28106752 13,4G Windows recovery environment
/dev/nvme0n1p6 997541888 1000187903   2646016  1,3G Windows recovery environment

lsblk -f

NAME              FSTYPE     FSVER LABEL           UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                                    
├─sda1            vfat       FAT32                 D95C-CA2D                             585,5M     2% /boot/efi
├─sda2            ext4       1.0                   593a6891-5364-4be4-be6a-55f674bc0f46   28,8M    90% /boot
└─sda3            crypto_LUK 2                     a79c02a1-318c-4e9b-9cff-ff6637c3e224                
  └─luks-a79c02a1-318c-4e9b-9cff-ff6637c3e224
                  btrfs            fedora_fedora   062b00fc-eb3d-4bf7-ac09-1577a60fc05d  383,7G    17% /var/home
                                                                                                       /var
                                                                                                       /sysroot/ostree/deploy/fedora/var
                                                                                                       /usr
                                                                                                       /etc
                                                                                                       /
                                                                                                       /sysroot
sdb                                                                                                    
├─sdb1            ntfs             ElementsBackup1 8CE0A5EAE0A5DAAA                      158,2G    75% /run/media/barcell/ElementsBackup1
└─sdb2            exfat      1.0   MacBackup1      D23C-0C3D                             229,5G    22% /run/media/barcell/MacBackup1
zram0                                                                                                  [SWAP]
nvme0n1                                                                                                
├─nvme0n1p1       vfat       FAT32 ESP             F20B-D5CA                                           
├─nvme0n1p2                                                                                            
├─nvme0n1p3       BitLocker  2                                                                         
├─nvme0n1p4       ntfs             WINRETOOLS      48326FA4326F962A                                    
├─nvme0n1p5       ntfs             Image           A4BE700DBE6FD678                                    
└─nvme0n1p6       ntfs             DELLSUPPORT     9ADAE65FDAE636E3        ```

Sure, i have basically 2 drives, one with windows (adata nvme) and one with fedora with luks (evo sata), and a external drive attached
Both 500gb

sudo du -ah /boot |sort -h

0	/boot/boot
0	/boot/grub2/grub.cfg
0	/boot/loader
4,0K	/boot/efi/EFI/Dell/logs/diags_current.xml
4,0K	/boot/efi/EFI/Dell/logs/diags_previous.xml
4,0K	/boot/efi/EFI/fedora/BOOTIA32.CSV
4,0K	/boot/efi/EFI/fedora/BOOTX64.CSV
4,0K	/boot/efi/EFI/fedora/grub.cfg
4,0K	/boot/efi/System Volume Information
4,0K	/boot/grub2/grubenv
4,0K	/boot/loader.1/entries/ostree-1.conf
4,0K	/boot/loader.1/entries/ostree-2.conf
4,0K	/boot/loader.1/entries/ostree-3.conf
4,0K	/boot/loader.1/entries/ostree-4.conf
4,0K	/boot/loader.1/entries/ostree-5.conf
4,0K	/boot/loader.1/entries/ostree-6.conf
4,0K	/boot/ostree/fedora-1aee8721eb067ebe5e85a34cd69c469accb733ddaf150b5a2c9fa56c202842cf/.vmlinuz-6.10.5-200.fc40.x86_64.hmac
4,0K	/boot/ostree/fedora-2f0f1bcf804e3a18beeb547933012c4d0994a291511bf601dde02c21120f47e9/.vmlinuz-6.8.7-200.fc39.x86_64.hmac
4,0K	/boot/ostree/fedora-560b753b1ce7898f124ae25b8e94813f303f361b4b680ff93242e1ff65be35b7/.vmlinuz-6.8.4-200.fc39.x86_64.hmac
4,0K	/boot/ostree/fedora-67f4ad3a08ce74c0940a4ccad148a70c39099072c2fa313f159d45d9921a4759/.vmlinuz-6.8.11-300.fc40.x86_64.hmac
4,0K	/boot/ostree/fedora-bc254ce050d39d87b5cf8eb40e6d7c406ecec436552d06ec0b9d0a196c1bda96/.vmlinuz-6.8.7-300.fc40.x86_64.hmac
4,0K	/boot/ostree/fedora-cad690da909580764d1659734fb740e3a8304ad542594824c72e449e7cc32683/.vmlinuz-6.10.3-200.fc40.x86_64.hmac
12K	/boot/efi/EFI/Dell/logs
16K	/boot/efi/EFI/Dell
16K	/boot/loader.1/grub.cfg
16K	/boot/lost+found
28K	/boot/loader.1/entries
48K	/boot/loader.1
72K	/boot/efi/EFI/BOOT/fbia32.efi
88K	/boot/efi/EFI/BOOT/fbx64.efi
660K	/boot/efi/EFI/fedora/mmia32.efi
732K	/boot/efi/EFI/BOOT/BOOTIA32.EFI
732K	/boot/efi/EFI/fedora/shimia32.efi
832K	/boot/efi/EFI/fedora/mmx64.efi
928K	/boot/efi/EFI/BOOT/BOOTX64.EFI
928K	/boot/efi/EFI/fedora/shim.efi
928K	/boot/efi/EFI/fedora/shimx64.efi
928K	/boot/efi/EFI/fedora/shimx64-fedora.efi
1,8M	/boot/efi/EFI/BOOT
2,3M	/boot/grub2
2,3M	/boot/grub2/fonts
2,3M	/boot/grub2/fonts/unicode.pf2
2,9M	/boot/efi/EFI/fedora/grubia32.efi
3,8M	/boot/efi/EFI/fedora/grubx64.efi
12M	/boot/efi/EFI/fedora
14M	/boot/efi
14M	/boot/efi/EFI
15M	/boot/ostree/fedora-2f0f1bcf804e3a18beeb547933012c4d0994a291511bf601dde02c21120f47e9/vmlinuz-6.8.7-200.fc39.x86_64
15M	/boot/ostree/fedora-560b753b1ce7898f124ae25b8e94813f303f361b4b680ff93242e1ff65be35b7/vmlinuz-6.8.4-200.fc39.x86_64
15M	/boot/ostree/fedora-67f4ad3a08ce74c0940a4ccad148a70c39099072c2fa313f159d45d9921a4759/vmlinuz-6.8.11-300.fc40.x86_64
15M	/boot/ostree/fedora-bc254ce050d39d87b5cf8eb40e6d7c406ecec436552d06ec0b9d0a196c1bda96/vmlinuz-6.8.7-300.fc40.x86_64
16M	/boot/ostree/fedora-1aee8721eb067ebe5e85a34cd69c469accb733ddaf150b5a2c9fa56c202842cf/vmlinuz-6.10.5-200.fc40.x86_64
16M	/boot/ostree/fedora-cad690da909580764d1659734fb740e3a8304ad542594824c72e449e7cc32683/vmlinuz-6.10.3-200.fc40.x86_64
126M	/boot/ostree/fedora-2f0f1bcf804e3a18beeb547933012c4d0994a291511bf601dde02c21120f47e9/initramfs-6.8.7-200.fc39.x86_64.img
126M	/boot/ostree/fedora-560b753b1ce7898f124ae25b8e94813f303f361b4b680ff93242e1ff65be35b7/initramfs-6.8.4-200.fc39.x86_64.img
129M	/boot/ostree/fedora-bc254ce050d39d87b5cf8eb40e6d7c406ecec436552d06ec0b9d0a196c1bda96/initramfs-6.8.7-300.fc40.x86_64.img
132M	/boot/ostree/fedora-67f4ad3a08ce74c0940a4ccad148a70c39099072c2fa313f159d45d9921a4759/initramfs-6.8.11-300.fc40.x86_64.img
139M	/boot/ostree/fedora-1aee8721eb067ebe5e85a34cd69c469accb733ddaf150b5a2c9fa56c202842cf/initramfs-6.10.5-200.fc40.x86_64.img
139M	/boot/ostree/fedora-cad690da909580764d1659734fb740e3a8304ad542594824c72e449e7cc32683/initramfs-6.10.3-200.fc40.x86_64.img
140M	/boot/ostree/fedora-2f0f1bcf804e3a18beeb547933012c4d0994a291511bf601dde02c21120f47e9
140M	/boot/ostree/fedora-560b753b1ce7898f124ae25b8e94813f303f361b4b680ff93242e1ff65be35b7
143M	/boot/ostree/fedora-bc254ce050d39d87b5cf8eb40e6d7c406ecec436552d06ec0b9d0a196c1bda96
147M	/boot/ostree/fedora-67f4ad3a08ce74c0940a4ccad148a70c39099072c2fa313f159d45d9921a4759
154M	/boot/ostree/fedora-1aee8721eb067ebe5e85a34cd69c469accb733ddaf150b5a2c9fa56c202842cf
154M	/boot/ostree/fedora-cad690da909580764d1659734fb740e3a8304ad542594824c72e449e7cc32683
875M	/boot/ostree
891M	/boot

You got a lot of old versions which could be cleaned up.

If you no longer need to be able to roll-back to an earlier status, you can run this and see if it frees up some space

sudo rpm-ostree cleanup --rollback
2 Likes

thanks bro

Also, i dont know why versions look duplicated on my grub (like for each pinned version, a copy of it appears on grub also)

It is a minor bug: grub.cfg contains a classical boot entry as well as reading the bsl configuration files.