centos网络安装 pxe(DHCP+TFTP+NFS+kickstart) 客户端pxe启动时出现could not find kernel image :linu vsftp+dhcp+tftp+kickstart+pxe装...

linux\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u65b9\u5f0f\u6709\u54ea\u4e9b

1.1 \u4ec0\u4e48\u662fPXE
PXE(Pre-boot Execution Environment\uff0c\u9884\u542f\u52a8\u6267\u884c\u73af\u5883)\u662f\u7531Intel\u516c\u53f8\u5f00\u53d1\u7684\u6700\u65b0\u6280\u672f\uff0c\u5de5\u4f5c\u4e8eClient/Server\u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u652f\u6301\u5de5\u4f5c\u7ad9\u901a\u8fc7\u7f51\u7edc\u4ece\u8fdc\u7aef\u670d\u52a1\u5668\u4e0b\u8f7d\u6620\u50cf\uff0c\u5e76\u7531\u6b64\u652f\u6301\u901a\u8fc7\u7f51\u7edc\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\uff0c\u7ec8\u7aef\u8981\u6c42\u670d\u52a1\u5668\u5206\u914dIP\u5730\u5740\uff0c\u518d\u7528TFTP\uff08trivial file transfer protocol\uff09\u6216MTFTP(multicast trivial file transfer protocol)\u534f\u8bae\u4e0b\u8f7d\u4e00\u4e2a\u542f\u52a8\u8f6f\u4ef6\u5305\u5230\u672c\u673a\u5185\u5b58\u4e2d\u6267\u884c\uff0c\u7531\u8fd9\u4e2a\u542f\u52a8\u8f6f\u4ef6\u5305\u5b8c\u6210\u7ec8\u7aef\u57fa\u672c\u8f6f\u4ef6\u8bbe\u7f6e\uff0c\u4ece\u800c\u5f15\u5bfc\u9884\u5148\u5b89\u88c5\u5728\u670d\u52a1\u5668\u4e2d\u7684\u7ec8\u7aef\u64cd\u4f5c\u7cfb\u7edf\u3002
\u4e25\u683c\u6765\u8bf4\uff0cPXE \u5e76\u4e0d\u662f\u4e00\u79cd\u5b89\u88c5\u65b9\u5f0f\uff0c\u800c\u662f\u4e00\u79cd\u5f15\u5bfc\u65b9\u5f0f\u3002\u8fdb\u884c PXE \u5b89\u88c5\u7684\u5fc5\u8981\u6761\u4ef6\u662f\u5728\u8981\u5b89\u88c5\u7684\u8ba1\u7b97\u673a\u4e2d\u5fc5\u987b\u5305\u542b\u4e00\u4e2a PXE \u652f\u6301\u7684\u7f51\u5361\uff08NIC\uff09\uff0c\u5373\u7f51\u5361\u4e2d\u5fc5\u987b\u8981\u6709 PXE Client\u3002PXE \u534f\u8bae\u53ef\u4ee5\u4f7f\u8ba1\u7b97\u673a\u901a\u8fc7\u7f51\u7edc\u542f\u52a8\u3002\u6b64\u534f\u8bae\u5206\u4e3a Client\u7aef\u548c Server \u7aef\uff0c\u800cPXE Client\u5219\u5728\u7f51\u5361\u7684 ROM \u4e2d\u3002\u5f53\u8ba1\u7b97\u673a\u5f15\u5bfc\u65f6\uff0cBIOS \u628a PXE Client \u8c03\u5165\u5185\u5b58\u4e2d\u6267\u884c\uff0c\u7136\u540e\u7531 PXE Client \u5c06\u653e\u7f6e\u5728\u8fdc\u7aef\u7684\u6587\u4ef6\u901a\u8fc7\u7f51\u7edc\u4e0b\u8f7d\u5230\u672c\u5730\u8fd0\u884c\u3002\u8fd0\u884c PXE \u534f\u8bae\u9700\u8981\u8bbe\u7f6e DHCP \u670d\u52a1\u5668\u548c TFTP \u670d\u52a1\u5668\u3002DHCP \u670d\u52a1\u5668\u4f1a\u7ed9 PXE Client\uff08\u5c06\u8981\u5b89\u88c5\u7cfb\u7edf\u7684\u4e3b\u673a\uff09\u5206\u914d\u4e00\u4e2a IP \u5730\u5740\uff0c\u7531\u4e8e\u662f\u7ed9 PXE Client \u5206\u914d IP \u5730\u5740\uff0c\u6240\u4ee5\u5728\u914d\u7f6e DHCP \u670d\u52a1\u5668\u65f6\u9700\u8981\u589e\u52a0\u76f8\u5e94\u7684 PXE \u8bbe\u7f6e\u3002\u6b64\u5916\uff0c\u5728 PXE Client \u7684 ROM \u4e2d\uff0c\u5df2\u7ecf\u5b58\u5728\u4e86 TFTP Client\uff0c\u90a3\u4e48\u5b83\u5c31\u53ef\u4ee5\u901a\u8fc7 TFTP \u534f\u8bae\u5230 TFTP Server \u4e0a\u4e0b\u8f7d\u6240\u9700\u7684\u6587\u4ef6\u4e86\u3002
PXE\u7684\u5de5\u4f5c\u8fc7\u7a0b\uff1a
1. PXE Client \u4ece\u81ea\u5df1\u7684PXE\u7f51\u5361\u542f\u52a8\uff0c\u5411\u672c\u7f51\u7edc\u4e2d\u7684DHCP\u670d\u52a1\u5668\u7d22\u53d6IP\uff1b
2. DHCP \u670d\u52a1\u5668\u8fd4\u56de\u5206\u914d\u7ed9\u5ba2\u6237\u673a\u7684IP \u4ee5\u53caPXE\u6587\u4ef6\u7684\u653e\u7f6e\u4f4d\u7f6e(\u8be5\u6587\u4ef6\u4e00\u822c\u662f\u653e\u5728\u4e00\u53f0TFTP\u670d\u52a1\u5668\u4e0a) \uff1b
3. PXE Client \u5411\u672c\u7f51\u7edc\u4e2d\u7684TFTP\u670d\u52a1\u5668\u7d22\u53d6pxelinux.0 \u6587\u4ef6\uff1b
4. PXE Client \u53d6\u5f97pxelinux.0 \u6587\u4ef6\u540e\u4e4b\u6267\u884c\u8be5\u6587\u4ef6\uff1b
5. \u6839\u636epxelinux.0 \u7684\u6267\u884c\u7ed3\u679c\uff0c\u901a\u8fc7TFTP\u670d\u52a1\u5668\u52a0\u8f7d\u5185\u6838\u548c\u6587\u4ef6\u7cfb\u7edf \uff1b
6. \u8fdb\u5165\u5b89\u88c5\u753b\u9762, \u6b64\u65f6\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9HTTP\u3001FTP\u3001NFS \u65b9\u5f0f\u4e4b\u4e00\u8fdb\u884c\u5b89\u88c5\uff1b

