[-] arsus5478@lemmy.ml 0 points 4 days ago

still don't follow: should I shrink instead of resize?

[-] arsus5478@lemmy.ml 0 points 4 days ago
[-] arsus5478@lemmy.ml 1 points 4 days ago* (last edited 4 days ago)

just to avoid misunderstandings, I assume the final >french accent lemmy wont show< in your code is lemmy code and you forgot to type the >french accent lemmy wont show< at the beginning of the command, right? because the one without the >french accent lemmy wont show< returns -bash: update-initramfs: command not found

incidentally, another member suggested I run sudo dpkg-reconfigure initramfs-tools

it returns:

update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.148.3) ... update-initramfs: Generating /boot/initrd.img-6.12.41+deb13-amd64 zstd: error 70 : Write error : cannot write block : No space left on device E: mkinitramfs failure cpio 141 E: mkinitramfs failure zstd -q -9 -T0 70 update-initramfs: failed for /boot/initrd.img-6.12.41+deb13-amd64 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: initramfs-tools

but this is something I don't understand. I deleted 6 old kernels already. There are only 3 left.

After checking KDE Partition Manager for /boot and /boot/efi both have free space left:

/boot size: 488 MiB

/boot used: 396.26 MiB

/boot/efi size: 512 MiB

/boot/efi used: 10.52 MiB

[-] arsus5478@lemmy.ml 1 points 4 days ago

sorry, typed that wrong, debian 12.11

[-] arsus5478@lemmy.ml 1 points 4 days ago

I listed all installed kernels:

dpkg -l | grep linux-image | awk '{print$2}'

then removed several old kernels:

sudo apt remove --purge linux-image-XXX

then updated grub:

sudo update-grub2

[-] arsus5478@lemmy.ml 1 points 4 days ago

I used sudo apt update && sudo apt upgrade -y

view more: ‹ prev next ›

arsus5478

joined 5 days ago