Jonatan Liljedahl wrote: > Lucas C. Villa Real wrote: >> On 2/16/07, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote: >>> Found the right options to mkisofs in an old mail about USB drive >>> support in 012... (all this seems very familiar! ;) >>> >>> Anyhow, the CD booted, but it stops with "Failed to add >>> /Mount/SquashFS/Packages-List-Base into /Mount/TmpFS/Programs" and same >>> thing for all other squashfs files, then the kernel panics when not >>> finding init. >>> >>> Does the squashfs files need to be repacked with the updated squashfs tool? >> Hmmm, it doesn't seem to be necessary here, as I can loopback mount >> the original squashfs images with the updated kernel (2.6.20). > > Ok, good. > >> I've just checked the startGoboLinux script, and it does a call to unionctl: >> >> for i in /Mount/CD-ROM/Packages*.squashfs; do >> mount -o loop,ro -t squashfs $i /Mount/SquashFS/`basename $i .squashfs` >> unionctl /Mount/TmpFS/Programs --add --after /Mount/TmpFS/Programs \ >> --mode ro /Mount/SquashFS/`basename $i .squashfs` >> done >> >> The current UnionFS snapshot doesn't allow one to use dynamic branches >> (we were using UnionFS 1.x, which is now freezed; the new development >> is going into 2.x, which doesn't have all features commited yet). So, >> in other words, you'll probably need to compile a new kernel with an >> updated squashfs patch, keeping the old UnionFS patches.. :-( > > So, do I understand it correctly that unionctl --add is the problem? > Then can't I just change the startGoboLinux script to mount all > squashfs's in one go? > mount -t unionfs -o dirs=/Mount/SquashFS/Foo=ro:/Mount/SquashFS/Bar=ro:...
Shouldn't this startGoboLinux (attached) script do the trick? (Or did I missunderstand the problem?) But how do I put it into a new initrd? I thought I could just loopback mount the initrd (cramfs) image and replace it, but it only says "read only fs", even though mount says it's mounted rw... -- /Jonatan - http://kymatica.com _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel