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 files under /mnt ] # umount /mnt # gzip -9 --suffix .lrp initrd dMb On Wed, 2008-03-26 at 12:55 +0100, Tom Hendrickx wrote: > 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 not a real expert > at these things, so it's possible I'm looking over something very small > > grtz, > Tom > > > Citeren KP Kirchdoerfer <[EMAIL PROTECTED]>: > > > 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 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 > > > > It looks like you created an nearly empty initrd, only containing ext2.o - > > that's not enough. > > > > Start again, mount an initrd_ide.lrp and _add_ ext2.o to /boot/lib/modules > > and load it in /boot/etc/modules. > > > > kp > > > > ------------------------------------------------------------------------- > > 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/ > > > > > > > > ------------------------------------------------------------------------- > 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/ ------------------------------------------------------------------------- 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/