I want a client which loads a kernel and a file system from the server through network.
Until now, on the server side, I changed the settings in
/etc/dhcp/dhcpd.conf to get an ip-address to the client. After that I executed the command
service isc-dhcp-server restart
I built openwrt kernel image openwrt-x86-generic-vmlinuz by downloading necessary packages. I created one directory with name
/tftpboot and I copied
And I also copied
/tftpboot I created one directory with name
default openwrt label openwrt kernel openwrt-x86-generic-vmlinuz append boot=nfs root=/dev/nfs nfsroot=nfs:server-ip:/tftpboot ip=dhcp rw
service tftpd-hpa restart
At client side, I restarted system and I selected the boot options to pxe booting
It is loading the kernel openwrt-x86-generic-vmlinuz smoothly. Not mounting the file system which I had given in
My question is how can I mount the filesystem from server to client while booting? Any mistakes in boot arguments, or any other method to mount file system while booting?