What version of Debian live-boot are you using?  If I drop back to 2.0~a16 
using multiple overlays seems to work as the documentation states.  When I 
upgrade to 3.0~a25 is when I see problems with errors when there are multiple 
overlays.  Thanks!

-----Original Message-----
From: Ronny Standtke [mailto:[email protected]] 
Sent: Friday, March 23, 2012 5:19 AM
To: [email protected]
Subject: Re: live-boot and multiple squashfs images

Hi Ian
> Hi, I am lead to believe by the documentation that live-boot can take several 
> squashfs files, mount them readonly and then union them together.  The code 
> seems to imply though that only one overlay is really ever supported.  Has 
> anyone else run into this or tried to do this?  Thanks!

In the lernstick[1] distribution we include so many software packages that the 
resulting squashfs would grow larger than 4 GB, which makes genisofs fail. To 
work around the 4 GB limitation we changed the calls to mksquashfs in 
/usr/share/live/build/scripts/build/lb_binary_rootfs to:

Chroot chroot "mksquashfs chroot filesystem1.squashfs -e usr 
${MKSQUASHFS_OPTIONS}"
Chroot chroot "mksquashfs chroot filesystem2.squashfs -wildcards -e
!(usr) ${MKSQUASHFS_OPTIONS}"

This change puts the directory "/usr/" into its own squashfs file which fits 
quite nicely. When booting the system, both squashfs files are picked up and 
merged with aufs.

I know, I know... workarounds are bad, stupid, bad for the environment, 
yadda-yadda, but it works great for our purposes. Feel free to improve and 
generalize our workaround.


Best regards

Ronny Standtke

[1] http://www.imedias.ch/lernstick/lernstick_en

--
erreichbar von Mo-Fr, Büro B.105
------------------------------------------------------------------------
Fachhochschule Nordwestschweiz
Pädagogische Hochschule
Institut Weiterbildung und Beratung

Ronny Standtke
Dozent für Medienpädagogik
Obere Sternengasse 7
4500 Solothurn
------------------------------------------------------------------------
T +41 32 628 67 08
M +41 79 786 81 82
F +41 32 627 28 64
[email protected] <mailto:[email protected]> http://www.imedias.ch


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/b57a220d1ee1644685ba9ad5c790d2052678630...@southside.devonintlgroup.com

Reply via email to