Whenever the Update Manager has an update regarding the kernel I also end up with an error like this one...
Code: Select all
gzip: stdout: No space left on device
cpio: write error: Broken pipe
E: mkinitramfs failure cpio 2 gzip 1
update-initramfs: failed for /boot/initrd.img-5.4.0-80-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.4.0-80-generic (--configure):
installed linux-image-5.4.0-80-generic package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.13) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-77-generic
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
Warning: No support for locale: en_US.utf8
gzip: stdout: No space left on device
cpio: write error: Broken pipe
E: mkinitramfs failure cpio 2 gzip 1
update-initramfs: failed for /boot/initrd.img-5.4.0-77-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.4.0-80-generic
initramfs-tools
But meanwhile... If I go into the BOOT folder down at the bottom of the frame it says that I have 37 megs of free space but the latest kernel file that came through is 70 megs and I'm expecting that the next kernel download is going to be greater than 70 megs and there won't be any space for it, so I have to go into Kernels in the Update Manager and delete the currently replaced old one to make space for what is going to be the new one...
Being an old school computer user (the first computer that I ever used was a "Tandy Model 3") I feel that this is something that should just be taking care of itself and not something that the User should really ever have to deal with, so my question is how to do I automate this to take care of itself or if there a way that I can give the BOOT folder like four times the current space that it has and not have to deal with this for a while?
I don't mind giving it more space as I have a 1 TB drive that is currently 75% empty with no current plans to suddenly fill it up.