{"id":76064,"date":"2026-02-13T23:05:26","date_gmt":"2026-02-13T15:05:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/76064.html"},"modified":"2026-02-13T23:05:26","modified_gmt":"2026-02-13T15:05:26","slug":"%e5%88%b6%e4%bd%9cpxe%e6%9c%8d%e5%8a%a1%e5%99%a8uefi%e5%90%af%e5%8a%a8-%e7%ba%af%e5%b9%b2%e8%b4%a7","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/76064.html","title":{"rendered":"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)--\u7eaf\u5e72\u8d27"},"content":{"rendered":"<p>\u672c\u6b21\u64cd\u4f5c\u7cfb\u7edf&#xff1a;centos7.9(x86) IP&#xff1a;11.0.1.150\/24<\/p>\n<p>\u9700\u8981PXE\u5b89\u88c5\u7684\u7cfb\u7edf&#xff1a;centos7.9(x86)&#xff0c;\u8bbe\u7f6eUEFI\u542f\u52a8\u3002<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6%E5%8C%85-toc\" style=\"margin-left:80px\">\u5b89\u88c5\u8f6f\u4ef6\u5305<\/p>\n<p id=\"%E5%88%9B%E5%BB%BA%E7%9B%AE%E5%BD%95-toc\" style=\"margin-left:80px\">\u521b\u5efa\u76ee\u5f55<\/p>\n<p id=\"%E9%85%8D%E7%BD%AEtftp%E6%9C%8D%E5%8A%A1-toc\" style=\"margin-left:80px\">\u914d\u7f6etftp\u670d\u52a1<\/p>\n<p id=\"%E4%BF%AE%E6%94%B9dhcp%E9%85%8D%E7%BD%AE-toc\" style=\"margin-left:80px\">\u4fee\u6539dhcp\u914d\u7f6e<\/p>\n<p id=\"%E9%85%8D%E7%BD%AEhttp%E6%9C%8D%E5%8A%A1-toc\" style=\"margin-left:80px\">\u914d\u7f6ehttp\u670d\u52a1<\/p>\n<p id=\"%E6%8B%B7%E8%B4%9D%E6%96%87%E4%BB%B6%E5%88%B0tftpboot%E7%9B%AE%E5%BD%95-toc\" style=\"margin-left:80px\">\u62f7\u8d1d\u6587\u4ef6\u5230tftpboot\u76ee\u5f55<\/p>\n<p id=\"%E4%BF%AE%E6%94%B9grub.cfg%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:80px\">\u4fee\u6539grub.cfg\u6587\u4ef6<\/p>\n<p id=\"KS%E6%96%87%E4%BB%B6%E5%AE%9E%E4%BE%8B-toc\" style=\"margin-left:80px\">KS\u6587\u4ef6\u5b9e\u4f8b<\/p>\n<p id=\"%E5%AE%89%E8%A3%85%E5%89%8D%E5%90%AF%E5%8A%A8%E6%89%80%E9%9C%80%E6%9C%8D%E5%8A%A1-toc\" style=\"margin-left:80px\">\u5b89\u88c5\u524d\u542f\u52a8\u6240\u9700\u670d\u52a1<\/p>\n<p id=\"%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%B5%8B%E8%AF%95-toc\" style=\"margin-left:80px\">\u865a\u62df\u673a\u6d4b\u8bd5<\/p>\n<hr id=\"hr-toc\" \/>\n<h4 id=\"%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6%E5%8C%85\">\u5b89\u88c5\u8f6f\u4ef6\u5305<\/h4>\n<p>[root&#064;localhost ~]# yum install dhcp tftp-server xinetd syslinux httpd -y <\/p>\n<h4 id=\"%E5%88%9B%E5%BB%BA%E7%9B%AE%E5%BD%95\">\u521b\u5efa\u76ee\u5f55<\/h4>\n<p>[root&#064;localhost ~]# mkdir \/var\/lib\/tftpboot\/centos7<br \/>\n[root&#064;localhost ~]# mkdir \/var\/www\/html\/centos7 <\/p>\n<h4 id=\"%E9%85%8D%E7%BD%AEtftp%E6%9C%8D%E5%8A%A1\">\u914d\u7f6etftp\u670d\u52a1<\/h4>\n<p>[root&#064;localhost ~]# vim \/etc\/xinetd.d\/tftp<br \/>\n#\u628a disable &#061; yes \u6539\u6210 disable &#061; no<br \/>\n#\u6ce8\u610ftftp\u8def\u5f84&#xff0c;\u56e0\u4e3a\u5728tftpboot\u4e0b\u521b\u5efa\u4e86centos7,\u5219\u8def\u5f84\u53d8\u4e3aserver_args&#061; -s \/var\/lib\/tftpboot\/centos7<br \/>\n[root&#064;localhost ~]# cat \/etc\/xinetd.d\/tftp<br \/>\n# default: off<br \/>\n# description: The tftp server serves files using the trivial file transfer \\\\<br \/>\n#       protocol.  The tftp protocol is often used to boot diskless \\\\<br \/>\n#       workstations, download configuration files to network-aware printers, \\\\<br \/>\n#       and to start the installation process for some operating systems.<br \/>\nservice tftp<br \/>\n{<br \/>\n        socket_type             &#061; dgram<br \/>\n        protocol                &#061; udp<br \/>\n        wait                    &#061; yes<br \/>\n        user                    &#061; root<br \/>\n        server                  &#061; \/usr\/sbin\/in.tftpd<br \/>\n        server_args             &#061; -s \/var\/lib\/tftpboot\/centos7<br \/>\n        disable                 &#061; no<br \/>\n        per_source              &#061; 11<br \/>\n        cps                     &#061; 100 2<br \/>\n        flags                   &#061; IPv4<br \/>\n} <\/p>\n<h4 id=\"%E4%BF%AE%E6%94%B9dhcp%E9%85%8D%E7%BD%AE\">\u4fee\u6539dhcp\u914d\u7f6e<\/h4>\n<p>[root&#064;localhost ~]# vim \/etc\/dhcp\/dhcpd.conf<br \/>\n\u200b<br \/>\nddns-update-style interim;<br \/>\nignore client-updates;<br \/>\nallow booting;<br \/>\nallow bootp;<br \/>\nsubnet 11.0.1.0 netmask 255.255.255.0<br \/>\n{<br \/>\noption subnet-mask 255.255.255.0;<br \/>\noption time-offset -18000;<br \/>\ndefault-lease-time 1200;<br \/>\nmax-lease-time 7200;<br \/>\nrange dynamic-bootp 11.0.1.1 11.0.1.250;<br \/>\nfilename &#034;centos7\/EFI\/BOOT\/grubx64.efi&#034;;<br \/>\nnext-server 11.0.1.150;<br \/>\n} <\/p>\n<p>filename\u91cc\u7684\u8def\u5f84&#xff0c;\u53d6\u51b3\u4e8etftpboot\u4e0bgrubx64.efi\u7684\u8def\u5f84&#xff01;\u672c\u6b21\u7684grubx64.efi\u8def\u5f84\u4e3a\/var\/lib\/tftpboot\/centos7\/EFI\/BOOT\/grubx64.efi&#xff0c;\u6240\u4ee5\u6b64\u5904\u586b\u5199centos7\/EFI\/BOOT\/grubx64.efi\u3002\u53ea\u7528\u5199tftpboot\u540e\u9762\u7684\u90e8\u5206<\/p>\n<\/p>\n<p>\u5982\u679c\u662farm\u6784\u67b6\u7684\u7cfb\u7edf&#xff0c;\u53ea\u9700\u8981\u5c06grubx64.efi \u66f4\u6362\u6210 grubaa64.efi \u5373\u53ef&#xff0c;\u5176\u4f59\u4e0d\u53d8<\/p>\n<\/p>\n<p>\u82e5\u662fBIOS\u542f\u52a8&#xff0c;filename\u5199\u4e3afilename \u201c\/pxelinux.0\u201d<\/p>\n<h4 id=\"%E9%85%8D%E7%BD%AEhttp%E6%9C%8D%E5%8A%A1\">\u914d\u7f6ehttp\u670d\u52a1<\/h4>\n<p>\u628a\u9700\u8981\u5b89\u88c5\u7684\u7cfb\u7edf\u7684\u6587\u4ef6\u5168\u90fd\u62f7\u5230\/var\/www\/html\/\u4e0b&#xff0c;\u4e5f\u53ef\u5728html\u4e0b\u518d\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6&#xff0c;\u6bd4\u5982\u6211\u8fd9\u6b21\u8981\u5b89\u88c5centos7&#xff0c;\u90a3\u6211\u5c31\u521b\u5efa\/var\/www\/html\/centos7\/<\/p>\n<p>\u63d0\u524d\u5c06\u5b89\u88c5\u7684\u64cd\u4f5c\u7cfb\u7edf\u955c\u50cf\u4f20\u5230\u670d\u52a1\u5668\u4e0a&#xff0c;\u65b9\u4fbf\u540e\u671f\u6302\u8f7d\u590d\u5236\u6587\u4ef6<\/p>\n<p>[root&#064;localhost ~]# mkdir centos7<br \/>\n[root&#064;localhost ~]# mount CentOS-7-x86_64-DVD-2009.iso centos7\/<br \/>\nmount: \/dev\/loop0 is write-protected, mounting read-only<br \/>\n[root&#064;localhost ~]# cp -r centos7\/* \/var\/www\/html\/centos7\/ <\/p>\n<p>\u6211\u8fd9\u91cc\u9009\u62e9\u7684\u662f\u5148\u6302\u8f7d&#xff0c;\u7136\u540e\u5c06\u6240\u6709\u6587\u4ef6\u90fd\u590d\u5236\u5230\/var\/www\/html\/centos7\/\u4e0b\u9762\u3002<\/p>\n<p>\u4e5f\u8fd8\u53ef\u4ee5\u76f4\u63a5\u6302\u8f7d\u5230\/var\/www\/html\/centos7\/\u4e0b\u3002<\/p>\n<h4 id=\"%E6%8B%B7%E8%B4%9D%E6%96%87%E4%BB%B6%E5%88%B0tftpboot%E7%9B%AE%E5%BD%95\">\u62f7\u8d1d\u6587\u4ef6\u5230tftpboot\u76ee\u5f55<\/h4>\n<p>tftpboot\u4e0b\u4e5f\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55&#xff0c;\u8fd8\u662f\u4ee5centos7\u4e3a\u4f8b&#xff0c;\u5c06EFI\u548cimages\u6587\u4ef6\u5168\u90e8\u62f7\u5230\/var\/lib\/tftpboot\/centos7\/\u4e0b<\/p>\n<p>[root&#064;localhost ~]# cp -r \/var\/www\/html\/centos7\/EFI\/ \/var\/lib\/tftpboot\/centos7\/<br \/>\n[root&#064;localhost ~]# cp -r \/var\/www\/html\/centos7\/images\/ \/var\/lib\/tftpboot\/centos7\/ <\/p>\n<h4 id=\"%E4%BF%AE%E6%94%B9grub.cfg%E6%96%87%E4%BB%B6\">\u4fee\u6539grub.cfg\u6587\u4ef6<\/h4>\n<p>[root&#064;localhost ~]# vim \/var\/lib\/tftpboot\/centos7\/EFI\/BOOT\/grub.cfg<br \/>\n\u200b<br \/>\nset timeout&#061;10<br \/>\nset default&#061;0<br \/>\n\u200b<br \/>\nmenuentry &#039;Install CentOS7&#039; {<br \/>\n \u00a0  linuxefi \/centos7\/images\/pxeboot\/vmlinuz inst.ks&#061;http:\/\/11.0.1.150\/centos7\/centos7_ks.cfg inst.lang&#061;en_US inst.keymap&#061;us ip&#061;dhcp inst.text<br \/>\n \u00a0  initrdefi \/centos7\/images\/pxeboot\/initrd.img<br \/>\n}<br \/>\n\u200b<br \/>\n\u200b<br \/>\n#\u8981\u6ce8\u610f\u7684\u662f&#xff0c;\u56e0\u4e3avmlinue\u548cinitrd.img\u90fd\u662f\u5728tftpboot\u4e0b\u7684\/centos7\/images\/pxeboot\/\u76ee\u5f55\u4e0b&#xff0c;\u6240\u4ee5grub.cfg\u91cc\u7684\u8def\u5f84\u4e5f\u8981\u6539\u4e3a\/centos7\/images\/pxeboot\/<br \/>\n#inst.ks\u8def\u5f84\u662fks\u6587\u4ef6\u7684\u8def\u5f84&#xff0c;\u4e5f\u5c31\u662f\/var\/www\/html\/centos7\/\u4e0b <\/p>\n<p>ks\u6587\u4ef6\u8def\u5f84\u90fd\u662f\u5728\/var\/www\/html\/centos7\/\u4e0b\u653e\u7740&#xff0c;\u63d0\u524d\u5199\u597d\u653e\u7740\u3002<\/p>\n<h4 id=\"KS%E6%96%87%E4%BB%B6%E5%AE%9E%E4%BE%8B\">KS\u6587\u4ef6\u5b9e\u4f8b<\/h4>\n<p># \u4f7f\u7528\u6587\u672c\u6a21\u5f0f\u5b89\u88c5<br \/>\ntext<br \/>\n\u200b<br \/>\n# \u952e\u76d8\u5e03\u5c40<br \/>\nkeyboard &#8211;vckeymap&#061;us &#8211;xlayouts&#061;&#039;us&#039;<br \/>\n\u200b<br \/>\n# \u7cfb\u7edf\u8bed\u8a00<br \/>\nlang en_US.UTF-8<br \/>\n\u200b<br \/>\n# \u7f51\u7edc\u5b89\u88c5\u6e90<br \/>\nurl &#8211;url&#061;&#034;http:\/\/11.0.1.150\/centos7\/&#034;<br \/>\n\u200b<br \/>\n# Root\u5bc6\u7801<br \/>\nrootpw &#034;root&#034;<br \/>\n\u200b<br \/>\n# \u7cfb\u7edf\u65f6\u533a<br \/>\ntimezone Asia\/Shanghai &#8211;utc<br \/>\n\u200b<br \/>\n# \u7981\u7528SELinux<br \/>\nselinux &#8211;disabled<br \/>\n\u200b<br \/>\n# \u7981\u7528\u9632\u706b\u5899<br \/>\nfirewall &#8211;disabled<br \/>\n\u200b<br \/>\n# \u5b89\u88c5\u671f\u95f4\u7f51\u7edc\u914d\u7f6e<br \/>\nnetwork &#8211;bootproto&#061;dhcp &#8211;device&#061;link &#8211;activate<br \/>\n\u200b<br \/>\n# \u5b89\u88c5\u78c1\u76d8\u9009\u62e9<br \/>\nignoredisk &#8211;only-use&#061;sda<br \/>\n\u200b<br \/>\nbootloader &#8211;location&#061;mbr &#8211;boot-drive&#061;sda &#8211;append&#061;&#034;crashkernel&#061;auto&#034;<br \/>\n\u200b<br \/>\n# \u5206\u533a\u6e05\u7406\u4fe1\u606f<br \/>\nclearpart &#8211;all &#8211;initlabel<br \/>\n\u200b<br \/>\n\u200b<br \/>\n# \u5206\u533a<br \/>\npart \/boot\/efi &#8211;fstype&#061;&#034;efi&#034; &#8211;size&#061;200 &#8211;ondisk&#061;sda<br \/>\npart \/boot &#8211;fstype&#061;&#034;xfs&#034; &#8211;size&#061;1024 &#8211;ondisk&#061;sda<br \/>\npart \/ &#8211;fstype&#061;&#034;xfs&#034; &#8211;size&#061;153600 &#8211;ondisk&#061;sda<br \/>\npart \/home &#8211;fstype&#061;&#034;xfs&#034; &#8211;grow &#8211;ondisk&#061;sda<br \/>\n\u200b<br \/>\n# \u8f6f\u4ef6\u5305<br \/>\n%packages<br \/>\n&#064;^minimal<br \/>\n&#064;core<br \/>\nkexec-tools<br \/>\n%end<br \/>\nreboot <\/p>\n<h4 id=\"%E5%AE%89%E8%A3%85%E5%89%8D%E5%90%AF%E5%8A%A8%E6%89%80%E9%9C%80%E6%9C%8D%E5%8A%A1\">\u5b89\u88c5\u524d\u542f\u52a8\u6240\u9700\u670d\u52a1<\/h4>\n<p>[root&#064;localhost ~]# systemctl enable tftp &#8211;now<br \/>\n[root&#064;localhost ~]# systemctl enable httpd &#8211;now<br \/>\n[root&#064;localhost ~]# systemctl enable dhcpd &#8211;now<br \/>\n#\u6211\u4e2a\u4eba\u5efa\u8bae&#xff0c;dhcp\u670d\u52a1\u4e0d\u8981\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff0c;\u7528\u7684\u65f6\u5019\u5728\u624b\u52a8\u542f\u52a8 <\/p>\n<h4 id=\"%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%B5%8B%E8%AF%95\">\u865a\u62df\u673a\u6d4b\u8bd5<\/h4>\n<p>\u751f\u4ea7\u73af\u5883\u4e0d\u597d\u76f4\u63a5\u64cd\u4f5c\u7684\u8bdd&#xff0c;\u53ef\u4ee5\u5148\u5728VMware\u6d4b\u8bd5\u4e00\u4e0b&#xff01;\u9996\u5148\u5173\u95edVMware\u7684dhcp\u529f\u80fd\u3002\u5c24\u5176\u662f\u4f60\u7528\u7684NAT\u7684\u60c5\u51b5\u4e0b&#xff0c;\u865a\u62df\u673a\u7684IP\u662fDHCP\u5206\u914d\u7684\u5730\u5740&#xff0c;\u5fc5\u987b\u5f97\u5173\u4e86\u3002\u7136\u540e\u8fdb\u5165\u865a\u62df\u673a&#xff0c;\u5c06IP\u5730\u5740\u56fa\u5b9a\u4e0b\u6765\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"769\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260213150524-698f3db44d38c.png\" width=\"884\" \/><\/p>\n<p>\u521b\u5efa\u4e00\u53f0\u65b0\u7684\u865a\u62df\u673a&#xff0c;\u5982\u679c\u4f7f\u7528\u6211\u8fd9\u4e2aKS\u6587\u4ef6\u7684\u8bdd&#xff0c;\u78c1\u76d8\u5bb9\u91cf\u8981\u5927\u4e8e\u7b49\u4e8e500GB&#xff0c;\u5426\u5219\u5b89\u88c5\u7684\u65f6\u5019\u4f1a\u62a5\u9519\u3002\u521b\u5efa\u597d\u540e&#xff0c;\u4e0d\u8981\u9009\u62e9\u955c\u50cf&#xff0c;\u7136\u540e\u53bb\u8bbe\u7f6e\u91cc\u8fb9&#xff0c;\u5c06\u542f\u52a8\u65b9\u5f0f\u6539\u4e3aUEFI\u542f\u52a8\u3002<\/p>\n<p>\u7f16\u8f91\u865a\u62df\u673a\u8bbe\u7f6e&#8211;&gt;\u9009\u9879(\u5de6\u4e0a\u89d2)&#8211;&gt;\u9ad8\u7ea7<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1218\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260213150524-698f3db4844c4.png\" width=\"1057\" \/><\/p>\n<p>\u6700\u540e\u5728PXE\u670d\u52a1\u5668\u4e2d\u91cd\u542f\u670d\u52a1&#xff0c;\u5f00\u673a\u6d4b\u8bd5\u7684\u673a\u5668\u5373\u53ef\u3002<\/p>\n<p>[root&#064;localhost ~]# systemctl restart dhcpd tftp httpd<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6b21\u64cd\u4f5c\u7cfb\u7edf&#xff1a;centos7.9(x86) IP&#xff1a;11.0.1.150\/24<br \/>\n\u9700\u8981PXE\u5b89\u88c5\u7684\u7cfb\u7edf&#xff1a;centos7.9(x86)&#xff0c;\u8bbe\u7f6eUEFI\u542f\u52a8\u3002<br \/>\n\u76ee\u5f55<br \/>\n\u5b89\u88c5\u8f6f\u4ef6\u5305<br \/>\n\u521b\u5efa\u76ee\u5f55<br \/>\n\u914d\u7f6etftp\u670d\u52a1<br \/>\n\u4fee\u6539dhcp\u914d\u7f6e<br \/>\n\u914d\u7f6ehttp\u670d\u52a1<br \/>\n\u62f7\u8d1d\u6587\u4ef6\u5230tftpboot\u76ee\u5f55<br \/>\n\u4fee\u6539grub.cfg\u6587\u4ef6<br \/>\nKS\u6587\u4ef6\u5b9e\u4f8b<br \/>\n\u5b89\u88c5\u524d\u542f\u52a8\u6240\u9700\u670d\u52a1<br \/>\n\u865a\u62df\u673a\u6d4b\u8bd5 \u5b89\u88c5\u8f6f\u4ef6\u5305<br \/>\n[rootlocalhost ~]# yum in<\/p>\n","protected":false},"author":2,"featured_media":76062,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-76064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)-\u7eaf\u5e72\u8d27 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/76064.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)-\u7eaf\u5e72\u8d27 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6b21\u64cd\u4f5c\u7cfb\u7edf&#xff1a;centos7.9(x86) IP&#xff1a;11.0.1.150\/24 \u9700\u8981PXE\u5b89\u88c5\u7684\u7cfb\u7edf&#xff1a;centos7.9(x86)&#xff0c;\u8bbe\u7f6eUEFI\u542f\u52a8\u3002 \u76ee\u5f55 \u5b89\u88c5\u8f6f\u4ef6\u5305 \u521b\u5efa\u76ee\u5f55 \u914d\u7f6etftp\u670d\u52a1 \u4fee\u6539dhcp\u914d\u7f6e \u914d\u7f6ehttp\u670d\u52a1 \u62f7\u8d1d\u6587\u4ef6\u5230tftpboot\u76ee\u5f55 \u4fee\u6539grub.cfg\u6587\u4ef6 KS\u6587\u4ef6\u5b9e\u4f8b \u5b89\u88c5\u524d\u542f\u52a8\u6240\u9700\u670d\u52a1 \u865a\u62df\u673a\u6d4b\u8bd5 \u5b89\u88c5\u8f6f\u4ef6\u5305 [rootlocalhost ~]# yum in\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/76064.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-13T15:05:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260213150524-698f3db44d38c.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76064.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/76064.html\",\"name\":\"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)-\u7eaf\u5e72\u8d27 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-13T15:05:26+00:00\",\"dateModified\":\"2026-02-13T15:05:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/76064.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/76064.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76064.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)--\u7eaf\u5e72\u8d27\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)-\u7eaf\u5e72\u8d27 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/76064.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)-\u7eaf\u5e72\u8d27 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6b21\u64cd\u4f5c\u7cfb\u7edf&#xff1a;centos7.9(x86) IP&#xff1a;11.0.1.150\/24 \u9700\u8981PXE\u5b89\u88c5\u7684\u7cfb\u7edf&#xff1a;centos7.9(x86)&#xff0c;\u8bbe\u7f6eUEFI\u542f\u52a8\u3002 \u76ee\u5f55 \u5b89\u88c5\u8f6f\u4ef6\u5305 \u521b\u5efa\u76ee\u5f55 \u914d\u7f6etftp\u670d\u52a1 \u4fee\u6539dhcp\u914d\u7f6e \u914d\u7f6ehttp\u670d\u52a1 \u62f7\u8d1d\u6587\u4ef6\u5230tftpboot\u76ee\u5f55 \u4fee\u6539grub.cfg\u6587\u4ef6 KS\u6587\u4ef6\u5b9e\u4f8b \u5b89\u88c5\u524d\u542f\u52a8\u6240\u9700\u670d\u52a1 \u865a\u62df\u673a\u6d4b\u8bd5 \u5b89\u88c5\u8f6f\u4ef6\u5305 [rootlocalhost ~]# yum in","og_url":"https:\/\/www.wsisp.com\/helps\/76064.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-13T15:05:26+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260213150524-698f3db44d38c.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/76064.html","url":"https:\/\/www.wsisp.com\/helps\/76064.html","name":"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)-\u7eaf\u5e72\u8d27 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-13T15:05:26+00:00","dateModified":"2026-02-13T15:05:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/76064.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/76064.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/76064.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5236\u4f5cPXE\u670d\u52a1\u5668(UEFI\u542f\u52a8)--\u7eaf\u5e72\u8d27"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/76064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=76064"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/76064\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/76062"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=76064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=76064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=76064"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=76064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}