[Buildroot] Squashfs boot

Stefan Fröberg stefan.froberg at petroprogram.com
Wed Jan 23 16:31:16 UTC 2013

23.1.2013 18:18, Thomas Petazzoni kirjoitti:
> Dear Stefan Fröberg,
> On Wed, 23 Jan 2013 18:05:54 +0200, Stefan Fröberg wrote:
>> No.
>> What I meant was, that if he is going to make it *without* buildroot
>> (that is, if he can't get buildroot generated squashfs root to boot).
>> *Then* he has to make his own init stuff to mount those /tmp
>> and /var/log.
> Ok. But then if Buildroot has a bug, let's fix the bug instead of
> trying to work-around it, no?

Sure. But like I said I haven't (yet) done that whole root squashfs so I
can only guess work
what could be wrong with it. (too old squashfs-utils, wrong kernle
version, maybe missing kernel option?)

>> And my own solution is overly complex because I want the ability to
>> write to squashfs, even if just temporarily.
>> That's why I use initramfs + squashfs + unionfs
> Indeed. You could still boot the root filesystem from squashfs, and
> then mount a tmpfs and do the unionfs thing. There's no real need to
> split usr/ in a squashfs in order to achieve this, I think.
> Best regards,
> Thomas

Can I write to /usr with buildroot squashfs ?


More information about the buildroot mailing list