Boot partition only has enough space for one kernel
I can't install both the linux-lts
kernel and the linux-edge
kernel because the boot partition doesn't have enough space for it.
This is what I have installed now:
desktop:~$ apk info | rg linux-
linux-pam
linux-firmware-amdgpu
linux-headers
linux-edge
Gnome Disks reports that the boot partition has 105 MB in use, has 45 MB free space, and is 57.3% full.
This is what I get if I try to install linux-lts
:
desktop:~$ doas apk add linux-lts
(1/1) Installing linux-lts (5.15.43-r0)
Executing busybox-1.35.0-r13.trigger
Executing kmod-29-r2.trigger
Executing mkinitfs-3.6.1-r1.trigger
==> initramfs: creating /boot/initramfs-lts
gzip: short write: No space left on device
cpio: write error: Broken pipe
Executing syslinux-6.04_pre1-r10.trigger
/boot is device /dev/nvme0n1p1
OK: 3239 MiB in 656 packages
Then, I get an notification saying "Low Disk Space on boot
. The volume boot
has only 0 bytes disk space remaining.", and Gnome Disks reports that the boot partition has 2.1 MB free space, and is 98.0% full. So, I have to remove linux-lts
again.
Could the space issue be because of all the AMD firmware stuff? Is the expected behavior to have room for only one kernel at a time? Or have I maybe configured my system incorrectly?
Maybe we can adjust the install scripts to configure a larger boot partition for some systems?