(这是我的第一篇文章,所以希望我正确地格式化它).我添加了尽可能多的信息,而不是TL:DR.
我的基本问题是,当我尝试对NFS服务器(CentOS 6.7或CentOS 7)进行PXE无盘启动时,我遇到了问题.我尝试了各种各样的东西,似乎无法复制我最初使用CentOS7服务器和客户端所取得的成功.每次我跟着笔记,我都无处可去.
我得到的最常见错误(取决于我使用的initrd.img文件或initramfs * .img)
A ticker of *** that shows a text-based progress bar and the message
A start job is running for dev-nfs.device (xx s / 1min 30s)
然后它超时并说
Timed out waiting for device dev-nfs.device
Dependency failed for File System Check on /dev/nfs
Dependency failed for /sysroot
Dependency failed for Initrd Root File System
Dependency failed for Reload Configuration from the Real Root
当我将/ boot /中的initramfs-3.10.*.img(任何一个)复制到PXE映像位置时,会发生上述错误.
如果我尝试从dracut生成新的initramfs图像文件,它也会抛出上述错误.
dracut initramfsnew.img
可能是我要么不知道如何生成正确的initramfs,要么我真的不理解initrd.img和initramfs函数.我相信超时正在发生,因为NFS驱动程序尚未在引导过程的那个阶段加载,因此客户端无法正确挂载NFS共享.我认为这是因为我已经将完全相