Hi Pascal,

Pascal Hambourg <pas...@plouf.fr.eu.org> wrote (Mon, 26 Aug 2024 22:49:27 
+0200):
> On 26/08/2024 at 08:34, Holger Wansing wrote:
> >> If you provide the minimum disk size required to reach /boot maximum
> >> size, I can adjust the priority accordingly.
> > 
> > I think 25G should be fine.
> > (Can ESP get the same values BTW?)
> 
> Yes. The actual threshold is not very accurate due to the current 
> algorithm granularity (priorities are normalized on a base 100 and 
> rounded to integers). I updated the MR with two new commits:
> - increase / minimum size and tweak ESP and /boot priorites
> - add small_disk recipe for 3GB-10GB disks
> 
> New minimum disk sizes (with EFI and LVM):
> - atomic 10GB
> - home   10.5G
> - multi  12.5GB
> - server 10GB

I built a test netinst image [1] with above changings (and BTW this time
I removed the firmware files existing doubled in my previous image, so
this one is 771 MB; but please note, that the firmware packages are no
longer in /pool, so for testing the installer / partitioning this image
is fine, but it cannot install firmware files into the target system).

And I did some tests again; the results are at [2].
To give a short summary: the results are really really great !!! 
(I tested all default recipes).

Just two small notes:
- the text for the new small_disk recipe should be changed, it says
  it's for disks "< 1G" but I think you meant "< 10G".
- when choosing "use LVM" the small_disk recipe is provided as choice,
  but it fails when I try it.
  Could it be changed, so it just works?
  (Not highest priority, but using LVM in such case of small disk would
  allow, to add another disk later and get rid of the "low diskspace"
  issue without reinstalling - at least when the machine hardware/housing 
  allows to add one more disk).
  Or otherwise the entry should be not visible.


BTW: I could not test the ESP part, since my test image cannot boot via EFI.
My remastering somehow breaks the EFI boot capabilities...


Holger

[1] 
https://people.debian.org/~holgerw/d-i__new-limits_and_fix-envelope-calculation/partman-auto-test_amd64-netinst_2.iso
[2] 
https://people.debian.org/~holgerw/d-i__new-limits_and_fix-envelope-calculation/attempt_2/


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

Reply via email to