I have Ubuntu 24.04 root on zfs.
I was wondering if someone could help to understand what is happening here:
root@orac:/home/mike# update-initramfs -c -k $(uname -r)
update-initramfs: Generating /boot/initrd.img-6.8.0-147-generic
I: The initramfs will attempt to resume from /dev/sdc2
I: (UUID=4beae336-bf28-47f2-9708-c7cb476aa378)
I: Set the RESUME variable to override this.
cat: /var/tmp/mkinitramfs-FW_TPa9hn: No space left on device
update-initramfs: failed for /boot/initrd.img-6.8.0-147-generic with 1.
root@orac:/home/mike# zsysctl list
ID ZSys Last Used
-- ---- ---------
rpool/ROOT/ubuntu_jqp85c true current
root@orac:/home/mike# zfs list -o space rpool/ROOT/ubuntu_jqp85c/var
NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD
rpool/ROOT/ubuntu_jqp85c/var 723G 30.6G 0B 96K 0B 30.6G
root@orac:/home/mike#
root@orac:/home/mike# update-initramfs -c -k $(uname -r)
update-initramfs: Generating /boot/initrd.img-6.8.0-147-generic
I: The initramfs will attempt to resume from /dev/sdc2
I: (UUID=4beae336-bf28-47f2-9708-c7cb476aa378)
I: Set the RESUME variable to override this.
cat: /var/tmp/mkinitramfs-FW_TPa9hn: No space left on device
update-initramfs: failed for /boot/initrd.img-6.8.0-147-generic with 1.
Note the very first line of output returned: Generating /boot/initrd.img-6.8.0-147-generic.
You got sniped by only looking directly at the line that reported the ENOSPC itself:
cat: /var/tmp/mkinitramfs-FW_TPa9hn: No space left on device
I suspect the entire command was cat /var/tmp/mkinitramfs-FW_TPa9hn > /boot/initrd.img-6.8.0-147-generic… but the shell’s error reporting only showed the initial command, not the redirect.
Probably just destroyed some of the multiple boot environments we see listed in that ls output. Even without BEs, you sometimes see very small /bootpartitions run out of space after an upgrade (which is why very small /boot partitions are a bad idea).
Hell, I’ve even had the same issue under Windows! You ENOSPC your UEFI partition, you’re gonna have a bad time…