Le 12/08/2022 à 09:23, Wols Lists a écrit :
On 11/08/2022 22:26, Pascal Hambourg wrote:
However I do not think it is possible to cleanly boot from an
unpartitioned drive used as a software RAID member, as a RAID capable
boot loader could hardly fit in the 4-KiB area before the RAID
superblock.
Firstly, is there a 4K block there? iirc it's only 1.2 that leaves said
block.
Yes, but 1.2 is the default, so I assumed it.
And secondly, does raid assume that 4K space belongs to it? I know it's
seen as a safety space, so there's nothing permanent left there, but
that's no guarantee raid doesn't think "that's mine, I'll stash
something there temporarily". After all, the space allocated explicitly
begins at the start of the 4K.
On one hand other 1.x subversions do not have that 4-KiB space so I
assume it is not used. Also the gap between the superblock and the data
may be used to hold temporary stuff.
On the other hand ext* filesystems do not use the first sector either
but mke2fs erases it anyway, wiping any existing boot sector.
Anyway, as I wrote previously, no usable boot loader would fit there, so
the point is moot.