Menu Close
Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
28.8. 如何使 kickstart 文件可被利用
kickstart 文件必须位于以下几个位置之一:
- 在引导盘上
- 在引导光盘上
- 在网络上
通常,kickstart 文件被复制到引导盘上,或在网络上提供。基于网络的方法使用最普遍,因为多数 kickstart 安装是在联网的计算机上执行的。
让我们更深入地看一看存放 kickstart 文件的位置。
28.8.1. 创建 kickstart 引导介质
Diskette-based booting is no longer supported in Red Hat Enterprise Linux. Installations must use CD-ROM or flash memory products for booting. However, the kickstart file may still reside on a diskette's top-level directory, and must be named
ks.cfg
.
To perform a CD-ROM-based kickstart installation, the kickstart file must be named
ks.cfg
and must be located in the boot CD-ROM's top-level directory. Since a CD-ROM is read-only, the file must be added to the directory used to create the image that is written to the CD-ROM. Refer to the Red Hat Enterprise Linux Installation Guide for instructions on creating boot media; however, before making the file.iso
image file, copy the ks.cfg
kickstart file to the isolinux/
directory.
To perform a pen-based flash memory kickstart installation, the kickstart file must be named
ks.cfg
and must be located in the flash memory's top-level directory. Create the boot image first, and then copy the ks.cfg
file.
例如,使用
dd
命令把引导映像文件转移到笔型驱动器(/dev/sda
):
dd if=diskboot.img of=/dev/sda bs=1M
注意
创建用于引导的优盘笔型驱动器是可能的,但是这严重依赖于系统的 BIOS 设置。请询问你的硬件供应商,看你的系统是否支持引导至其他的设备。