13.8. 如何使 kickstart 文件可被利用
通常,kickstart 文件被复制到引导盘上,或在网络上提供。基于网络的方法使用最普遍,因为多数 kickstart 安装是在联网的计算机上执行的。
Diskette-based booting is no longer supported in Fedora. 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
第 3.4.2 节 “制作安装引导光盘” for instructions on creating boot media; however, before making the
file.iso
image file, copy the
ks.cfg
kickstart file to the
isolinux/
directory.
要执行使用笔型(pen-based)闪存设备的 kickstart 安装,kickstart 文件的名字必须为 ks.cfg
且必须位于闪存设备的顶层目录里。现创建引导映像,然后再复制 ks.cfg
文件。
例如,使用 dd
命令把引导映像文件转移到笔型驱动器(/dev/sda
):
dd if=diskboot.img of=/dev/sda bs=1M
Note
创建用于引导的优盘笔型驱动器是可能的,但是这严重依赖于系统的 BIOS 设置。请询问你的硬件供应商,看你的系统是否支持引导至其他的设备。