[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Out of space error from dpkg, but I can't see where



Henrik Ahlgren <pablo@seestieto.com> wrote:
> 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.

Yes, it does seem likely that the size of /boot is the culprit.
There are currently (as is normal) just two kernel versions in /boot
and nothing much else of significance.

I assume therefore that the slow increase in kernel size has finally
caused this issue.

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?

-- 
Chris Green
·


Reply to: