[leaf-user] multiple partitions => YAFFS

2008-03-25 Thread Tom Hendrickx
Hi everyone, a few weeks ago I got the leaf system working , but I had put everything on the first "msdos" partition .. To make it a bit more endurable, I would like to put as much as possible on the second partition, where I thought to use YAFFS. Has someone allready some experience with this

Re: [leaf-user] multiple partitions => YAFFS

2008-03-25 Thread Tom Hendrickx
Practical to know probably is .. once mounting the file system, I get this error : FAT: bogus logical sector size 0 This only happens when I refer the pkgpath to something else as hda1:msdos (like hda2) After this, it's just each module (nf!) Tom Citeren Tom Hendrickx <[EMAIL PROTECTED]>: >

Re: [leaf-user] multiple partitions => YAFFS

2008-03-25 Thread Eric Spakman
Tom, Did you install the ext2 kernel modules? Eric > Practical to know probably is .. once mounting the file system, I get > this error : FAT: bogus logical sector size 0 > > > This only happens when I refer the pkgpath to something else as > hda1:msdos > (like hda2) > > > After this, it's just

Re: [leaf-user] multiple partitions => YAFFS

2008-03-25 Thread Erich Titl
Hi Tom Tom Hendrickx wrote: > Hi everyone, > > a few weeks ago I got the leaf system working , but I had put > everything on the first "msdos" partition .. > To make it a bit more endurable, I would like to put as much as > possible on the second partition, where I thought to use YAFFS. > > Ha

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
Hi Erich Thanks a lot and also to Eric! The problem was indeed with the ext2 module not being loaded yet :$ So now I'm just going to use one partition ext2 to do the trick .. While checking the different filesystems in the available modules, I noticed however there's no support for YAFFS nor for

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
One other question, which I fear is a dumb one .. But I can't find it anywhere To install the ext2 module .. You have to put it in /boot/lib/modules and then declare it initrd through the LEAF Packages configuration menu.. Well, I see it nowhere in the menu, and I've been through each part of it..

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Eric Spakman
Hello Tom, It depend on your needs. If you want to load the packages from an ext2 fs, you have to create your own initrd: http://leaf.sourceforge.net/doc/bucd-develop.xml.html#id3256747 But if you just want to use an ext2 fs from a running system, you can add the module to moddb (copy the module

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
Hi Eric My plan is indeed to load the packages from an ext2 fs .. So what I did was the following: initrd.lrp initrd.lrp is a different package - it's a compressed, minix formatted filesystem. To add or change it's content you have to uncompress it and mount it on a minix formatted mount p

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread KP Kirchdoerfer
On Wednesday 26 March 2008 10:56:47 Tom Hendrickx wrote: > Hi Eric > > My plan is indeed to load the packages from an ext2 fs .. > So what I did was the following: > > initrd.lrp > > initrd.lrp is a different package - it's a compressed, minix formatted > filesystem. To add or change it's conte

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
indeed .. for the making of the image I had to use "dd if=initrd.lrp" instead of "dd if=/dev/zero" I guess .. So I changed this, and my file is now a lot bigger .. but still 70kb's smaller then the original file and still blocking on the same So I must be doing something wrong somewhere .. I'm n

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Eric Spakman
Hi Tom, My previous mail had a link with the exact commands to execute: http://leaf.sourceforge.net/doc/bucd-develop.xml.html#id3256747 Eric > indeed .. for the making of the image I had to use "dd if=initrd.lrp" > instead of "dd if=/dev/zero" I guess .. So I changed this, and my file is > now a

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread davidMbrooke
Tom, initrd.lrp is compressed with gzip; did you uncompress it first? There's also no need for the mkfs.minix step since you're starting with an existing minix filesystem in your initial initrd.lrp. I usually do this: # zcat initrd.lrp > initrd # mount -o loop initrd /mnt [ Add or edit

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
Hi eric, I used those commands from your link .. namely these : initrd.lrp is a different package - it's a compressed, minix formatted filesystem. To add or change it's content you have to uncompress it and mount it on a minix formatted mount point: dd if=/dev/zero of=initrd bs=1k count=1500 m

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Eric Spakman
Hi Tom, Ok, I see. The doc isn't clear about how to extract the contents from the original initrd: mv initrd.lrp initrd.gz gunzip initrd.gz mount -t minix initrd /mnt -o loop After that you have the contents from the package in the /mnt directory You can take a shortcut (instead of creating a f

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
Thx eric! That was exactly what I needed! to edit the /mnt/boot/etc/modules however .. I tried vi and nano .. Both just give a bunch of strange letters and signs What's the best way to edit? Tom Citeren Eric Spakman <[EMAIL PROTECTED]>: > Hi Tom, > > Ok, I see. The doc isn't clear about how t

Re: [leaf-user] multiple partitions => YAFFS

2008-03-26 Thread Tom Hendrickx
Forget the last mail please .. while copying the ext2.o I'd messed /etc/modules up thx for helping me everyone! Citeren Tom Hendrickx <[EMAIL PROTECTED]>: > Thx eric! > > That was exactly what I needed! > to edit the /mnt/boot/etc/modules however .. I tried vi and nano .. > Both just give a bun