While running 'apt updata' followed by 'apt upgrade' this morning I
got the following error from dpkg:-
...
...
Processing triggers for initramfs-tools (0.148.3) ...
update-initramfs: Generating /boot/initrd.img-6.12.63+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.63+deb13-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for hicolor-icon-theme (0.18-2) ...
Processing triggers for cups (2.4.10-3+deb13u2) ...
Errors were encountered while processing:
initramfs-tools
Error: Sub-process /usr/bin/dpkg returned an error code (1)
...
...
I can't see any obvious lack of space on any of the 'real' disk drives:-
Filesystem Type 1M-blocks Used Avail Use% Mounted on
/dev/mapper/t470--vg-root ext4 936644 201503 687490 23% /
efivarfs efivarfs 1 1 1 56% /sys/firmware/efi/efivars
/dev/sda1 ext4 960331 18776 892702 3% /bak
/dev/nvme0n1p2 ext2 456 264 168 62% /boot
/dev/nvme0n1p1 vfat 511 5 507 1% /boot/efi
While running 'apt updata' followed by 'apt upgrade' this morning I
got the following error from dpkg:-
...
...
Processing triggers for initramfs-tools (0.148.3) ...
update-initramfs: Generating /boot/initrd.img-6.12.63+deb13-amd64
zstd: error 70 : Write error : cannot write block : No space left on device
/dev/nvme0n1p2 ext2 456 264 168 62% /boot
The upgrade appeared to complete OK but it would still be good to know
what the 'No space' error was about.
I can't see any obvious lack of space on any of the 'real' disk drives:-
Filesystem Type 1M-blocks Used Avail Use% Mounted on
/dev/mapper/t470--vg-root ext4 936644 201503 687490 23% /
efivarfs efivarfs 1 1 1 56% /sys/firmware/efi/efivars
/dev/sda1 ext4 960331 18776 892702 3% /bak
/dev/nvme0n1p2 ext2 456 264 168 62% /boot
/dev/nvme0n1p1 vfat 511 5 507 1% /boot/efi
While running 'apt updata' followed by 'apt upgrade' this morning Idevice
got the following error from dpkg:-
...
...
Processing triggers for initramfs-tools (0.148.3) ...
update-initramfs: Generating /boot/initrd.img-6.12.63+deb13-amd64
zstd: error 70 : Write error : cannot write block : No space left on
E: mkinitramfs failure cpio 141h 1.
E: mkinitramfs failure zstd -q -9 -T0 70
update-initramfs: failed for /boot/initrd.img-6.12.63+deb13-amd64 wit
dpkg: error processing package initramfs-tools (--configure):s returned error exit status 1
installed initramfs-tools package post-installation script subproces
Processing triggers for hicolor-icon-theme (0.18-2) ...ed on
Processing triggers for cups (2.4.10-3+deb13u2) ...
Errors were encountered while processing:
initramfs-tools
Error: Sub-process /usr/bin/dpkg returned an error code (1)
...
...
I can't see any obvious lack of space on any of the 'real' disk drives:-
Filesystem Type 1M-blocks Used Avail Use% Mount
/dev/mapper/t470--vg-root ext4 936644 201503 687490 23% /firmware/efi/efivars
efivarfs efivarfs 1 1 1 56% /sys/
/dev/sda1 ext4 960331 18776 892702 3% /bak/efi
/dev/nvme0n1p2 ext2 456 264 168 62% /boot
/dev/nvme0n1p1 vfat 511 5 507 1% /boot
Even if I include tmpfs I can't see much wrong:-re/efi/efivars
Filesystem 1M-blocks Used Available Use% Mounted on
udev 3797 0 3797 0% /dev
tmpfs 772 2 770 1% /run
/dev/mapper/t470--vg-root 936644 201503 687490 23% /
tmpfs 3856 57 3800 2% /dev/shm
efivarfs 1 1 1 56% /sys/firmwa
tmpfs 5 1 5 1% /run/locktials/getty@tty1.service
/dev/sda1 960331 18776 892702 3% /bak
/dev/nvme0n1p2 456 264 168 62% /boot
tmpfs 3856 74 3782 2% /tmp
/dev/nvme0n1p1 511 5 507 1% /boot/efi
tmpfs 1 0 1 0% /run/creden
tmpfs 772 1 772 1% /run/user/1000
tmpfs 1 0 1 0% /run/credentials/systemd-journald.service
The upgrade appeared to complete OK but it would still be good to know
what the 'No space' error was about.
Any ideas anyone?
May be that your /boot device is too small.
/dev/nvme0n1p2 ext2 456 264 168 62% /boot
168M might not be enough.
Markus Sch”nhaber <debian-user@list-post.mks-mail.de> writes:
May be that your /boot device is too small.
/dev/nvme0n1p2 ext2 456 264 168 62% /boot
168M might not be enough.
The Debian installer creates (or at least created in past versions)
/boot which is too small by default to contain three kernel versions
(with default initramfs.conf). So unless you do "apt autoremove" or
manually delete the oldest kernel before upgrading, you very likely run
out of space.
What's the most straightforward way to increase the size of /boot?
There's **loads** of disk space available but since /boot is a
separate partition I guess I need to run gparted or some such from a
USB stick to shrink the / partition and grow /boot a bit.
Why is /boot a separate partition? On my other trixie system (not
EFI) everything is just one partition. Both systems were installed
'from scratch' and I just let the installer do default partitioning.
Does EFI really need to be so much more complicated?
[...]
Why is /boot a separate partition? On my other trixie system (not
EFI) everything is just one partition. Both systems were installed
'from scratch' and I just let the installer do default partitioning.
Does EFI really need to be so much more complicated?
On Mon, Jan 12, 2026 at 8:50?AM Chris Green <cl@isbd.net> wrote:
[...]
Why is /boot a separate partition? On my other trixie system (not
EFI) everything is just one partition. Both systems were installed
'from scratch' and I just let the installer do default partitioning.
Does EFI really need to be so much more complicated?
In the old days (like 20 years ago), /boot was a separate partition to arrange its physical location on the drive. /boot needed to be near
the beginning of the drive so grub could load properly, or grub could
load the kernel properly. Drive geometry had something to do with it,
and I believe Cylinder-Head-Sector (CHS) played a big part of it,
before linear addressing of large drives was ubiquitous.
Nowadays, on EFI systems, /boot could be a separate partition because
the EFI spec says the system partition is fat32. Some folks make
/boot fat32, while other folks make /boot/efi fat32.
My guess is your two Trixie systems have different configurations
because one is a MBR system, and one is an EFI system.
Anyway I created a gparted USB stick this afternoon and used it to
reduce the main (/) partition's size by 1.5Gb and added the resulting
extra space to the /boot partition. It took a **long** time to move
the 1Tb / partition along a bit (several hours) but it all worked very smoothly and I now have lots of spare space in /boot.
Jeffrey Walton <noloader@gmail.com> wrote::
On Mon, Jan 12, 2026 at 8:50?AM Chris Green <cl@isbd.net> wrote
[...]
Why is /boot a separate partition?ÿ On my other trixie system
(not EFI) everything is just one partition.ÿ Both systems were
installed 'from scratch' and I just let the installer do default partitioning.
Does EFI really need to be so much more complicated?
Anyway I created a gparted USB stick this afternoon and used it to
reduce the main (/) partition's size by 1.5Gb and added the resulting
extra space to the /boot partition.ÿ It took a **long** time to move
the 1Tb / partition along a bit (several hours) but it all worked
very smoothly and I now have lots of spare space in /boot.
Chris Green <cl@isbd.net> writes:
Anyway I created a gparted USB stick this afternoon and used it to
reduce the main (/) partition's size by 1.5Gb and added the resulting
extra space to the /boot partition. It took a **long** time to move
the 1Tb / partition along a bit (several hours) but it all worked very smoothly and I now have lots of spare space in /boot.
Well, good for you. I would've booted boot since what's the point? It
can just as well be a directory off / and /boot/efi can be the requisite
FAT partition. Especially as I at least usually have some largish rescue
iso like GRML in /boot as well. Don't need to fish around for some USB
stick for partition surgery when the rescue system is right there on the
SSD. And GRML makes it easy, there's a Debian package which generates a
GRUB entry to boot the ISO directly.
Why is /boot a separate partition? On my other trixie system (not
EFI) everything is just one partition. Both systems were installed
'from scratch' and I just let the installer do default partitioning.
Does EFI really need to be so much more complicated?
Not usually no. I can't speak of what the installer does by default, so
I don't doubt what you say, it's just that I always do it manually.
[...] Especially as I at least usually have some largish rescue iso
like GRML in /boot as well. Don't need to fish around for some USB
stick for partition surgery when the rescue system is right there on
the SSD. And GRML makes it easy, there's a Debian package which
generates a GRUB entry to boot the ISO directly.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 19:02:52 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
540 files (253M bytes) |
| Messages: | 70,845 |
| Posted today: | 26 |