On 19/10/2024 at 21:08, Diederik de Haas wrote:
On Sat Oct 19, 2024 at 8:37 PM CEST, Pascal Hambourg wrote:
On 19/10/2024 at 16:54, Diederik de Haas wrote:
Device Start End Sectors Size Type
/dev/sdb1 2048 34815 32768 16M Linux filesystem
/dev/sdb2 34816 1785855 1751040 855M Linux filesystem
/dev/sdb3 1785856 29089791 27303936 13G Linux filesystem
/dev/sdb4 29089792 30701567 1611776 787M Linux swap
It looks as expected too.
According to [2] (wiki_Partitions) the boot partition start sector
should be 32768, but AFAIK it's fine if it's later, so that's good.
Automatic partitioning has a granularity of 1MB (decimal) which is then
combined with parted's default alignment on 1MiB (binary) boundaries, so
it is not easy to get exact results.
If it helps, 32768 is exactly 16MiB. So with a partition size of 15MiB
combined with the 1MiB (2048 sectors) offset parted uses, that should be
right on the mark. But AFAIC that's not needed.
The requested size in the recipe is 18MB and it results in an actual
size of 16MiB. If I change the requested size to 17MB, then the
resulting size is 15MiB and it ends at sector 32767. But I'd rather be
on the safe side and keep some margin.
And I'm hereby going to *assume* that my observation was correct and
then it is confusing if you choose to NOT create a separate boot
partition, that you still get one.
I think there is another choice in the installer which does create a
separate /boot partition? If so, then the 'all in one partition' should
do exactly that and if ppl want a separate /boot partition, they should
choose that other option. IOW: give ppl what they ask for ;-)
No, there is no user choice to create a separate /boot partition or not.
Depending on the architecture, all recipes either:
- never create a separate /boot partition
- always create a separate /boot partition
- create a separate /boot partition only when partitioning with LVM.