- Not much info available but surely possible
- Basically same as normal Linux NFS root
- Except kernel configuration adjustment might be tricky
- Target: OpenWrt 15.x on KVM
- Host Ubuntu 16.04
- Do
make kernel_menuconfig - Save changes with
git diff target/linux - Add
CONFIG_KERNEL_IP_PNP=yto the global.config(not one under linux subdirectory), domake defconfig, andmake V=s- Enable
CONFIG_DHCPandCONFIG_ROOT_NFSfor kernel config
- Enable
- Basic "Linux NFS root" configuration
- Nothing special needed for OpenWrt
- NFS root
- Root is OpenWrt's build_dir/target-x86_64_musl-1.1.14/root-x86
- XXX Need to fix file user/group/mode?
- Edit
etc/config/networkand comment outconfig interface 'lan'(eth0)eth0is already configured for NFS root
- Root is OpenWrt's build_dir/target-x86_64_musl-1.1.14/root-x86