[Sugar-devel] putting sugar around a stick (with fedora's help)
abo at stacken.kth.se
Thu Mar 26 16:29:25 EDT 2009
Tomeu Vizoso skrev:
> - and also, livecd-iso-to-disk.sh will fail to install correctly an
> image that can boot on XOs because it seems to require reading a
> squashfs image in a format that only very recent kernels (2.6.29) can
> read. No idea what we can do here, but maybe we don't really need to
> read that image from the computer that makes the installation?
> Otherwise, how can liveusb-creator do the installation for XOs on
It loopmounts the squashfs to extract the ext3.img from it, so the root
filesystem is stored uncompressed on the USB/SD (I think). That's
optional in iso-to-disk, but it's done by default when you specify --xo.
I submitted a patch that makes it store the squashfs as-is if the
loop-mount fails, but you can add --compress after --xo to force that.
I guess the advantages of uncompressing the squashfs is lower CPU usage
and more flexibility regarding which kernels you can boot with it. With
today's large flash chips maybe it should be default for non-XO too?
I don't know how to solve this other than to simply not put the ext3
image in a squashfs in the first place. Add an image-creator ext3 image,
gzip and distribute that along with the ISO?
More information about the Sugar-devel