Home > OS >  Centos7 kernel compilation PXE NFS is not successful
Centos7 kernel compilation PXE NFS is not successful

Time:10-01

According to the online tutorial I download a new kernel 4.15, then make menuconfig configure the NFS. Then make modules_install, make install, system can be applied to the new kernel,
Then use dracut initrd. Img ` uname -r ` generated PXE diskless initramfs, (a dracut - network)
But the use of lsinitrd initrd. Img | grep NFS don't see any NFS,
The initrd. Img in diskless tip dracut: FATAL: don 't know how to handle the' root=NFS: 192.168.1.1/diskless:

Baidu can not find the answer, ask,,,

CodePudding user response:

Just looked at it and there is not even/boot the initramfs - 4.15.15 below information on NFS, we configure the hook is there
IP: 1. The kernel level autoconfiguration
2. & lt; * & gt; NFS client support
.
[*] Root file system on NFS

CodePudding user response:

Just turn to the post, reply by oneself, then understand the dracut parameters.
Add - add parameters can add to the initramfs NFS.
Dracut - v - a 'NFS'
  • Related