/boot is full

Hi, I was trying to run sudo dracut --regenerate-all --force but was met with an error because /boot is full. I tried following /boot nearly full - how to free space? but sudo dnf list installed kernel* returned nothing for me.

df -h
moksh@fedora:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p3  930G  120G  808G  13% /
devtmpfs         63G     0   63G   0% /dev
tmpfs            63G  104K   63G   1% /dev/shm
efivarfs        128K   16K  108K  13% /sys/firmware/efi/efivars
tmpfs            26G  2.4M   26G   1% /run
tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
/dev/nvme0n1p3  930G  120G  808G  13% /home
tmpfs            63G   20K   63G   1% /tmp
/dev/nvme0n1p2  974M  816M   91M  91% /boot
/dev/nvme0n1p1  599M   20M  580M   4% /boot/efi
/dev/sda2       916G   74G  796G   9% /run/media/moksh/lin-drive
tmpfs           1.0M     0  1.0M   0% /run/credentials/systemd-resolved.service
tmpfs            13G  236K   13G   1% /run/user/1000
lsblk -f
moksh@fedora:~$ lsblk -f
NAME        FSTYPE FSVER LABEL           UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                          
├─sda1      ntfs         win-drive       7A42C90542C8C6DB                                    
└─sda2      ext4   1.0   lin-drive       d780c31e-e4ea-4eb8-ab37-1164223f76ba  795.3G     8% /run/media/moksh/lin-drive
zram0       swap   1     zram0           e1f6536a-cbdb-40a6-8f38-28edac695bc9                [SWAP]
nvme0n1                                                                                      
├─nvme0n1p1 vfat   FAT32                 40B7-3841                             579.5M     3% /boot/efi
├─nvme0n1p2 ext4   1.0                   b9caad0b-44ea-497c-8bd6-b35e5b3a9d07   90.4M    84% /boot
└─nvme0n1p3 btrfs        fedora          05d819b1-d720-4323-a419-62b8e09566df  807.9G    13% /home
                                                                                             /
