Hello, Stéphane Glondu, le sam. 23 août 2025 10:51:29 +0200, a ecrit: > Le 22/08/2025 à 15:47, Stéphane Glondu a écrit : > > > > FI, apparently ATM when using a file as image, libstore uses 1-byte > > > > block size, and thus disk sizes should be smaller than 2G otherwise > > > > boot's device size reporting interface gets wrong. > > > > > > (an alternative is to use a disk partition, which report 512-byte block > > > size) > > > > > > Perhaps we could make libstore use 512-byte block size when the file is > > > multiple of 512 bytes. It could also be configurable, by introducing a > > > libstore layer (similarly to the part libstore layer) > > > > It makes sense, but I'm not yet there. > > I've implemented the first idea. With the attached patch, I can boot a > subhurd with a 3G image. (Without, I cannot.)
Thanks for testing! I have commited it. Samuel

