mackissack
(Alfredo C Harvey)
June 22, 2024, 11:01pm
1
Fedora update showed it cannot update system
installing package kernel-core-6.9.5-200.fc40.x86_64 needs 6MB more space on the /boot filesystem
installing package kernel-core-6.9.5-200.fc40.x86_64 needs 6MB more space on the /boot filesystem
installing package kernel-core-6.9.5-200.fc40.x86_64 needs 6MB more space on the /boot filesystem
/home btrfs (Fedora) partition has plenty of space.
So, I freed some at the end in order to move it to the back and free space to allow /boot to be expanded.
But neither of the latter can be done.
dalto
(dalto)
June 22, 2024, 11:11pm
2
A couple of things:
You can’t move partitions that are mounted
You can only expand partitions to the right
If neither of those are your issue, please share some additional details about what exactly you are seeing.
2 Likes
mackissack
(Alfredo C Harvey)
June 23, 2024, 12:16am
3
I uploaded a GParted image.
dalto
(dalto)
June 23, 2024, 12:23am
4
Are you trying to make the changes from within your install? I don’t think you can move a partition you are actually using. Some filesystems allow online resizing but moving a partition usually requires you to boot off something else.
1 Like
mackissack
(Alfredo C Harvey)
June 23, 2024, 12:36am
5
Yes, from within.
I actually did it first from my user.
Then as root.
So, would I need to create a bootable USB with GParted?
dalto
(dalto)
June 23, 2024, 12:49am
6
Yes. Using a live CD for a Linux distro is one easy way.
1 Like
mackissack
(Alfredo C Harvey)
June 23, 2024, 1:15am
7
OK.
Following would I have to unmount the two partitions I want to work?
Unmount them, handle them and then mount them again?
vekruse
(Villy Kruse)
June 23, 2024, 4:14am
8
It would be useful to check what takes up all the space in /boot.
Running
sudo du -ah /boot
might give the answer.
1 Like
Just for future reference, I cannot ever recommend using the GParted move partition option. Specifically when it moves the start of the partition rather than the end.
File system resize from the end of the partition is very safe and straightforward with Btrfs. Grow or shrink, this is done while the file system is mounted, all the code to do it is in the linux btrfs kernel driver.
But file system move, by changing the start of the partition is super risky. Every single block in the partition must be relocated. I am not aware that this is fail safe in case of a crash or a power failure because it would require some decently complex journaling somewhere else (some other drive or partition) to constantly track the progress, and this journaling mechanism would itself have to be crash and fail safe.
Anyway, with Btrfs this is rarely needed anyway. If you have a bunch of free space at lower LBA’s (i.e. before the Btrfs partition rather than after it), then you just make that free space its own partition, and then use btrfs device add
to add that partition to the existing Btrfs file system. It’s similar to the concept of multiple PV’s in an VG yet you still have one LV with your file system on it - for those who grok LVM.
Btrfs and your drive do not care about having multiple partitions in a single Btrfs device. If all the used space can still fit on the original partition, you can remove the 2nd partition anytime. While testing, I inadvertently discovered I’d been running Fedora on a 2x partition Btrfs for nearly a year. There’s no real downside other than you might forget about it!
3 Likes
mackissack
(Alfredo C Harvey)
September 18, 2024, 8:40pm
10
Here it is.
Sorry for the delay
It is a dual boot system Windows 11 / Fedora 40
[root@localhost ahm]# du -ah /boot
8.5M /boot/System.map-6.8.7-200.fc39.x86_64
57M /boot/initramfs-6.8.7-300.fc40.x86_64.img
4.0K /boot/extlinux/kbdmap.c32
8.0K /boot/extlinux/dhcp.c32
16K /boot/extlinux/rosh.c32
4.0K /boot/extlinux/cmenu.c32
164K /boot/extlinux/hdt.c32
4.0K /boot/extlinux/hexdump.c32
16K /boot/extlinux/dmitest.c32
4.0K /boot/extlinux/debug.c32
8.0K /boot/extlinux/cpu.c32
16K /boot/extlinux/pxechn.c32
4.0K /boot/extlinux/dir.c32
16K /boot/extlinux/sysdump.c32
4.0K /boot/extlinux/pci.c32
4.0K /boot/extlinux/whichsys.c32
4.0K /boot/extlinux/disk.c32
8.0K /boot/extlinux/ifmemdsk.c32
4.0K /boot/extlinux/host.c32
4.0K /boot/extlinux/poweroff.c32
4.0K /boot/extlinux/sanboot.c32
4.0K /boot/extlinux/ethersel.c32
4.0K /boot/extlinux/vesainfo.c32
8.0K /boot/extlinux/lua.c32
4.0K /boot/extlinux/cmd.c32
4.0K /boot/extlinux/pmload.c32
4.0K /boot/extlinux/cpuidtest.c32
4.0K /boot/extlinux/meminfo.c32
28K /boot/extlinux/menu.c32
28K /boot/extlinux/memdisk
4.0K /boot/extlinux/pwd.c32
4.0K /boot/extlinux/cpuid.c32
4.0K /boot/extlinux/zzjson.c32
4.0K /boot/extlinux/elf.c32
8.0K /boot/extlinux/ifcpu.c32
24K /boot/extlinux/libmenu.c32
12K /boot/extlinux/syslinux.c32
8.0K /boot/extlinux/cptime.c32
12K /boot/extlinux/mboot.c32
8.0K /boot/extlinux/linux.c32
4.0K /boot/extlinux/pcitest.c32
104K /boot/extlinux/liblua.c32
4.0K /boot/extlinux/ls.c32
4.0K /boot/extlinux/ifplop.c32
4.0K /boot/extlinux/ifcpu64.c32
4.0K /boot/extlinux/prdhcp.c32
28K /boot/extlinux/libutil.c32
176K /boot/extlinux/libcom32.c32
116K /boot/extlinux/ldlinux.c32
8.0K /boot/extlinux/lfs.c32
4.0K /boot/extlinux/reboot.c32
28K /boot/extlinux/vesamenu.c32
8.0K /boot/extlinux/kontron_wdt.c32
4.0K /boot/extlinux/gpxecmd.c32
68K /boot/extlinux/libgpl.c32
4.0K /boot/extlinux/config.c32
12K /boot/extlinux/gfxboot.c32
28K /boot/extlinux/chain.c32
4.0K /boot/extlinux/cat.c32
12K /boot/extlinux/dmi.c32
4.0K /boot/extlinux/vpdtest.c32
4.0K /boot/extlinux/vesa.c32
4.0K /boot/extlinux/sdi.c32
1.1M /boot/extlinux
16K /boot/lost+found
4.0K /boot/loader/entries/15563227cdef4d809919b7245bb48059-6.8.7-300.fc40.x86_64.conf
4.0K /boot/loader/entries/15563227cdef4d809919b7245bb48059-6.7.11-200.fc39.x86_64.conf
4.0K /boot/loader/entries/15563227cdef4d809919b7245bb48059-6.8.6-200.fc39.x86_64.conf
4.0K /boot/loader/entries/15563227cdef4d809919b7245bb48059-0-memtest86+.conf
4.0K /boot/loader/entries/15563227cdef4d809919b7245bb48059-6.8.7-200.fc39.x86_64.conf
4.0K /boot/loader/entries/15563227cdef4d809919b7245bb48059-0-rescue.conf
28K /boot/loader/entries
32K /boot/loader
268K /boot/config-6.8.6-200.fc39.x86_64
8.5M /boot/System.map-6.8.7-300.fc40.x86_64
15M /boot/vmlinuz-6.7.11-200.fc39.x86_64
268K /boot/config-6.8.7-300.fc40.x86_64
15M /boot/vmlinuz-6.8.7-300.fc40.x86_64
15M /boot/vmlinuz-6.8.6-200.fc39.x86_64
55M /boot/initramfs-6.8.6-200.fc39.x86_64.img
12M /boot/vmlinuz-0-rescue-15563227cdef4d809919b7245bb48059
152K /boot/memtest86+x64.efi
268K /boot/config-6.8.7-200.fc39.x86_64
0 /boot/symvers-6.7.11-200.fc39.x86_64.xz
264K /boot/config-6.7.11-200.fc39.x86_64
4.0K /boot/.vmlinuz-6.8.7-300.fc40.x86_64.hmac
15M /boot/vmlinuz-6.8.7-200.fc39.x86_64
0 /boot/symvers-6.8.6-200.fc39.x86_64.xz
8.5M /boot/System.map-6.7.11-200.fc39.x86_64
4.0K /boot/.vmlinuz-6.7.11-200.fc39.x86_64.hmac
0 /boot/symvers-6.8.7-200.fc39.x86_64.xz
0 /boot/symvers-6.8.7-300.fc40.x86_64.xz
2.3M /boot/grub2/fonts/unicode.pf2
2.3M /boot/grub2/fonts
0 /boot/grub2/grubenv
4.0K /boot/grub2/themes/system
8.0K /boot/grub2/themes
8.0K /boot/grub2/grub.cfg
2.4M /boot/grub2
4.0K /boot/.vmlinuz-6.8.7-200.fc39.x86_64.hmac
86M /boot/initramfs-0-rescue-15563227cdef4d809919b7245bb48059.img
55M /boot/initramfs-6.8.7-200.fc39.x86_64.img
8.5M /boot/System.map-6.8.6-200.fc39.x86_64
55M /boot/initramfs-6.7.11-200.fc39.x86_64.img
4.0K /boot/.vmlinuz-6.8.6-200.fc39.x86_64.hmac
80K /boot/efi/EFI/Microsoft/Boot/bg-BG/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/bg-BG/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/bg-BG
12K /boot/efi/EFI/Microsoft/Boot/winsipolicy.p7b
80K /boot/efi/EFI/Microsoft/Boot/cs-CZ/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/cs-CZ/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/cs-CZ/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/cs-CZ
80K /boot/efi/EFI/Microsoft/Boot/da-DK/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/da-DK/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/da-DK/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/da-DK
84K /boot/efi/EFI/Microsoft/Boot/de-DE/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/de-DE/memtest.efi.mui
84K /boot/efi/EFI/Microsoft/Boot/de-DE/bootmgfw.efi.mui
220K /boot/efi/EFI/Microsoft/Boot/de-DE
84K /boot/efi/EFI/Microsoft/Boot/el-GR/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/el-GR/memtest.efi.mui
84K /boot/efi/EFI/Microsoft/Boot/el-GR/bootmgfw.efi.mui
220K /boot/efi/EFI/Microsoft/Boot/el-GR
76K /boot/efi/EFI/Microsoft/Boot/en-GB/bootmgfw.efi.mui
76K /boot/efi/EFI/Microsoft/Boot/en-GB/bootmgr.efi.mui
156K /boot/efi/EFI/Microsoft/Boot/en-GB
76K /boot/efi/EFI/Microsoft/Boot/en-US/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/en-US/memtest.efi.mui
76K /boot/efi/EFI/Microsoft/Boot/en-US/bootmgfw.efi.mui
200K /boot/efi/EFI/Microsoft/Boot/en-US
80K /boot/efi/EFI/Microsoft/Boot/es-ES/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/es-ES/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/es-ES/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/es-ES
80K /boot/efi/EFI/Microsoft/Boot/es-MX/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/es-MX/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/es-MX
80K /boot/efi/EFI/Microsoft/Boot/et-EE/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/et-EE/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/et-EE
80K /boot/efi/EFI/Microsoft/Boot/fi-FI/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/fi-FI/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/fi-FI/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/fi-FI
84K /boot/efi/EFI/Microsoft/Boot/fr-CA/bootmgfw.efi.mui
84K /boot/efi/EFI/Microsoft/Boot/fr-CA/bootmgr.efi.mui
172K /boot/efi/EFI/Microsoft/Boot/fr-CA
84K /boot/efi/EFI/Microsoft/Boot/fr-FR/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/fr-FR/memtest.efi.mui
84K /boot/efi/EFI/Microsoft/Boot/fr-FR/bootmgfw.efi.mui
220K /boot/efi/EFI/Microsoft/Boot/fr-FR
80K /boot/efi/EFI/Microsoft/Boot/hr-HR/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/hr-HR/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/hr-HR
84K /boot/efi/EFI/Microsoft/Boot/hu-HU/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/hu-HU/memtest.efi.mui
84K /boot/efi/EFI/Microsoft/Boot/hu-HU/bootmgfw.efi.mui
220K /boot/efi/EFI/Microsoft/Boot/hu-HU
80K /boot/efi/EFI/Microsoft/Boot/it-IT/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/it-IT/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/it-IT/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/it-IT
72K /boot/efi/EFI/Microsoft/Boot/ja-JP/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/ja-JP/memtest.efi.mui
72K /boot/efi/EFI/Microsoft/Boot/ja-JP/bootmgfw.efi.mui
192K /boot/efi/EFI/Microsoft/Boot/ja-JP
2.0M /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
2.0M /boot/efi/EFI/Microsoft/Boot/bootmgr.efi
56K /boot/efi/EFI/Microsoft/Boot/kdnet_uart16550.dll
84K /boot/efi/EFI/Microsoft/Boot/kdstub.dll
68K /boot/efi/EFI/Microsoft/Boot/kd_02_10df.dll
428K /boot/efi/EFI/Microsoft/Boot/kd_02_10ec.dll
64K /boot/efi/EFI/Microsoft/Boot/kd_02_1137.dll
268K /boot/efi/EFI/Microsoft/Boot/kd_02_14e4.dll
84K /boot/efi/EFI/Microsoft/Boot/kd_02_15b3.dll
80K /boot/efi/EFI/Microsoft/Boot/kd_02_1969.dll
68K /boot/efi/EFI/Microsoft/Boot/kd_02_19a2.dll
60K /boot/efi/EFI/Microsoft/Boot/kd_02_1af4.dll
324K /boot/efi/EFI/Microsoft/Boot/kd_02_8086.dll
56K /boot/efi/EFI/Microsoft/Boot/kd_07_1415.dll
1.8M /boot/efi/EFI/Microsoft/Boot/memtest.efi
68K /boot/efi/EFI/Microsoft/Boot/ko-KR/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/ko-KR/memtest.efi.mui
68K /boot/efi/EFI/Microsoft/Boot/ko-KR/bootmgfw.efi.mui
184K /boot/efi/EFI/Microsoft/Boot/ko-KR
80K /boot/efi/EFI/Microsoft/Boot/lt-LT/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/lt-LT/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/lt-LT
80K /boot/efi/EFI/Microsoft/Boot/lv-LV/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/lv-LV/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/lv-LV
12K /boot/efi/EFI/Microsoft/Boot/boot.stl
80K /boot/efi/EFI/Microsoft/Boot/nb-NO/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/nb-NO/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/nb-NO/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/nb-NO
80K /boot/efi/EFI/Microsoft/Boot/nl-NL/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/nl-NL/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/nl-NL/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/nl-NL
80K /boot/efi/EFI/Microsoft/Boot/pl-PL/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/pl-PL/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/pl-PL/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/pl-PL
80K /boot/efi/EFI/Microsoft/Boot/pt-BR/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/pt-BR/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/pt-BR/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/pt-BR
80K /boot/efi/EFI/Microsoft/Boot/pt-PT/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/pt-PT/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/pt-PT/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/pt-PT
56K /boot/efi/EFI/Microsoft/Boot/qps-ploc/memtest.efi.mui
60K /boot/efi/EFI/Microsoft/Boot/qps-ploc
80K /boot/efi/EFI/Microsoft/Boot/ro-RO/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/ro-RO/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/ro-RO
80K /boot/efi/EFI/Microsoft/Boot/ru-RU/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/ru-RU/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/ru-RU/bootmgfw.efi.mui
208K /boot/efi/EFI/Microsoft/Boot/ru-RU
80K /boot/efi/EFI/Microsoft/Boot/sk-SK/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/sk-SK/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/sk-SK
80K /boot/efi/EFI/Microsoft/Boot/sl-SI/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/sl-SI/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/sl-SI
80K /boot/efi/EFI/Microsoft/Boot/sr-Latn-RS/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/sr-Latn-RS/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/sr-Latn-RS
80K /boot/efi/EFI/Microsoft/Boot/sv-SE/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/sv-SE/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/sv-SE/bootmgfw.efi.mui
208K /boot/efi/EFI/Microsoft/Boot/sv-SE
80K /boot/efi/EFI/Microsoft/Boot/tr-TR/bootmgr.efi.mui
48K /boot/efi/EFI/Microsoft/Boot/tr-TR/memtest.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/tr-TR/bootmgfw.efi.mui
212K /boot/efi/EFI/Microsoft/Boot/tr-TR
80K /boot/efi/EFI/Microsoft/Boot/uk-UA/bootmgfw.efi.mui
80K /boot/efi/EFI/Microsoft/Boot/uk-UA/bootmgr.efi.mui
164K /boot/efi/EFI/Microsoft/Boot/uk-UA
84K /boot/efi/EFI/Microsoft/Boot/kd_0C_8086.dll
64K /boot/efi/EFI/Microsoft/Boot/zh-CN/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/zh-CN/memtest.efi.mui
64K /boot/efi/EFI/Microsoft/Boot/zh-CN/bootmgfw.efi.mui
176K /boot/efi/EFI/Microsoft/Boot/zh-CN
64K /boot/efi/EFI/Microsoft/Boot/zh-TW/bootmgr.efi.mui
44K /boot/efi/EFI/Microsoft/Boot/zh-TW/memtest.efi.mui
64K /boot/efi/EFI/Microsoft/Boot/zh-TW/bootmgfw.efi.mui
176K /boot/efi/EFI/Microsoft/Boot/zh-TW
64K /boot/efi/EFI/Microsoft/Boot/BOOTSTAT.DAT
44K /boot/efi/EFI/Microsoft/Boot/Fonts/segmono_boot.ttf
100K /boot/efi/EFI/Microsoft/Boot/Fonts/segoen_slboot.ttf
100K /boot/efi/EFI/Microsoft/Boot/Fonts/segoe_slboot.ttf
3.6M /boot/efi/EFI/Microsoft/Boot/Fonts/chs_boot.ttf
3.7M /boot/efi/EFI/Microsoft/Boot/Fonts/cht_boot.ttf
1.9M /boot/efi/EFI/Microsoft/Boot/Fonts/jpn_boot.ttf
2.3M /boot/efi/EFI/Microsoft/Boot/Fonts/kor_boot.ttf
192K /boot/efi/EFI/Microsoft/Boot/Fonts/malgunn_boot.ttf
192K /boot/efi/EFI/Microsoft/Boot/Fonts/malgun_boot.ttf
160K /boot/efi/EFI/Microsoft/Boot/Fonts/meiryon_boot.ttf
164K /boot/efi/EFI/Microsoft/Boot/Fonts/meiryo_boot.ttf
180K /boot/efi/EFI/Microsoft/Boot/Fonts/msjhn_boot.ttf
180K /boot/efi/EFI/Microsoft/Boot/Fonts/msjh_boot.ttf
172K /boot/efi/EFI/Microsoft/Boot/Fonts/msyhn_boot.ttf
172K /boot/efi/EFI/Microsoft/Boot/Fonts/msyh_boot.ttf
48K /boot/efi/EFI/Microsoft/Boot/Fonts/wgl4_boot.ttf
14M /boot/efi/EFI/Microsoft/Boot/Fonts
16K /boot/efi/EFI/Microsoft/Boot/Resources/en-US/bootres.dll.mui
20K /boot/efi/EFI/Microsoft/Boot/Resources/en-US
172K /boot/efi/EFI/Microsoft/Boot/Resources/bootres.dll
196K /boot/efi/EFI/Microsoft/Boot/Resources
52K /boot/efi/EFI/Microsoft/Boot/BCD
64K /boot/efi/EFI/Microsoft/Boot/BCD.LOG
0 /boot/efi/EFI/Microsoft/Boot/BCD.LOG1
0 /boot/efi/EFI/Microsoft/Boot/BCD.LOG2
4.0K /boot/efi/EFI/Microsoft/Boot/Policies/UnlockToken.pol
8.0K /boot/efi/EFI/Microsoft/Boot/Policies
12K /boot/efi/EFI/Microsoft/Boot/CIPolicies/Active/{5DAC656C-21AD-4A02-AB49-649917162E70}.cip
28K /boot/efi/EFI/Microsoft/Boot/CIPolicies/Active/{82443e1e-8a39-4b4a-96a8-f40ddc00b9f3}.cip
12K /boot/efi/EFI/Microsoft/Boot/CIPolicies/Active/{CDD5CB55-DB68-4D71-AA38-3DF2B6473A52}.cip
56K /boot/efi/EFI/Microsoft/Boot/CIPolicies/Active
60K /boot/efi/EFI/Microsoft/Boot/CIPolicies
28M /boot/efi/EFI/Microsoft/Boot
20K /boot/efi/EFI/Microsoft/Recovery/BCD
32K /boot/efi/EFI/Microsoft/Recovery/BCD.LOG
0 /boot/efi/EFI/Microsoft/Recovery/BCD.LOG1
0 /boot/efi/EFI/Microsoft/Recovery/BCD.LOG2
56K /boot/efi/EFI/Microsoft/Recovery
28M /boot/efi/EFI/Microsoft
732K /boot/efi/EFI/Boot/BOOTIA32.EFI
72K /boot/efi/EFI/Boot/fbia32.efi
88K /boot/efi/EFI/Boot/fbx64.efi
928K /boot/efi/EFI/Boot/bootx64.efi
1.8M /boot/efi/EFI/Boot
4.0K /boot/efi/EFI/fedora/BOOTIA32.CSV
4.0K /boot/efi/EFI/fedora/BOOTX64.CSV
2.9M /boot/efi/EFI/fedora/gcdia32.efi
3.8M /boot/efi/EFI/fedora/gcdx64.efi
2.9M /boot/efi/EFI/fedora/grubia32.efi
3.8M /boot/efi/EFI/fedora/grubx64.efi
660K /boot/efi/EFI/fedora/mmia32.efi
832K /boot/efi/EFI/fedora/mmx64.efi
928K /boot/efi/EFI/fedora/shim.efi
8.0K /boot/efi/EFI/fedora/grub.cfg.rpmsave
732K /boot/efi/EFI/fedora/shimia32.efi
0 /boot/efi/EFI/fedora/grubenv.rpmsave
928K /boot/efi/EFI/fedora/shimx64.efi
4.0K /boot/efi/EFI/fedora/grub.cfg
18M /boot/efi/EFI/fedora
47M /boot/efi/EFI
3.1M /boot/efi/BOOT/BOOT.SDI
3.1M /boot/efi/BOOT
4.0K /boot/efi/System Volume Information/WPSettings.dat
4.0K /boot/efi/System Volume Information/IndexerVolumeGuid
12K /boot/efi/System Volume Information
4.0K /boot/efi/System/Library/CoreServices/SystemVersion.plist
8.0K /boot/efi/System/Library/CoreServices
12K /boot/efi/System/Library
16K /boot/efi/System
4.0K /boot/efi/FSCK0000.REC
4.0K /boot/efi/mach_kernel
4.0K /boot/efi/$RECYCLE.BIN/desktop.ini
8.0K /boot/efi/$RECYCLE.BIN
50M /boot/efi
461M /boot
[root@localhost ahm]#
glb
(Gregory Lee Bartholomew)
September 18, 2024, 9:00pm
11
Are you using the Syslinux bootloader? It’s unusual that people use that because it has to be recompiled with a special patch to work with BLS.
If you aren’t using Syslinux, you can uninstall all the syslinux* packages from your system and that should remove the /boot/extlinux stuff. (If it doesn’t, you can remove those files manually after you have uninstalled the syslinux packages.)
You could also remove the dracut-config-rescue
package and any related *rescue*
files on your $BOOT partiton.
Beyond that, you could reduce the number of kernels your system keeps installed by changing the value of installonly_limit
in /etc/dnf/dnf.conf.
It is also possible to reduce the size of the initrd files by removing the video drivers from them. There are some caveats to doing that though. I wouldn’t do it if it still requires disabling SELinux.