Hi,

Pascal Hambourg <pas...@plouf.fr.eu.org> wrote (Sun, 25 Aug 2024 22:03:28 
+0200):
> On 25/08/2024 at 19:03, Holger Wansing wrote:
> > 
> >> I have prepared a netinst image for testing now with both above mentioned 
> >> MRs:
> >> https://people.debian.org/~holgerw/d-i__new-limits_and_fix-envelope-calculation/
> 
> Thank you.
> 
> >> (960 MB, sorry)
> 
> Wow, what makes it so much bigger than the 12.6 netinst image (662MB) ?
> It will barely fit in my good old 1GB USB stick...

That's a follow-up from the GR decision, to include firmware in the 
installation images, I think.
For the test image, I took the daily netinst image from yesterday and just
replaced the partman-auto and partman-auto-lvm udebs.
In other words, the latest netinst images are that big!

> > Screenshots from tests with 4 different disk sizes are at the same URL as
> > above.
> > As can be seen, /boot is 1G of size in most cases, even on a 10G disk.
> > I guess that not how it's supposed to be?
> 
> Actually it is: parted shows that the exact /boot size with atomic/home 
> on 10GiB (10.73GB) is 1001MB and is the expected result per the 
> specification algorithm. It is close to the maximum 1024MB because 10GiB 
> is close to the "threshold" disk size which allows /boot to reach its 
> maximum size (~11.2GB). 868MB with multi is also the expected result.
> 
> All other disk sizes are above the threshold, so /boot size is maximum.
> 
> The recipes give /boot a rather high priority: 5% of available space 
> (same as / which is much bigger), so the gap between the maximum and 
> minimum size (256MB) is reached with only 5.1GB extra disk space above 
> the minimum disk space (6.1GB for atomic and home, 8.7GB for multi). 
> Maybe I should lower the priority...

Maybe something should be changed.

Otherwise, we can skip the whole calculation for /boot completely:
if /boot reaches its maximum on a 10G disk (which is near at the absolute 
minimum disk size these days) we should better go with a fixed size
of 1G for /boot (and ESP).


Holger


-- 
Holger Wansing <hwans...@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

Reply via email to