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 point: dd if=/dev/zero of=initrd bs=1k count=1500 mkfs.minix initrd 4096 mount -t minix initrd /mnt -o loop Copy the contents for the initrd package to the /mnt directory: this is the ext2.o file sync umount /mnt gzip -9 initrd mv initrd.gz initrd.lrp then when I try to start the machine to see if everything still works I get this error: Warning : unable to open an initial console. Kernel panic: No init found. Try passing init= option to Kernel. *and everything hangs* ps: it's still on a fat filesystem .. but that's still inside the initrd normally so it shouldn't make any difference Tom Citeren Eric Spakman <[EMAIL PROTECTED]>: > 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 to /lib/modules), no need to put it > in the initrd in that case. > > Eric > > >> 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.. >> >> also afterwarts when I should save it , pressing m only saves the >> moddb.lrp .. So how save it afterwarts? >> >> Thx, Tom >> >> >> >> Citeren Tom Hendrickx <[EMAIL PROTECTED]>: >> >> >>> 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 JFFS2 .. Is this one >>> day gonna change? To make the flash drives more durable.. >>> >>> Or is it possible to give some extra parameters to the system with >>> ext2, to make it more durable in this way? >>> >>> Greetz, >>> >>> >>> Tom >>> >>> >>> Citeren Erich Titl <[EMAIL PROTECTED]>: >>> >>> >>>> 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. >>>>> >>>>> Has someone allready some experience with this and/or remarks to >>>>> it? >>>> >>>> When I built cups for leaf I needed some persistent storage. I used a >>>> 4 Gig CF with ext2 filesystem. As I needed to have ext2 anyway I >>>> decided then to go the whole distance and format all partitions on the >>>> CF with ext2. No trouble at all. I suggest though to also load >>>> the hdsupp package and to run fsck periodically on the partitions. >>>> >>>> >>>> cheers >>>> >>>> Erich >>>> >>>> >>>> >>> >>> >>> >>> ----------------------------------------------------------------------- >>> -- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/market >>> place >>> ----------------------------------------------------------------------- >>> - >>> leaf-user mailing list: leaf-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/leaf-user >>> Support Request -- http://leaf-project.org/ >>> >>> >>> >> >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpl >> ace >> ------------------------------------------------------------------------ >> leaf-user mailing list: leaf-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/leaf-user >> Support Request -- http://leaf-project.org/ >> >> > > > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/