• Re: edu-debian net-install autopartition /boot to 500MB

    From Stefan Monnier@21:1/5 to All on Wed Aug 21 15:40:01 2024
    Ruslanas Gžibovskis [2024-08-21 16:16:54] wrote:
    Just wondering if you have a problem when doing automated partitioning
    during the debian deployment using edu-net-install iso?

    the problem I face is too small partition size, which is 500 MB, when a simple kernel now has the size of 234 MB, each time it needs to regenerate

    234MB? On this here machine it's more like 8MB for the kernel and 12MB
    for the initrd:

    -rw-r--r-- 1 root root 11557440 Dec 10 2023 initrd.img-6.1.0-13-amd64 -rw-r--r-- 1 root root 11668751 Jul 17 01:04 initrd.img-6.1.0-23-amd64
    [...]
    -rw-r--r-- 1 root root 8135584 Sep 29 2023 vmlinuz-6.1.0-13-amd64
    -rw-r--r-- 1 root root 8173504 Jul 15 03:42 vmlinuz-6.1.0-23-amd64

    FWIW, I have

    MODULES=dep
    COMPRESS=lzma

    in `/etc/initramfs-tools/initramfs.conf`, which helps keep the size of
    the initrd in check.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Ruslanas_G=C5=BEibovskis?@21:1/5 to All on Wed Aug 21 15:20:02 2024
    Hi all,

    Just wondering if you have a problem when doing automated partitioning
    during the debian deployment using edu-net-install iso?

    the problem I face is too small partition size, which is 500 MB, when a
    simple kernel now has the size of 234 MB, each time it needs to regenerate
    even the same kernel it is running out of space and failing, as workaround
    I remove kernel and install it again :D

    would you suggest any fix/solution? do you know if it is already fixed in testing image?

    --
    Ruslanas Gžibovskis
    +370 6030 7030

    <div dir="ltr">Hi all,<div><div><br></div><div>Just wondering if you have a problem when doing automated partitioning during the debian deployment using edu-net-install iso?</div><div><br></div><div>the problem I face is too small partition size, which
    is 500 MB, when a simple kernel now has the size of 234 MB, each time it needs to regenerate even the same kernel it is running out of space and failing, as workaround I remove kernel and install it again :D</div><div><br></div><div>would you suggest any
    fix/solution? do you know if it is already fixed in testing image?</div><div> </div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ruslanas Gžibovskis<br>+
    370 6030 7030<br></div></div></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Felix Miata@21:1/5 to All on Wed Aug 21 19:30:01 2024
    Ruslanas Gžibovskis composed on 2024-08-21 16:16 (UTC+0300):

    Just wondering if you have a problem when doing automated partitioning
    during the debian deployment using edu-net-install iso?

    the problem I face is too small partition size, which is 500 MB, when a

    Are you sure you require a separate /boot/ filesystem? Are you confusing ESP partition with /boot/ partition? 500MB is grossly oversize for most ESP usage.

    simple kernel now has the size of 234 MB, each time it needs to regenerate even the same kernel it is running out of space and failing, as workaround
    I remove kernel and install it again :D

    Installation size is not equal to size required by a separate /boot/ filesystem.
    Most of the installed size in Bookworm or Trixie is in /usr/lib/modules/ on the /
    filesystem.
    --
    Evolution as taught in public schools is, like religion,
    based on faith, not based on science.

    Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

    Felix Miata

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Stefan Monnier on Wed Aug 21 20:30:01 2024
    On Wed, 21 Aug 2024 09:37:08 -0400
    Stefan Monnier <monnier@iro.umontreal.ca> wrote:

    FWIW, I have

    MODULES=dep
    COMPRESS=lzma

    in `/etc/initramfs-tools/initramfs.conf`, which helps keep the size of
    the initrd in check.

    Indeed. Thank you. Making the first change knocked my initrd from 67M
    down to about 24M. Adding the latter dropped it down to 20M.

    The tool to do this for the current initrd is:

    update-initramfs -u

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

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