nvme1n1                                                                                      
├─nvme1n1p1 ntfs         System Reserved 3AA29E76A29E367B                                    
├─nvme1n1p2 ntfs                         9A589F9B589F752B                                    
└─nvme1n1p3 ntfs                         D692919392917927  
ls /boot
moksh@fedora:~$ sudo ls /boot
config-6.18.5-100.fc42.x86_64
config-6.18.6-100.fc42.x86_64
config-6.18.7-100.fc42.x86_64
efi
grub2
initramfs-0-rescue-25a890ee8a15485c819f6286056c7ef4.img
initramfs-6.18.5-100.fc42.x86_64.img
initramfs-6.18.6-100.fc42.x86_64.img
initramfs-6.18.7-100.fc42.x86_64.img
loader
lost+found
symvers-6.18.5-100.fc42.x86_64.xz
symvers-6.18.6-100.fc42.x86_64.xz
symvers-6.18.7-100.fc42.x86_64.xz
System.map-6.18.5-100.fc42.x86_64
System.map-6.18.6-100.fc42.x86_64
System.map-6.18.7-100.fc42.x86_64
vmlinuz-0-rescue-25a890ee8a15485c819f6286056c7ef4
vmlinuz-6.18.5-100.fc42.x86_64
vmlinuz-6.18.6-100.fc42.x86_64
vmlinuz-6.18.7-100.fc42.x86_64
du -sm /boot/efi /boot/grub2 /boot/loader /boot/lost+found
moksh@fedora:~$ sudo du -sm /boot/efi /boot/grub2 /boot/loader /boot/lost+found 
20	/boot/efi
14	/boot/grub2
1	/boot/loader
1	/boot/lost+found
sudo du -ahx /boot
moksh@fedora:~$ sudo du -ahx /boot
288K	/boot/config-6.18.6-100.fc42.x86_64
4.0K	/boot/grub2/grubenv
2.3M	/boot/grub2/fonts/unicode.pf2
2.3M	/boot/grub2/fonts
4.0K	/boot/grub2/x86_64-efi/crc64.mod
12K	/boot/grub2/x86_64-efi/ntfscomp.mod
4.0K	/boot/grub2/x86_64-efi/raid5rec.mod
4.0K	/boot/grub2/x86_64-efi/part_apple.mod
16K	/boot/grub2/x86_64-efi/nilfs2.mod
8.0K	/boot/grub2/x86_64-efi/gcry_idea.mod
16K	/boot/grub2/x86_64-efi/gcry_crc.mod
24K	/boot/grub2/x86_64-efi/iso9660.mod
8.0K	/boot/grub2/x86_64-efi/msdospart.mod
8.0K	/boot/grub2/x86_64-efi/bswap_test.mod
8.0K	/boot/grub2/x86_64-efi/bitmap.mod
16K	/boot/grub2/x86_64-efi/http.mod
40K	/boot/grub2/x86_64-efi/ahci.mod
8.0K	/boot/grub2/x86_64-efi/newc.mod
12K	/boot/grub2/x86_64-efi/gcry_sha1.mod
12K	/boot/grub2/x86_64-efi/nativedisk.mod
4.0K	/boot/grub2/x86_64-efi/dm_nv.mod
12K	/boot/grub2/x86_64-efi/minix2.mod
16K	/boot/grub2/x86_64-efi/ext2.mod
8.0K	/boot/grub2/x86_64-efi/password_pbkdf2.mod
8.0K	/boot/grub2/x86_64-efi/probe.mod
4.0K	/boot/grub2/x86_64-efi/test_blockarg.mod
208K	/boot/grub2/x86_64-efi/zstd.mod
8.0K	/boot/grub2/x86_64-efi/usbserial_ftdi.mod
32K	/boot/grub2/x86_64-efi/font.mod
4.0K	/boot/grub2/x86_64-efi/div.mod
16K	/boot/grub2/x86_64-efi/zfsinfo.mod
4.0K	/boot/grub2/x86_64-efi/adler32.mod
12K	/boot/grub2/x86_64-efi/minix2_be.mod
4.0K	/boot/grub2/x86_64-efi/configfile.mod
8.0K	/boot/grub2/x86_64-efi/random.mod
4.0K	/boot/grub2/x86_64-efi/fixvideo.mod
4.0K	/boot/grub2/x86_64-efi/lsmmap.mod
8.0K	/boot/grub2/x86_64-efi/cmdline_cat_test.mod
12K	/boot/grub2/x86_64-efi/minix.mod
4.0K	/boot/grub2/x86_64-efi/password.mod
20K	/boot/grub2/x86_64-efi/lvm.mod
8.0K	/boot/grub2/x86_64-efi/moddep.lst
76K	/boot/grub2/x86_64-efi/bsd.mod
4.0K	/boot/grub2/x86_64-efi/part_amiga.mod
4.0K	/boot/grub2/x86_64-efi/strtoull_test.mod
16K	/boot/grub2/x86_64-efi/mmap.mod
12K	/boot/grub2/x86_64-efi/ufs1.mod
4.0K	/boot/grub2/x86_64-efi/wrmsr.mod
12K	/boot/grub2/x86_64-efi/tga.mod
56K	/boot/grub2/x86_64-efi/legacycfg.mod
8.0K	/boot/grub2/x86_64-efi/disk.mod
4.0K	/boot/grub2/x86_64-efi/increment.mod
12K	/boot/grub2/x86_64-efi/gcry_rmd160.mod
4.0K	/boot/grub2/x86_64-efi/cmp.mod
8.0K	/boot/grub2/x86_64-efi/procfs.mod
8.0K	/boot/grub2/x86_64-efi/usbserial_pl2303.mod
212K	/boot/grub2/x86_64-efi/grub.efi
4.0K	/boot/grub2/x86_64-efi/exfctest.mod
4.0K	/boot/grub2/x86_64-efi/ctz_test.mod
20K	/boot/grub2/x86_64-efi/at_keyboard.mod
4.0K	/boot/grub2/x86_64-efi/usbserial_common.mod
8.0K	/boot/grub2/x86_64-efi/tr.mod
4.0K	/boot/grub2/x86_64-efi/modinfo.sh
4.0K	/boot/grub2/x86_64-efi/sleep.mod
64K	/boot/grub2/x86_64-efi/btrfs.mod
4.0K	/boot/grub2/x86_64-efi/progress.mod
8.0K	/boot/grub2/x86_64-efi/gfxterm_background.mod
8.0K	/boot/grub2/x86_64-efi/iorw.mod
8.0K	/boot/grub2/x86_64-efi/lsefisystab.mod
4.0K	/boot/grub2/x86_64-efi/true.mod
8.0K	/boot/grub2/x86_64-efi/appleldr.mod
44K	/boot/grub2/x86_64-efi/ehci.mod
20K	/boot/grub2/x86_64-efi/gzio.mod
4.0K	/boot/grub2/x86_64-efi/xnu_uuid_test.mod
12K	/boot/grub2/x86_64-efi/usb_keyboard.mod
16K	/boot/grub2/x86_64-efi/setpci.mod
8.0K	/boot/grub2/x86_64-efi/cs5536.mod
12K	/boot/grub2/x86_64-efi/geli.mod
4.0K	/boot/grub2/x86_64-efi/hello.mod
12K	/boot/grub2/x86_64-efi/search_fs_uuid.mod
12K	/boot/grub2/x86_64-efi/extcmd.mod
8.0K	/boot/grub2/x86_64-efi/tar.mod
260K	/boot/grub2/x86_64-efi/normal.mod
4.0K	/boot/grub2/x86_64-efi/priority_queue.mod
8.0K	/boot/grub2/x86_64-efi/lsefimmap.mod
12K	/boot/grub2/x86_64-efi/div_test.mod
32K	/boot/grub2/x86_64-efi/terminfo.mod
8.0K	/boot/grub2/x86_64-efi/macbless.mod
4.0K	/boot/grub2/x86_64-efi/setjmp.mod
12K	/boot/grub2/x86_64-efi/tftp.mod
16K	/boot/grub2/x86_64-efi/video.mod
8.0K	/boot/grub2/x86_64-efi/cbls.mod
16K	/boot/grub2/x86_64-efi/elf.mod
4.0K	/boot/grub2/x86_64-efi/mdraid09_be.mod
4.0K	/boot/grub2/x86_64-efi/xnu_uuid.mod
4.0K	/boot/grub2/x86_64-efi/aout.mod
8.0K	/boot/grub2/x86_64-efi/gptsync.mod
4.0K	/boot/grub2/x86_64-efi/cpuid.mod
12K	/boot/grub2/x86_64-efi/zfscrypt.mod
4.0K	/boot/grub2/x86_64-efi/offsetio.mod
28K	/boot/grub2/x86_64-efi/gfxterm.mod
8.0K	/boot/grub2/x86_64-efi/search.mod
36K	/boot/grub2/x86_64-efi/multiboot.mod
8.0K	/boot/grub2/x86_64-efi/videotest.mod
28K	/boot/grub2/x86_64-efi/pgp.mod
12K	/boot/grub2/x86_64-efi/lzopio.mod
60K	/boot/grub2/x86_64-efi/test_asn1.mod
4.0K	/boot/grub2/x86_64-efi/version.mod
4.0K	/boot/grub2/x86_64-efi/keystatus.mod
4.0K	/boot/grub2/x86_64-efi/echo.mod
8.0K	/boot/grub2/x86_64-efi/command.lst
4.0K	/boot/grub2/x86_64-efi/rdmsr.mod
4.0K	/boot/grub2/x86_64-efi/terminal.lst
24K	/boot/grub2/x86_64-efi/appended_signature_test.mod
16K	/boot/grub2/x86_64-efi/afs.mod
4.0K	/boot/grub2/x86_64-efi/pbkdf2_test.mod
12K	/boot/grub2/x86_64-efi/tpm.mod
8.0K	/boot/grub2/x86_64-efi/boot.mod
16K	/boot/grub2/x86_64-efi/bfs.mod
4.0K	/boot/grub2/x86_64-efi/setjmp_test.mod
76K	/boot/grub2/x86_64-efi/gcry_camellia.mod
12K	/boot/grub2/x86_64-efi/minix3_be.mod
12K	/boot/grub2/x86_64-efi/cmp_test.mod
12K	/boot/grub2/x86_64-efi/efi_uga.mod
28K	/boot/grub2/x86_64-efi/serial.mod
4.0K	/boot/grub2/x86_64-efi/datehook.mod
8.0K	/boot/grub2/x86_64-efi/gcry_md5.mod
8.0K	/boot/grub2/x86_64-efi/play.mod
16K	/boot/grub2/x86_64-efi/exfat.mod
8.0K	/boot/grub2/x86_64-efi/pcidump.mod
4.0K	/boot/grub2/x86_64-efi/time.mod
4.0K	/boot/grub2/x86_64-efi/afsplitter.mod
16K	/boot/grub2/x86_64-efi/plainmount.mod
32K	/boot/grub2/x86_64-efi/gcry_cast5.mod
20K	/boot/grub2/x86_64-efi/f2fs.mod
8.0K	/boot/grub2/x86_64-efi/bli.mod
4.0K	/boot/grub2/x86_64-efi/efifwsetup.mod
4.0K	/boot/grub2/x86_64-efi/testspeed.mod
32K	/boot/grub2/x86_64-efi/gcry_seed.mod
20K	/boot/grub2/x86_64-efi/efinet.mod
4.0K	/boot/grub2/x86_64-efi/memdisk.mod
20K	/boot/grub2/x86_64-efi/png.mod
16K	/boot/grub2/x86_64-efi/video_bochs.mod
212K	/boot/grub2/x86_64-efi/core.efi
8.0K	/boot/grub2/x86_64-efi/gcry_rfc2268.mod
16K	/boot/grub2/x86_64-efi/uhci.mod
4.0K	/boot/grub2/x86_64-efi/part_sun.mod
36K	/boot/grub2/x86_64-efi/cryptodisk.mod
8.0K	/boot/grub2/x86_64-efi/lssal.mod
4.0K	/boot/grub2/x86_64-efi/eval.mod
16K	/boot/grub2/x86_64-efi/hdparm.mod
8.0K	/boot/grub2/x86_64-efi/videoinfo.mod
8.0K	/boot/grub2/x86_64-efi/gcry_md4.mod
24K	/boot/grub2/x86_64-efi/udf.mod
212K	/boot/grub2/x86_64-efi/net.mod
140K	/boot/grub2/x86_64-efi/regexp.mod
12K	/boot/grub2/x86_64-efi/affs.mod
88K	/boot/grub2/x86_64-efi/gcry_twofish.mod
24K	/boot/grub2/x86_64-efi/diskfilter.mod
28K	/boot/grub2/x86_64-efi/gcry_whirlpool.mod
4.0K	/boot/grub2/x86_64-efi/spkmodem.mod
8.0K	/boot/grub2/x86_64-efi/odc.mod
20K	/boot/grub2/x86_64-efi/jpeg.mod
84K	/boot/grub2/x86_64-efi/appendedsig.mod
12K	/boot/grub2/x86_64-efi/gfxterm_menu.mod
4.0K	/boot/grub2/x86_64-efi/part_gpt.mod
8.0K	/boot/grub2/x86_64-efi/archelp.mod
8.0K	/boot/grub2/x86_64-efi/fshelp.mod
64K	/boot/grub2/x86_64-efi/asn1.mod
36K	/boot/grub2/x86_64-efi/luks2.mod
8.0K	/boot/grub2/x86_64-efi/part_bsd.mod
12K	/boot/grub2/x86_64-efi/scsi.mod
12K	/boot/grub2/x86_64-efi/ufs2.mod
12K	/boot/grub2/x86_64-efi/gcry_sha256.mod
4.0K	/boot/grub2/x86_64-efi/datetime.mod
12K	/boot/grub2/x86_64-efi/romfs.mod
12K	/boot/grub2/x86_64-efi/minix_be.mod
4.0K	/boot/grub2/x86_64-efi/mdraid1x.mod
8.0K	/boot/grub2/x86_64-efi/loadbios.mod
64K	/boot/grub2/x86_64-efi/xnu.mod
4.0K	/boot/grub2/x86_64-efi/gcry_rsa.mod
16K	/boot/grub2/x86_64-efi/legacy_password_test.mod
12K	/boot/grub2/x86_64-efi/search_label.mod
8.0K	/boot/grub2/x86_64-efi/lsefi.mod
4.0K	/boot/grub2/x86_64-efi/cbtable.mod
64K	/boot/grub2/x86_64-efi/gcry_serpent.mod
4.0K	/boot/grub2/x86_64-efi/all_video.mod
16K	/boot/grub2/x86_64-efi/jfs.mod
28K	/boot/grub2/x86_64-efi/blscfg.mod
8.0K	/boot/grub2/x86_64-efi/cbmemc.mod
4.0K	/boot/grub2/x86_64-efi/part_dvh.mod
12K	/boot/grub2/x86_64-efi/lspci.mod
4.0K	/boot/grub2/x86_64-efi/bufio.mod
4.0K	/boot/grub2/x86_64-efi/date.mod
64K	/boot/grub2/x86_64-efi/linux.mod
16K	/boot/grub2/x86_64-efi/ata.mod
20K	/boot/grub2/x86_64-efi/video_cirrus.mod
8.0K	/boot/grub2/x86_64-efi/cat.mod
56K	/boot/grub2/x86_64-efi/video_fb.mod
12K	/boot/grub2/x86_64-efi/parttool.mod
8.0K	/boot/grub2/x86_64-efi/raid6rec.mod
4.0K	/boot/grub2/x86_64-efi/pbkdf2.mod
8.0K	/boot/grub2/x86_64-efi/hexdump.mod
4.0K	/boot/grub2/x86_64-efi/part_msdos.mod
4.0K	/boot/grub2/x86_64-efi/usbserial_usbdebug.mod
12K	/boot/grub2/x86_64-efi/search_fs_file.mod
8.0K	/boot/grub2/x86_64-efi/ls.mod
12K	/boot/grub2/x86_64-efi/hashsum.mod
4.0K	/boot/grub2/x86_64-efi/mul_test.mod
4.0K	/boot/grub2/x86_64-efi/fs.lst
12K	/boot/grub2/x86_64-efi/signature_test.mod
24K	/boot/grub2/x86_64-efi/xfs.mod
12K	/boot/grub2/x86_64-efi/crypto.mod
8.0K	/boot/grub2/x86_64-efi/keylayouts.mod
4.0K	/boot/grub2/x86_64-efi/part_acorn.mod
12K	/boot/grub2/x86_64-efi/lsacpi.mod
12K	/boot/grub2/x86_64-efi/minix3.mod
4.0K	/boot/grub2/x86_64-efi/video.lst
4.0K	/boot/grub2/x86_64-efi/part_plan.mod
12K	/boot/grub2/x86_64-efi/halt.mod
16K	/boot/grub2/x86_64-efi/fat.mod
56K	/boot/grub2/x86_64-efi/functional_test.mod
96K	/boot/grub2/x86_64-efi/zfs.mod
4.0K	/boot/grub2/x86_64-efi/sleep_test.mod
4.0K	/boot/grub2/x86_64-efi/mdraid09.mod
12K	/boot/grub2/x86_64-efi/luks.mod
16K	/boot/grub2/x86_64-efi/hfs.mod
8.0K	/boot/grub2/x86_64-efi/cbtime.mod
44K	/boot/grub2/x86_64-efi/gcry_des.mod
8.0K	/boot/grub2/x86_64-efi/efitextmode.mod
36K	/boot/grub2/x86_64-efi/xzio.mod
20K	/boot/grub2/x86_64-efi/gcry_tiger.mod
16K	/boot/grub2/x86_64-efi/ufs1_be.mod
20K	/boot/grub2/x86_64-efi/hfsplus.mod
40K	/boot/grub2/x86_64-efi/relocator.mod
4.0K	/boot/grub2/x86_64-efi/reboot.mod
20K	/boot/grub2/x86_64-efi/reiserfs.mod
40K	/boot/grub2/x86_64-efi/multiboot2.mod
4.0K	/boot/grub2/x86_64-efi/part_dfly.mod
12K	/boot/grub2/x86_64-efi/terminal.mod
8.0K	/boot/grub2/x86_64-efi/memrw.mod
16K	/boot/grub2/x86_64-efi/squash4.mod
12K	/boot/grub2/x86_64-efi/bitmap_scale.mod
8.0K	/boot/grub2/x86_64-efi/shift_test.mod
28K	/boot/grub2/x86_64-efi/ntfs.mod
4.0K	/boot/grub2/x86_64-efi/efi_netfs.mod
20K	/boot/grub2/x86_64-efi/ldm.mod
4.0K	/boot/grub2/x86_64-efi/part_sunpc.mod
4.0K	/boot/grub2/x86_64-efi/blocklist.mod
96K	/boot/grub2/x86_64-efi/gfxmenu.mod
8.0K	/boot/grub2/x86_64-efi/efienv.mod
12K	/boot/grub2/x86_64-efi/gettext.mod
12K	/boot/grub2/x86_64-efi/smbios.mod
72K	/boot/grub2/x86_64-efi/mpi.mod
8.0K	/boot/grub2/x86_64-efi/testload.mod
20K	/boot/grub2/x86_64-efi/macho.mod
4.0K	/boot/grub2/x86_64-efi/parttool.lst
4.0K	/boot/grub2/x86_64-efi/crypto.lst
4.0K	/boot/grub2/x86_64-efi/partmap.lst
28K	/boot/grub2/x86_64-efi/chain.mod
4.0K	/boot/grub2/x86_64-efi/read.mod
8.0K	/boot/grub2/x86_64-efi/minicmd.mod
8.0K	/boot/grub2/x86_64-efi/loopback.mod
12K	/boot/grub2/x86_64-efi/json.mod
8.0K	/boot/grub2/x86_64-efi/connectefi.mod
4.0K	/boot/grub2/x86_64-efi/backtrace.mod
8.0K	/boot/grub2/x86_64-efi/cpio.mod
8.0K	/boot/grub2/x86_64-efi/cbfs.mod
8.0K	/boot/grub2/x86_64-efi/gcry_dsa.mod
16K	/boot/grub2/x86_64-efi/loadenv.mod
4.0K	/boot/grub2/x86_64-efi/gcry_arcfour.mod
28K	/boot/grub2/x86_64-efi/ohci.mod
48K	/boot/grub2/x86_64-efi/syslinuxcfg.mod
4.0K	/boot/grub2/x86_64-efi/pkcs1_v15.mod
12K	/boot/grub2/x86_64-efi/gcry_sha512.mod
36K	/boot/grub2/x86_64-efi/file.mod
16K	/boot/grub2/x86_64-efi/gcry_blowfish.mod
16K	/boot/grub2/x86_64-efi/pata.mod
24K	/boot/grub2/x86_64-efi/acpi.mod
8.0K	/boot/grub2/x86_64-efi/hfspluscomp.mod
28K	/boot/grub2/x86_64-efi/usb.mod
8.0K	/boot/grub2/x86_64-efi/help.mod
28K	/boot/grub2/x86_64-efi/gcry_rijndael.mod
8.0K	/boot/grub2/x86_64-efi/usbtest.mod
20K	/boot/grub2/x86_64-efi/efi_gop.mod
12K	/boot/grub2/x86_64-efi/sfs.mod
4.0K	/boot/grub2/x86_64-efi/trig.mod
8.0K	/boot/grub2/x86_64-efi/cpio_be.mod
8.0K	/boot/grub2/x86_64-efi/morse.mod
16K	/boot/grub2/x86_64-efi/test.mod
12K	/boot/grub2/x86_64-efi/video_colors.mod
20K	/boot/grub2/x86_64-efi/usbms.mod
4.0K	/boot/grub2/x86_64-efi/videotest_checksum.mod
5.4M	/boot/grub2/x86_64-efi
8.0K	/boot/grub2/grub.cfg
116K	/boot/grub2/locale/it.mo
88K	/boot/grub2/locale/pt_BR.mo
8.0K	/boot/grub2/locale/lg.mo
168K	/boot/grub2/locale/ru.mo
156K	/boot/grub2/locale/en@piglatin.mo
132K	/boot/grub2/locale/fi.mo
156K	/boot/grub2/locale/fr.mo
104K	/boot/grub2/locale/gl.mo
84K	/boot/grub2/locale/tr.mo
176K	/boot/grub2/locale/en@greek.mo
160K	/boot/grub2/locale/vi.mo
28K	/boot/grub2/locale/id.mo
136K	/boot/grub2/locale/en@quot.mo
32K	/boot/grub2/locale/zh_TW.mo
156K	/boot/grub2/locale/ro.mo
64K	/boot/grub2/locale/pa.mo
44K	/boot/grub2/locale/eo.mo
136K	/boot/grub2/locale/zh_CN.mo
188K	/boot/grub2/locale/sr.mo
156K	/boot/grub2/locale/ko.mo
184K	/boot/grub2/locale/en@arabic.mo
132K	/boot/grub2/locale/pt.mo
148K	/boot/grub2/locale/pl.mo
48K	/boot/grub2/locale/ja.mo
124K	/boot/grub2/locale/nl.mo
100K	/boot/grub2/locale/lt.mo
128K	/boot/grub2/locale/ca.mo
196K	/boot/grub2/locale/uk.mo
156K	/boot/grub2/locale/ka.mo
176K	/boot/grub2/locale/en@cyrillic.mo
148K	/boot/grub2/locale/de.mo
128K	/boot/grub2/locale/hr.mo
120K	/boot/grub2/locale/da.mo
200K	/boot/grub2/locale/en@hebrew.mo
148K	/boot/grub2/locale/de_CH.mo
136K	/boot/grub2/locale/hu.mo
128K	/boot/grub2/locale/ast.mo
92K	/boot/grub2/locale/sl.mo
128K	/boot/grub2/locale/sv.mo
92K	/boot/grub2/locale/he.mo
128K	/boot/grub2/locale/nb.mo
128K	/boot/grub2/locale/es.mo
224K	/boot/grub2/locale/de@hebrew.mo
5.4M	/boot/grub2/locale
14M	/boot/grub2
4.0K	/boot/.vmlinuz-6.18.5-100.fc42.x86_64.hmac
11M	/boot/System.map-6.18.5-100.fc42.x86_64
18M	/boot/vmlinuz-6.18.5-100.fc42.x86_64
288K	/boot/config-6.18.7-100.fc42.x86_64
0	/boot/symvers-6.18.5-100.fc42.x86_64.xz
16K	/boot/lost+found
288K	/boot/config-6.18.5-100.fc42.x86_64
18M	/boot/vmlinuz-6.18.6-100.fc42.x86_64
4.0K	/boot/.vmlinuz-6.18.7-100.fc42.x86_64.hmac
4.0K	/boot/loader/entries/25a890ee8a15485c819f6286056c7ef4-6.18.7-100.fc42.x86_64.conf
4.0K	/boot/loader/entries/25a890ee8a15485c819f6286056c7ef4-6.18.6-100.fc42.x86_64.conf
4.0K	/boot/loader/entries/25a890ee8a15485c819f6286056c7ef4-6.18.5-100.fc42.x86_64.conf
4.0K	/boot/loader/entries/25a890ee8a15485c819f6286056c7ef4-0-rescue.conf
20K	/boot/loader/entries
24K	/boot/loader
18M	/boot/vmlinuz-0-rescue-25a890ee8a15485c819f6286056c7ef4
145M	/boot/initramfs-6.18.6-100.fc42.x86_64.img
267M	/boot/initramfs-0-rescue-25a890ee8a15485c819f6286056c7ef4.img
145M	/boot/initramfs-6.18.5-100.fc42.x86_64.img
11M	/boot/System.map-6.18.7-100.fc42.x86_64
0	/boot/symvers-6.18.7-100.fc42.x86_64.xz
0	/boot/symvers-6.18.6-100.fc42.x86_64.xz
145M	/boot/initramfs-6.18.7-100.fc42.x86_64.img
11M	/boot/System.map-6.18.6-100.fc42.x86_64
18M	/boot/vmlinuz-6.18.7-100.fc42.x86_64
4.0K	/boot/.vmlinuz-6.18.6-100.fc42.x86_64.hmac
816M	/boot

