English Chinese (Simplified)
...
...
}
}
Add entries to point clients to their bootloader and the server that provides it to your subnet configuration in `/etc/dhcp/dhcpd.conf`. Because DHCP clients provide the server with identifying information along with their address request, BIOS clients and UEFI clients can each be directed to the correct bootloader. 向点客户端的bootloader 中增加在`/etc/dhcp/dhcpd.conf`中的、提供的你的子网的地址。因为DHCP客户端提供服务器身份验证信息和地址请求,BIOS客户端和UEFI客户端均可被连接到正确的bootloader上。
Advanced network installations with Cobbler 使用Cobbler进行增强的网络安装
A Fedora repository must be available for the installation. The example in this section uses the public Fedora mirrors as the repository source, but you can also use a repo on the local network provided by NFS, FTP, or HTTP. Repositories can be configured using the [option]#inst.repo=# boot option; see xref:advanced/Boot_Options.adoc#sect-boot-options-sources[Specifying the Installation Source] for details.
Alternatively, you may also be interested in **Foreman**. You can find official documentation as well as downloads on the project website at link:++https://www.theforeman.org/++[]. 另外,比也许对**Foreman**感兴趣。你可以在link:++https://www.theforeman.org/++[]项目网页上找到官方文档并下载。
Because the job of booting an operating system is too complex for the pre-boot environment, a bootloader is used to load the kernel and related files. It also provides configuration information to the installer, and can offer a menu to select from different configurations. 由于启动一个操作系统的工作对于预启动环境而言太过于复杂,所以需要一个bootloader来加载内核和相关的文件。它还为安装器提供配置信息,还能提供一个用于选择不同配置的菜单。
Because the pre-boot environment is very simple, files must be provided in a very simple way. Trivial File Transfer Protocol, or TFTP, provides the system with the bootloader required to continue the installation process. 由于预启动环境非常简单,所以文件必须以一种非常简单的方式被提供。普通文件传输协议,或TFTP,将系统提供给要求继续安装过程的bootloader。
Bootloader Bootloader
# [command]#mkdir -p `/var/lib/tftpboot/f{PRODVER}`pass:attributes[{blank}]#
# [command]#mkdir -p `/var/lib/tftpboot/f{PRODVER}`pass:attributes[{blank}]#
# [command]#mkdir -p `/var/lib/tftpboot/pxelinux.cfg`pass:attributes[{blank}]#
# [command]#cp `/usr/share/syslinux/{pxelinux.0,vesamenu.c32,ldlinux.c32,libcom32.c32,libutil.c32}` `/var/lib/tftpboot/`pass:attributes[{blank}]#
# [command]#mkdir -p `/var/lib/tftpboot/pxelinux.cfg`pass:attributes[{blank}]#
# [command]#cp `/usr/share/syslinux/{pxelinux.0,vesamenu.c32,ldlinux.c32,libcom32.c32,libutil.c32}` `/var/lib/tftpboot/`pass:attributes[{blank}]#
# [command]#mkdir -p `/var/lib/tftpboot/uefi`pass:attributes[{blank}]#
# [command]#cp `/tmp/fedora/boot/efi/EFI/fedora/{shim.efi,grubx64.efi}` `/var/lib/tftpboot/uefi/`pass:attributes[{blank}]#
# [command]#mkdir -p `/var/lib/tftpboot/uefi`pass:attributes[{blank}]#
# [command]#cp `/tmp/fedora/boot/efi/EFI/fedora/{shim.efi,grubx64.efi}` `/var/lib/tftpboot/uefi/`pass:attributes[{blank}]#
[command]#systemctl restart dhcpd#
[command]#journalctl --unit dhcpd --since -2m --follow#
[command]#systemctl restart dhcpd#
[command]#journalctl --unit dhcpd --since -2m --follow#
[command]#systemctl start dhcpd#
[command]#journalctl --unit dhcpd --since -2m --follow#
[command]#systemctl start dhcpd#
[command]#journalctl --unit dhcpd --since -2m --follow#
# [command]#systemctl start tftp.socket#
# [command]#systemctl enable tftp.socket#
# [command]#systemctl start tftp.socket#
# [command]#systemctl enable tftp.socket#
Configuring client bootloaders 配置客户端bootloader
Create a boot menu for BIOS clients at `/var/lib/tftpboot/pxelinux.cfg/default`. 在`/var/lib/tftpboot/pxelinux.cfg/default`之下创建一个为BIOS准备的启动菜单。
Create a boot menu for UEFI clients at `/var/lib/tftpboot/pxelinux/uefi`. 在`/var/lib/tftpboot/pxelinux/uefi`之下创建一个为UEFI准备的启动菜单。
Create a directory for the bootloader files, and make them available there. 为bootloader 文件创建一个目录,并且令其中的文件可用。
Create a directory for the files. 创建一个文件的目录。