• Re: /boot partition size

    From Lennart Sorensen@21:1/5 to Andika Triwidada on Mon Apr 7 15:20:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Cyril Brulebois@21:1/5 to All on Mon Apr 7 15:30:02 2025
    Lennart Sorensen <lsorense@csclub.uwaterloo.ca> (2025-04-07):
    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.

    Indeed, I wouldn't advise anything below 500M. It's worth keeping in
    mind `apt-get auto{remove,purge}` will keep 2 linux-image-* by default,
    so unless you get rid of the older one manually, that means you need to
    fit 3 kernels (and associated initramfses) at least in a transitory
    fashion (until the next auto{remove,purge} call happens).


    Cheers,
    --
    Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
    D-I release manager -- Release team member -- Freelance Consultant

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmfz0hsACgkQ/5FK8MKz VSB/eA/+LLbpNmG2OzxXLU02n9NhG2oTyhuiYrNHDQDY42DLBrcruWJsDm3MtCQ3 cTJeq7BJK4ka94AdZBYe65+7owCqVmfGxj8vSLx188DxZxuR2TGju4ast62Sf78m xU7245WJE3oO86E09UEXuCRG67ngdzR85HJ8amQMI3PLnL5SnOkbYmmuvxV1zylv bnc+1roLWjy9W9PD9gDUf7ULbgfHFTxFtKVugoxuN//JjjUPDp0LyjjDCWYJI5a1 ab14tgjJ6Gm9DTuB3kydCyFKTF1THRucE9t7YaqLH4MrlqnTcN2i1xFYkuVvCaea 8U8pfDkGZb1HTimAGUlmJVoKaoDJ5T8T53TXnD3Hzwin1aVySIaTzLwiJtWoO1o1 tz2M2xw2h2WWWojnzQnVvWYEgaMolnGmwAtYUZFWAJKmBh5v471O4WhHCkEvbgFc k9cIUxXGN6u0XI/ZUmKR3eDKvGM3qKM+2JKRuQH+DcNgZ7icqcSpqprMlmYIIAc2 4Xp9vpf4w3P5N0QCk2Ktop2n0hSn1h1oJQ8ZgeWILg6HU6olESLqMdgJGwiNc4Cc jB8+JhVBHukvL34zKNF+yw3PY5hSEwoxrOKU8Xj3knNXPG72b6LoXqew3CgUri2p kutk1yvCMR4ZtEPKfu8HjRzwoJTEhAu9F3lcA3qpAm0M24YLIrU=
    =rrpX
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    *
  • From Pascal Hambourg@21:1/5 to Jen K on Mon Apr 7 20:10:03 2025
    On 07/04/2025 at 09:23, Jen K wrote:
    I've been reading the official Debian install document, and I can't find an answer when it comes to partitioning how big the /boot should actually be.

    FWIW the /boot size has been raised to 768-1024 MB in Debian installer
    guided partitioning. Same with the EFI partition in provision for systemd-boot/BLS.

    While there are recommendations for /var, /tmp, /root and /home

    They are outdated.
    C.5.1. has a recommendation for /boot but it is outdated too.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)