On Mon, Apr 07, 2025 at 06:08:22PM +0700, Andika Triwidada wrote:
> Not sure if this is the correct list to ask that question.
> But anyway, you need space for at least three sets of unpacked kernel images
> including generated initrd. For current x86 kernels, one set is roughly 75
> MB.
> So 250 MB should be safe for /boot size. But you need to ensure only 2
> latest
> kernels left, for instance, by executing 'sudo apt autoremove --purge' after
> installing the latest kernel and reboot. That way, you will have needed
> space for
> next kernel installation if needed.

Looking at my system, I am seeing initrd sizes of 130MB.  Add in another
10MB for the kernel, and you can not fit two kermels in 250MB.  Try 500MB
if you want to be sure to be able to fit two or three kernels at a time
for a while yet.  Of course better yet is not having a separate /boot
if you don't actually have a specific need for one.

-- 
Len Sorensen

Reply via email to