On updating from CU 200 to CU 201, I got an error message in /var/log/pakfire/update-core-upgrade-201.log:
dracut[I]: Executing: /usr/bin/dracut --kver=6.18.7-ipfire --force
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: initqueue ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Creating image file '/boot/initramfs-6.18.7-ipfire.img.tmp' ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
cp: error writing '/boot/initramfs-6.18.7-ipfire.img.tmp': No space left on device
dracut[F]: Creation of /boot/initramfs-6.18.7-ipfire.img.tmp failed
Generating grub configuration file ...
Found background: /boot/grub/splash.png
Found linux image: /boot/vmlinuz-6.18.7-ipfire
Found initrd image: /boot/initramfs-6.18.7-ipfire.img
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs, skipping...
done
Afterwards, /boot has 26 Mb free as before the update. So, only the creation of that tmp file is having a problem (btw: wouldn’t it be possible to create that file on / and move it to /boot afterwards?).
The size for new installations was increased to 256MiB in 2022 with CU170.
Then in 2023 with CU175 it was increased to 512MiB as that is the minimum required for an XFS filesystem.
Yes my recommendation would be to do a fresh install and thereby ensure that you have a large enough boot partition not only for now but also for the future as the kernel size just keeps on increasing.
Looking at the current state of dracut skript shows, that even with option --force initramfs isn’t just overwritten but the operation is create tmp file → cp to destination file. This means that the space for initramfs is needed twice.
In CU200 this wasn’t the case. Therefore until now the process succeeded without problems.
My recommendation would be to take a backup. Download it from the IPFire system. Do a fresh install from a CU201 iso and then do a restore from the backup.
That way you will get a new boot partition that will be 512MiB and you will not run out of space with any updates.
You can also create an ISO backup and buse that for the install and restore in one go.
I have not tested that myself for several years. I always use normal install iso and a separate backup as I have processes on my IPFire system to automatically create backups on a weekly basis and then back them up to a central backup server using bacula.
I have used this method when the /boot partition needed to be resized the first time some years ago. This went quite well, however, I needed to reinstall all addons manually, so make a list before you do this.
There is a feature request that hasn’t been implemented, yet.
Done today. I made a backup of IPF release 200
I have restored it. Hopefully I have made of list for the addons.
The size of the boot partition was increased, so seems good for CU 201
In few days I will upgrade to CU 201