#9 smaller /boot partition size
Opened 2 years ago by dustymabe. Modified 2 years ago

right now the boot partition size is 1G (25% of disk). Can we make it smaller?

[dustymabe@media images]$ sudo fdisk -l /dev/loop0 
Disk /dev/loop0: 4 GiB, 4294967296 bytes, 8388608 sectors
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: dos
Disk identifier: 0x9f433e6e

Device       Boot   Start     End Sectors  Size Id Type
/dev/loop0p1 *       2048  292863  290816  142M  6 FAT16
/dev/loop0p2       292864 2390015 2097152    1G 83 Linux
/dev/loop0p3      2390016 8386559 5996544  2.9G 83 Linux

Yes, it's already on my list to investigate why anaconda is giving such a large boot when auto partitioning is enabled on a small drive. Good to have a ticket to track it.

Metadata Update from @pbrobinson:
- Issue assigned to pbrobinson

2 years ago

historically it was increased for fedup (or the other, similar tool) to have enough space for an extra kernel + initramfs for the upgrade. Maybe this is not needed with dnf system upgrade anymore.

@till IoT doesn't use dnf at all due to the use of rpm-ostree being exclusive

Login to comment on this ticket.