I have worked out why when I boot an rb112 using NetBoot none of the daemons
are started and the network is not configured.  Filesafe gets set to NoDisk
and so the whole thing stops dead.  This happens because /dev/root is not set
when you have an initramfs.  

This makes no sense.  An InitRamFs is a perfectly good file system, in fact
in some systems it might make sense to have the entire read-only file system
as the initramfs (that way you are only distributing one file, the kernel and
all the writable stuff (the configs etc) do not get disturbed when you 
upgrade.

In my tftp2nand code for the rb1xx I am currently having to reset Failsafe to
nothing, then run /etc/init.d/rcS, and then set up the flash.

To fix this would need to find the lack of /dev/root and then look to see
if there were actually any files around.  If there are then that would 
suggest that an initramfs is present and so continue as though there was
a /dev/root (although not using /dev/root in those places it is used).

David
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to