1\u3001\u786e\u8ba4ftp\u662f\u914d\u7f6e\u662f\u5426OK\uff0c\u53ef\u4ee5ftp://ip/ks.cfg \u770b\u4e0b\u80fd\u4e0d\u80fd\u4e0b\u8f7d\u5230
2\u3001\u786e\u8ba4\u4e0b\u8f7ddefault\u7684\u914d\u7f6e\u662f\u5426\u6b63\u786e\uff1a
\u4f8b\u5982\uff1a
label linux
kernel vmlinuz
append initrd=initrd.img linux ks=ftp://ip/ks.cfg
\u8fd9\u4e2a\u6211\u6ca1\u6709\u6d4b\u8bd5\u8fc7\uff0c\u6211\u4f7f\u7528\u7684\u662fhttp
label linux
kernel vmlinuz
append ks=http://10.10.10.11/redhat/ks.cfg initrd=initrd.img
\u662f\u6ca1\u6709\u95ee\u9898\u7684\uff01

肯定是你的配置文件的问题,估计是你的配置文件中指向的img的路径与你存放的文件的位置有差异导致的,你按网上的教程重新一步步装一遍吧

扩展阅读:android苹果版下载 ... centos7重置root密码 ... centos8网络安装源地址 ... centos7初次网络配置 ... win11android ... centos安装源怎么设置 ... 安装centos进入dracut ... centos 7.9 重启网络命令 ... 安装centos怎么配置网络ip ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网