Personally, I’d delete the rescue kernel and alter my /etc/dracut.conf.d/nvidia.conf file to exclude the nouveau drivers, as I never use them and have no use for them:

┌─🎩 lurcher /etc/dracut.conf.d🔒
├─
└─➜ cat nvidia.conf                                                               22:25 Tue 10-Feb
File: nvidia.conf
omit_drivers+=" nouveau "

The spaces around the “nouveau” are important should you wish to replicate this.

I currently have 5 kernels in a 1 GB /boot partition taking up 532 MB and leaving me with almost 40% free space even with all 5 built.

nvme1n1
├─nvme1n1p1
│       vfat   FAT32                E7C4-2A26                             579.5M     3% /boot/efi
├─nvme1n1p2
│       ext4   1.0                  aa9d5fa9-811f-406e-bfc2-ebc488cc168e  532.7M    38% /boot
└─nvme1n1p3
        btrfs        fedora_lurcher 621611d2-ba0f-4a30-95d1-37b41f124596    1.6T    14% /home
                                                                                        /
1 Like

I should note that If you actually want to expand the size of the boot partition, then you must do so from a live USB - the resize needs to run against an unmounted partition.

Is it normally necessary to increase the size of /boot? I feel like there is some other problem occuring that is leading to it filling up. Is it acceptable to change the number of kernel versions perserved?

