On 24/02/12 17:14, [email protected] wrote:
Hello Chris,
we are using NFS most of the time.
Christian Gagneraud wrote on 2012-02-24:
Hi there,
I'm currently trying to add a new device (based on a ATSAM9G20), and
during development I would like to boot it on a NFS root.
Unfortunately I noticed that a couple of firstboot/preinit/init scripts
are messing up with either the rootfs and/or the network configuration.
Does anyone has any tricks for using a NFS root?
Especially I would like to:
- Avoid root remounting (or make openwrt aware onf the NFS root)
- Avoid mtd checking and stuff
- Avoid network interface reconfiguration (especially the hotplug call
on eth0 in /etc/rc.d/S10boot)
This can be solved by the attached package. When selected it automatically
enables the required kernel options, so you don't need to put them in your
default config, and has some scripts (uci-defaults and preinit),
to remove the network config of your boot interface and skips
the mounting of the flash overlay.
Hi,
Thanks everyone for all the suggestions, I finally manage to get my
system booting on NFS! \o/
I've used your package, I think it's neater to activate an option in the
menu than hacking around the init scripts....
Anyway, this was not enough for me. The last thing that blew up my
network interface was the call to preinit_ip_deconfig in
/lib/preinit/99_10_run_init.
To get rid of that, I disabled the network message feature in
menuconfig. It's a pity that there is no way to tell preinit not to
touch anything related to networking...
Thanks for your help,
Chris
I hope this helps!
Regards,
Chris
Best Regards,
Thomas
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel