Kernel options to boot root over NFS (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64)
Hello, I would like to compile a kernel bzImage in order to boot root over NFS. I am using the fedora kernel source package (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64). What kernel options should i modify in Kernel Configuration in order to do so? (I have already configured both tftp and dhcp server, and PXELINUX) Best Regards, Nestor Waldyd
On Fri, Aug 7, 2015 at 6:10 AM, Nestor Waldyd <nwaldyd@yahoo.co.uk> wrote:
Hello,
I would like to compile a kernel bzImage in order to boot root over NFS. I am using the fedora kernel source package (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64). What kernel options should i modify in Kernel Configuration in order to do so? (I have already configured both tftp and dhcp server, and PXELINUX)
Best Regards,
Nestor Waldyd
AFAIK, NFS client support needs to be selected as built-in during configuration. Rest is through kernel command line parameters. There is a good description in 'Documentation/filesystems/nfs/nfsroot.txt' _______________________________________________
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
~Chetan Nanda
On Fri, Aug 07, 2015 at 12:40:16AM +0000, Nestor Waldyd wrote:
Hello, I would like to compile a kernel bzImage in order to boot root over NFS. I am using the fedora kernel source package (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64). What kernel options should i modify in Kernel Configuration in order to do so? (I have already configured both tftp and dhcp server, and PXELINUX) Best Regards, Nestor Waldyd
You'll need to enable CONFIG_ROOT_NFS which requires CONFIG_IP_PNP and CONFIG_NFS_FS to be enabled.
participants (3)
-
Artem Savkov -
Chetan Nanda -
Nestor Waldyd