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 指​​​​​​​令​​​​​​​將​​​​​​​開​​​​​​​機​​​​​​​媒​​​​​​​體​​​​​​​傳​​​​​​​送​​​​​​​到​​​​​​​ USB 隨​​​​​​​身​​​​​​​碟​​​​​​​(/dev/sda):
dd if=diskboot.img of=/dev/sda bs=1M

注意

您​​​​​​​可​​​​​​​以​​​​​​​在​​​​​​​ USB 隨​​​​​​​身​​​​​​​碟​​​​​​​上​​​​​​​建​​​​​​​立​​​​​​​開​​​​​​​機​​​​​​​媒​​​​​​​體​​​​​​​,但​​​​​​​必​​​​​​​須​​​​​​​視​​​​​​​系​​​​​​​統​​​​​​​硬​​​​​​​碟​​​​​​​ BIOS 的​​​​​​​設​​​​​​​定​​​​​​​。​​​​​​​請​​​​​​​詢​​​​​​​問​​​​​​​您​​​​​​​的​​​​​​​硬​​​​​​​體​​​​​​​製​​​​​​​造​​​​​​​商​​​​​​​您​​​​​​​的​​​​​​​系​​​​​​​統​​​​​​​是​​​​​​​否​​​​​​​支​​​​​​​援​​​​​​​由​​​​​​​ USB 隨​​​​​​​身​​​​​​​碟​​​​​​​開​​​​​​​機​​​​​​​。​​​​​​​