Thanks for you help.

I tried both suggestions, and neither seems to be correct.

Also, I compiled all the file systems/drivers into the kernel I'm using.

-----Original Message-----
From: uml [mailto:uml] On Behalf Of Jacques Nilo
Sent: Thursday, April 11, 2002 2:49 PM
To: Douglas Bush
Cc: [EMAIL PROTECTED]
Subject: Re: Problems with Bering Beta 4 root.linuxrc

Douglas Bush wrote:

> I'm using LEAF Bering in a way it probably wasn't intended, but its
got
> just the right level of features for what we're doing.
>
> I'm using x86 Embedded PCs from http://www.compulab-systems.com.  I've
> modified the kernel to support the Compulab Nor and Nand flash.  The
NOR
> flash behaves as a Floppy, and is formatted by MSDOS, and the NAND is
> formatted as ext2.
>
> I placed the kernel and root file system in MSDOS bootable NOR, and I
> placed the Bering LRP packages in NAND flash.
>
> Anyways, with the SYSLINUX.CFG below, root.linuxrc could not mount the
> NAND flash and load the LRP packages.  (Although I could do this
> manually using a working Bering boot disk.)
>
> SYSLINUX.CFG
> display syslinux.dpy
> timeout 0
> default linux initrd=initrd.lrp init=/linuxrc root=/dev/ram0
> boot=/dev/nor,msdos PKGPATH=/dev/nand,ext2
> LRP=root,etc,local,libm,modules,pcmcia,wireless,shorwall,bridge,log
>
> I finally (my shell, and sed aren't that good) modified the
root.linuxrc
> (lines 171-172) by adding
> DEVICE="nand nor"
> FSTYPE="ext2 msdos"
>
> This worked, but it does make me wonder why your script didn't work.
I
> ran snippits of the script on a floppy booted system, and they
generated
> output which looked correct.  I suspect that if the script fails once,
> it fails completely.

Doug:
I suspect it did not worked because you did not load the ext2.o module.
Ext2 FS is not compiled in the kernel. Also if yo want to read packages
stored on a ext2 FS you have to put the module in /boot/lib/modules. See
the doc.
So put ext2.o it in /boot/lib/modules and edit /boot/etc/modules to
declare
it through initrd config menu.
Save initrd and reboot.

Jacques


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to