Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

28.8. Обеспечение доступа к файлу кикстарта

Файл кикстарта должен быть расположен на одном из следующих источников:
  • На загрузочной дискете
  • На загрузочном компакт-диске
  • В сети
Обычно файл кикстарта копируется на загрузочную дискету или размещается в сети. Размещение в сети используется чаще, так как установки кикстарта обычно выполняются на компьютерах, подключенных к сети.
Далее варианты размещения файла кикстарта будут рассмотрены подробнее.

28.8.1. Создание загрузочного носителя кикстарта

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.
Например, ниже показано, как перенести загрузочный образ на флэш-накопитель (/dev/sda) с помощью команды dd.
dd if=diskboot.img of=/dev/sda bs=1M

Примечание

USB-накопители можно сделать загрузочными, но на практике это сильно зависит от параметров BIOS. Узнать, поддерживает ли ваш компьютер загрузку с альтернативных устройств, можно у производителя вашего оборудования.