Not “normally” but with the ever-increasing size of graphics drivers, the original 1GB /boot that versions prior to F43 would create is no longer large enough to hold multiple kernels.

A fresh installation of F43 would give you 2GB. As you didn’t install F43 from scratch and allow anaconda to create these partition for you, you still have 1GB.

Options are:

  1. Increase /boot manually yourself from a Live USB stick using some partition editor
  2. Reduce the number of kernels installed
  3. Reduce the size of those kernels.

I chose option 3, by removing the nouveau drivers reducing them to 48 MB apiece.

3 Likes

In recent Fedora versions using dnf5, this would be:

sudo dnf list --installed "kernel*"

(Edit - no need for sudo, actually.)

2 Likes

And it still makes sense to use sudo alias for all actions sudo with dnf.
As I understood the cache is made for each user. So if you use with and without sudo you use two different caches. Or did this change already?

That is why i still use this which it takes allways sudo if you put it or not:

1 Like

I’ll give that a try, once I create nvidia.conf do I also need to delete old kernels or can I just wait for updates to come naturally?

You would create the conf file to exclude the nouveau drivers from any subsequent rebuilds of initramfs.

Then, to save quite a lot of space immediately, you would force rebuild each version of the initramfs with dracut:

sudo dracut --kver 6.18.10-200.fc43.x86_64 --force

for example. If you then looked at that initramfs in /boot you’ll see it’s substantially smaller than the others. Work your way through them all, and you’ll have released quite a lot of space. From that point onwards, your initramfs image files will be built around 50MB.