[gobolinux-devel] installing on new system...

Jonatan Liljedahl lijon at kymatica.com
Fri Feb 16 19:02:23 UTC 2007


Jonatan Liljedahl wrote:
> Lucas C. Villa Real wrote:
>> On 2/16/07, Jonatan Liljedahl <lijon at kymatica.com> 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:...
> 
> If I'm going to recompile the kernel, is the new unionfs patches
> included in the recipe so I can revert them and replace them with the
> unionfs patches from some old gobokernel tarball?

(forgot to attach script to last mail)

-- 
/Jonatan - http://kymatica.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: startGoboLinux
Url: http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070216/c3b51aef/attachment.diff 


More information about the gobolinux-devel mailing list