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. 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. C�pia Lynn Avants <[EMAIL PROTECTED]>:
> On Wednesday 04 June 2003 06:48 pm, [EMAIL PROTECTED] wrote: > > After I installed bering1.2 on /dev/hda1 of an disk-on-chip IDE, I > whant to > > release the ram used by the root device in /dev/ram0. > > I copied the hole root into /dev/hda2 and made a new initrd2.lrp where > I > > added pertinent fs and included some code in linuxrc to mount the new > root. > > Then I added an option in syslinux.cfg where root=/dev/hda2 ant > > intird=initrd2.lrp. > > You do realize what you are doing is un-embedding an embedded OS and > you'll have to change several things (including mounts like /) in > initrd and likely in some of the boot scripts (like mountfs). > > swapon is not compiled into busybox because we normally don't use > a swap partition.... so you'll likely have to recompile BB or > use the Slink utility to do so. > > Other people have done this, so you may find some help in the > leaf-user/leaf-devel archives for duplication, but this is not > a "normal" setup for LEAF. > -- > ~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 > ------------------------------------------------------- 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
