[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: live-boot and multiple squashfs images



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:ronny.standtke@fhnw.ch] 
Sent: Friday, March 23, 2012 5:19 AM
To: debian-live@lists.debian.org
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
ronny.standtke@fhnw.ch <mailto:ronny.standtke@fhnw.ch> http://www.imedias.ch


--
To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 4F6C400C.9070803@fhnw.ch">http://lists.debian.org/[🔎] 4F6C400C.9070803@fhnw.ch



Reply to: