On Monday 09 June 2003 05:40 pm, [EMAIL PROTECTED] wrote:
> I don't realy think i'm un-embedding, since i'm choosing to use a
> Disk-on-flash media to start the "embedded" OS. Floppys my fail and use
> much more energy than a disk-on-flash. Since the smalest DoF I got have
> 16Mb and I have memmory conserns (RAM=16Mb that I can't expand due to no
> spare mamory slots) I wanted to use the extra "HD" space to free up ram
> memmory. So the two things I thought is to enable swap and put the rootfs
> away fro the ram.

That *is* the difference between embedded and non-embedded. Embedded runs
from a ramdisk and non-embedded runs from a non-RAM disk.  ;)
As I said before, LEAF is not designed to run with the '/' filesystem on
any media other than ramdisk... which is *exactly* what you are attempting 
to do.

> I think I changed all things in initrd to mount the rootfs in DoF hda1 and
> every things goes well just befor init. As I told I added a sh -i just
> before the exec /sbin/init and my hda1 is correctly mounted and accessible
> as /.
> I do not understand while init complains about opening hda1.
> I must be missing something in the boot proccess, so if somebody go this to
> work (the linuxrc in initrd seams to be tempered before for something like
> this, since there was an if for rootfs != /dev/ram0) or could give some
> ideas while init complains I would realy apreciate.

You can't mount it more than once concurrently...it's already mounted.
This is likely located in pivot_root and this has been discussed before.
You should be able to find something about the mods necessary in the
leaf-user/leaf-devel archives unless someone has the mods off the top
of their head. I would look at where init changes the '/' fs from initrd
to the real running '/' filesystem (pivot_root).
-- 
~Lynn Avants
Linux Embedded Appliance Firewall Developer
http://leaf.sourceforge.net
http://guitarlynn.homelinux.org:81


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to