28.10. 开​​​​​​​始​​​​​​​ kickstart 安​​​​​​​装​​​​​​​

要​​​​​​​开​​​​​​​始​​​​​​​ kickstart 安​​​​​​​装​​​​​​​,你​​​​​​​必​​​​​​​须​​​​​​​从​​​​​​​你​​​​​​​制​​​​​​​作​​​​​​​的​​​​​​​引​​​​​​​导​​​​​​​介​​​​​​​质​​​​​​​或​​​​​​​Red Hat Enterprise Linux光​​​​​​​盘​​​​​​​ #1 引​​​​​​​导​​​​​​​系​​​​​​​统​​​​​​​,并​​​​​​​输​​​​​​​入​​​​​​​在​​​​​​​引​​​​​​​导​​​​​​​提​​​​​​​示​​​​​​​下​​​​​​​输​​​​​​​入​​​​​​​特​​​​​​​殊​​​​​​​的​​​​​​​引​​​​​​​导​​​​​​​命​​​​​​​令​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​ ks 命​​​​​​​令​​​​​​​行​​​​​​​参​​​​​​​数​​​​​​​被​​​​​​​传​​​​​​​递​​​​​​​给​​​​​​​内​​​​​​​核​​​​​​​,安​​​​​​​装​​​​​​​程​​​​​​​序​​​​​​​将​​​​​​​寻​​​​​​​找​​​​​​​ kickstart 文​​​​​​​件​​​​​​​。​​​​​​​
第​​​​​​​一​​​​​​​张​​​​​​​光​​​​​​​盘​​​​​​​和​​​​​​​软​​​​​​​盘​​​​​​​
The linux ks=floppy command also works if the ks.cfg file is located on a vfat or ext2 file system on a diskette and you boot from the Red Hat Enterprise Linux CD-ROM #1.
另​​​​​​​外​​​​​​​一​​​​​​​个​​​​​​​引​​​​​​​导​​​​​​​方​​​​​​​法​​​​​​​是​​​​​​​, 从​​​​​​​Red Hat Enterprise Linux光​​​​​​​盘​​​​​​​ #1 引​​​​​​​导​​​​​​​并​​​​​​​使​​​​​​​用​​​​​​​软​​​​​​​盘​​​​​​​上​​​​​​​的​​​​​​​ vfat 或​​​​​​​ ext2 文​​​​​​​件​​​​​​​系​​​​​​​统​​​​​​​里​​​​​​​的​​​​​​​ kickstart 文​​​​​​​件​​​​​​​。​​​​​​​要​​​​​​​实​​​​​​​现​​​​​​​这​​​​​​​样​​​​​​​的​​​​​​​方​​​​​​​法​​​​​​​,在​​​​​​​ boot: 提​​​​​​​示​​​​​​​下​​​​​​​输​​​​​​​入​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​:
linux ks=hd:fd0:/ks.cfg
使​​​​​​​用​​​​​​​驱​​​​​​​动​​​​​​​程​​​​​​​序​​​​​​​盘​​​​​​​
如​​​​​​​果​​​​​​​你​​​​​​​要​​​​​​​使​​​​​​​用​​​​​​​带​​​​​​​有​​​​​​​ kickstart 的​​​​​​​驱​​​​​​​动​​​​​​​盘​​​​​​​,你​​​​​​​也​​​​​​​需​​​​​​​要​​​​​​​指​​​​​​​定​​​​​​​ dd 选​​​​​​​项​​​​​​​。​​​​​​​例​​​​​​​如​​​​​​​,从​​​​​​​软​​​​​​​盘​​​​​​​引​​​​​​​导​​​​​​​并​​​​​​​使​​​​​​​用​​​​​​​驱​​​​​​​动​​​​​​​盘​​​​​​​,你​​​​​​​可​​​​​​​以​​​​​​​在​​​​​​​ boot: 提​​​​​​​示​​​​​​​下​​​​​​​输​​​​​​​入​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​:
linux ks=floppy dd
引​​​​​​​导​​​​​​​光​​​​​​​盘​​​​​​​
If the kickstart file is on a boot CD-ROM as described in 第 28.8.1 节 “创​​​​​​​建​​​​​​​ kickstart 引​​​​​​​导​​​​​​​介​​​​​​​质​​​​​​​”, insert the CD-ROM into the system, boot the system, and enter the following command at the boot: prompt (where ks.cfg is the name of the kickstart file):
linux ks=cdrom:/ks.cfg
其​​​​​​​它​​​​​​​启​​​​​​​动​​​​​​​ kickstart 安​​​​​​​装​​​​​​​的​​​​​​​方​​​​​​​法​​​​​​​如​​​​​​​下​​​​​​​列​​​​​​​举​​​​​​​:
askmethod
如​​​​​​​果​​​​​​​我​​​​​​​们​​​​​​​没​​​​​​​有​​​​​​​在​​​​​​​你​​​​​​​的​​​​​​​光​​​​​​​驱​​​​​​​里​​​​​​​检​​​​​​​测​​​​​​​到​​​​​​​Red Hat Enterprise Linux光​​​​​​​盘​​​​​​​的​​​​​​​话​​​​​​​,请​​​​​​​不​​​​​​​要​​​​​​​自​​​​​​​动​​​​​​​地​​​​​​​把​​​​​​​光​​​​​​​盘​​​​​​​作​​​​​​​为​​​​​​​安​​​​​​​装​​​​​​​来​​​​​​​源​​​​​​​。​​​​​​​
autostep
使​​​​​​​ kickstart 成​​​​​​​为​​​​​​​非​​​​​​​交​​​​​​​互​​​​​​​式​​​​​​​的​​​​​​​。​​​​​​​
debug
马​​​​​​​上​​​​​​​启​​​​​​​动​​​​​​​ pdb。​​​​​​​
dd
使​​​​​​​用​​​​​​​驱​​​​​​​动​​​​​​​盘​​​​​​​。​​​​​​​
dhcpclass=<class>
Sends a custom DHCP vendor class identifier. ISC's dhcpcd can inspect this value using "option vendor-class-identifier".
dns=<dns>
用​​​​​​​逗​​​​​​​号​​​​​​​隔​​​​​​​开​​​​​​​的​​​​​​​用​​​​​​​于​​​​​​​网​​​​​​​络​​​​​​​安​​​​​​​装​​​​​​​的​​​​​​​命​​​​​​​名​​​​​​​服​​​​​​​务​​​​​​​器​​​​​​​列​​​​​​​表​​​​​​​。​​​​​​​
driverdisk
Same as 'dd'.
expert
启​​​​​​​用​​​​​​​特​​​​​​​殊​​​​​​​的​​​​​​​功​​​​​​​能​​​​​​​:
  • 允​​​​​​​许​​​​​​​对​​​​​​​可​​​​​​​移​​​​​​​除​​​​​​​介​​​​​​​质​​​​​​​(removable media)进​​​​​​​行​​​​​​​分​​​​​​​区​​​​​​​
  • 提​​​​​​​示​​​​​​​驱​​​​​​​动​​​​​​​盘​​​​​​​
gateway=<gw>
用​​​​​​​于​​​​​​​网​​​​​​​络​​​​​​​安​​​​​​​装​​​​​​​的​​​​​​​网​​​​​​​关​​​​​​​。​​​​​​​
graphical
强​​​​​​​制​​​​​​​图​​​​​​​形​​​​​​​化​​​​​​​安​​​​​​​装​​​​​​​。​​​​​​​ftp/http 安​​​​​​​装​​​​​​​模​​​​​​​式​​​​​​​时​​​​​​​必​​​​​​​须​​​​​​​使​​​​​​​用​​​​​​​图​​​​​​​形​​​​​​​化​​​​​​​界​​​​​​​面​​​​​​​。​​​​​​​
isa
提​​​​​​​示​​​​​​​用​​​​​​​户​​​​​​​输​​​​​​​入​​​​​​​ ISA 设​​​​​​​备​​​​​​​配​​​​​​​置​​​​​​​。​​​​​​​
ip=<ip>
IP to use for a network installation, use 'dhcp' for DHCP.
keymap=<keymap>
Keyboard layout to use. Valid values are those which can be used for the 'keyboard' kickstart command.
ks=nfs:<server>:/<path>
The installation program looks for the kickstart file on the NFS server <server>, as file <path>. The installation program uses DHCP to configure the Ethernet card. For example, if your NFS server is server.example.com and the kickstart file is in the NFS share /mydir/ks.cfg, the correct boot command would be ks=nfs:server.example.com:/mydir/ks.cfg.
ks=http://<server>/<path>
The installation program looks for the kickstart file on the HTTP server <server>, as file <path>. The installation program uses DHCP to configure the Ethernet card. For example, if your HTTP server is server.example.com and the kickstart file is in the HTTP directory /mydir/ks.cfg, the correct boot command would be ks=http://server.example.com/mydir/ks.cfg.
ks=floppy
安​​​​​​​装​​​​​​​程​​​​​​​序​​​​​​​在​​​​​​​ /dev/fd0 里​​​​​​​的​​​​​​​软​​​​​​​盘​​​​​​​上​​​​​​​的​​​​​​​ vfat 或​​​​​​​ ext2 文​​​​​​​件​​​​​​​系​​​​​​​统​​​​​​​里​​​​​​​寻​​​​​​​找​​​​​​​ ks.cfg 文​​​​​​​件​​​​​​​。​​​​​​​
ks=floppy:/<path>
The installation program looks for the kickstart file on the diskette in /dev/fd0, as file <path>.
ks=hd:<device>:/<file>
The installation program mounts the file system on <device> (which must be vfat or ext2), and look for the kickstart configuration file as <file> in that file system (for example, ks=hd:sda3:/mydir/ks.cfg).
ks=file:/<file>
The installation program tries to read the file <file> from the file system; no mounts are done. This is normally used if the kickstart file is already on the initrd image.
ks=cdrom:/<path>
The installation program looks for the kickstart file on CD-ROM, as file <path>.
ks
If ks is used alone, the installation program configures the Ethernet card to use DHCP. The kickstart file is read from the "bootServer" from the DHCP response as if it is an NFS server sharing the kickstart file. By default, the bootServer is the same as the DHCP server. The name of the kickstart file is one of the following:
  • 如​​​​​​​果​​​​​​​指​​​​​​​定​​​​​​​了​​​​​​​ DHCP 且​​​​​​​引​​​​​​​导​​​​​​​文​​​​​​​件​​​​​​​以​​​​​​​ / 开​​​​​​​头​​​​​​​,DHCP 提​​​​​​​供​​​​​​​的​​​​​​​引​​​​​​​导​​​​​​​文​​​​​​​件​​​​​​​将​​​​​​​在​​​​​​​ NFS 服​​​​​​​务​​​​​​​器​​​​​​​上​​​​​​​寻​​​​​​​找​​​​​​​。​​​​​​​
  • 如​​​​​​​果​​​​​​​指​​​​​​​定​​​​​​​了​​​​​​​ DHCP 且​​​​​​​引​​​​​​​导​​​​​​​文​​​​​​​件​​​​​​​不​​​​​​​以​​​​​​​ / 开​​​​​​​头​​​​​​​,DHCP 提​​​​​​​供​​​​​​​的​​​​​​​引​​​​​​​导​​​​​​​文​​​​​​​件​​​​​​​将​​​​​​​在​​​​​​​ NFS 服​​​​​​​务​​​​​​​器​​​​​​​的​​​​​​​ /kickstart 目​​​​​​​录​​​​​​​里​​​​​​​寻​​​​​​​找​​​​​​​。​​​​​​​
  • 如​​​​​​​果​​​​​​​ DHCP 没​​​​​​​有​​​​​​​指​​​​​​​定​​​​​​​引​​​​​​​导​​​​​​​文​​​​​​​件​​​​​​​,安​​​​​​​装​​​​​​​程​​​​​​​序​​​​​​​将​​​​​​​试​​​​​​​图​​​​​​​读​​​​​​​取​​​​​​​ /kickstart/1.2.3.4-kickstart,这​​​​​​​里​​​​​​​的​​​​​​​ 1.2.3.4 是​​​​​​​被​​​​​​​安​​​​​​​装​​​​​​​的​​​​​​​机​​​​​​​器​​​​​​​的​​​​​​​数​​​​​​​字​​​​​​​化​​​​​​​ IP 地​​​​​​​址​​​​​​​。​​​​​​​
ksdevice=<device>
The installation program uses this network device to connect to the network. For example, consider a system connected to an NFS server through the eth1 device. To perform a kickstart installation on this system using a kickstart file from the NFS server, you would use the command ks=nfs:<server>:/<path> ksdevice=eth1 at the boot: prompt.
kssendmac
Adds HTTP headers to ks=http:// request that can be helpful for provisioning systems. Includes MAC address of all nics in CGI environment variables of the form: "X-RHN-Provisioning-MAC-0: eth0 01:23:45:67:89:ab".
lang=<lang>
Language to use for the installation. This should be a language which is valid to be used with the 'lang' kickstart command.
loglevel=<level>
Set the minimum level required for messages to be logged. Values for <level> are debug, info, warning, error, and critical. The default value is info.
lowres
强​​​​​​​制​​​​​​​图​​​​​​​形​​​​​​​用​​​​​​​户​​​​​​​界​​​​​​​面​​​​​​​安​​​​​​​装​​​​​​​程​​​​​​​序​​​​​​​运​​​​​​​行​​​​​​​在​​​​​​​ 640x480 分​​​​​​​辨​​​​​​​率​​​​​​​下​​​​​​​。​​​​​​​
mediacheck
激​​​​​​​活​​​​​​​加​​​​​​​载​​​​​​​者​​​​​​​代​​​​​​​码​​​​​​​,可​​​​​​​以​​​​​​​允​​​​​​​许​​​​​​​用​​​​​​​户​​​​​​​选​​​​​​​择​​​​​​​测​​​​​​​试​​​​​​​安​​​​​​​装​​​​​​​介​​​​​​​质​​​​​​​(如​​​​​​​果​​​​​​​是​​​​​​​基​​​​​​​于​​​​​​​ ISO 的​​​​​​​方​​​​​​​法​​​​​​​)的​​​​​​​完​​​​​​​整​​​​​​​性​​​​​​​。​​​​​​​
method=cdrom
执​​​​​​​行​​​​​​​基​​​​​​​于​​​​​​​光​​​​​​​盘​​​​​​​的​​​​​​​安​​​​​​​装​​​​​​​。​​​​​​​
method=ftp://<path>
Use <path> for an FTP installation.
method=hd:<device>:<path>
Use <path> on <dev> for a hard drive installation.
method=http://<path>
Use <path> for an HTTP installation.
method=nfs:<path>
Use <path> for an NFS installation.
netmask=<nm>
用​​​​​​​于​​​​​​​网​​​​​​​络​​​​​​​安​​​​​​​装​​​​​​​的​​​​​​​掩​​​​​​​码​​​​​​​。​​​​​​​
nofallback
如​​​​​​​果​​​​​​​图​​​​​​​形​​​​​​​化​​​​​​​用​​​​​​​户​​​​​​​界​​​​​​​面​​​​​​​退​​​​​​​出​​​​​​​时​​​​​​​失​​​​​​​败​​​​​​​。​​​​​​​
nofb
不​​​​​​​要​​​​​​​载​​​​​​​入​​​​​​​某​​​​​​​些​​​​​​​语​​​​​​​言​​​​​​​进​​​​​​​行​​​​​​​文​​​​​​​本​​​​​​​安​​​​​​​装​​​​​​​时​​​​​​​所​​​​​​​需​​​​​​​要​​​​​​​的​​​​​​​ VGA16 帧​​​​​​​缓​​​​​​​冲​​​​​​​。​​​​​​​
nofirewire
不​​​​​​​要​​​​​​​装​​​​​​​载​​​​​​​对​​​​​​​防​​​​​​​火​​​​​​​墙​​​​​​​设​​​​​​​备​​​​​​​的​​​​​​​支​​​​​​​持​​​​​​​。​​​​​​​
noipv6
在​​​​​​​安​​​​​​​装​​​​​​​过​​​​​​​程​​​​​​​中​​​​​​​禁​​​​​​​用​​​​​​​ IPv6 网​​​​​​​络​​​​​​​。​​​​​​​
nokill
当​​​​​​​发​​​​​​​生​​​​​​​致​​​​​​​命​​​​​​​错​​​​​​​误​​​​​​​时​​​​​​​,阻​​​​​​​止​​​​​​​ anaconda 终​​​​​​​止​​​​​​​所​​​​​​​有​​​​​​​运​​​​​​​行​​​​​​​程​​​​​​​序​​​​​​​的​​​​​​​调​​​​​​​试​​​​​​​选​​​​​​​项​​​​​​​。​​​​​​​
nomount
Don't automatically mount any installed Linux partitions in rescue mode.
nonet
不​​​​​​​要​​​​​​​自​​​​​​​动​​​​​​​探​​​​​​​测​​​​​​​网​​​​​​​络​​​​​​​设​​​​​​​备​​​​​​​。​​​​​​​
noparport
不​​​​​​​要​​​​​​​试​​​​​​​图​​​​​​​装​​​​​​​载​​​​​​​对​​​​​​​并​​​​​​​行​​​​​​​端​​​​​​​口​​​​​​​的​​​​​​​支​​​​​​​持​​​​​​​。​​​​​​​
nopass
Don't pass keyboard/mouse info to stage 2 installer, good for testing keyboard and mouse config screens in stage2 installer during network installs.
nopcmcia
忽​​​​​​​略​​​​​​​系​​​​​​​统​​​​​​​上​​​​​​​的​​​​​​​任​​​​​​​何​​​​​​​ PCMCIA 控​​​​​​​制​​​​​​​器​​​​​​​。​​​​​​​
noprobe
提​​​​​​​示​​​​​​​用​​​​​​​户​​​​​​​输​​​​​​​入​​​​​​​而​​​​​​​不​​​​​​​要​​​​​​​试​​​​​​​图​​​​​​​检​​​​​​​测​​​​​​​硬​​​​​​​件​​​​​​​。​​​​​​​
noshell
安​​​​​​​装​​​​​​​过​​​​​​​程​​​​​​​中​​​​​​​ tty2 上​​​​​​​不​​​​​​​要​​​​​​​出​​​​​​​现​​​​​​​ shell。​​​​​​​
nostorage
不​​​​​​​要​​​​​​​自​​​​​​​动​​​​​​​探​​​​​​​测​​​​​​​存​​​​​​​储​​​​​​​设​​​​​​​备​​​​​​​(SCSI、​​​​​​​IDE、​​​​​​​RAID)。​​​​​​​
nousb
不​​​​​​​要​​​​​​​装​​​​​​​载​​​​​​​ USB 支​​​​​​​持​​​​​​​(如​​​​​​​果​​​​​​​安​​​​​​​装​​​​​​​过​​​​​​​程​​​​​​​在​​​​​​​早​​​​​​​些​​​​​​​时​​​​​​​候​​​​​​​挂​​​​​​​起​​​​​​​,这​​​​​​​会​​​​​​​有​​​​​​​帮​​​​​​​助​​​​​​​)。​​​​​​​
nousbstorage
不​​​​​​​要​​​​​​​在​​​​​​​安​​​​​​​装​​​​​​​程​​​​​​​序​​​​​​​的​​​​​​​载​​​​​​​入​​​​​​​程​​​​​​​序​​​​​​​中​​​​​​​禁​​​​​​​止​​​​​​​载​​​​​​​入​​​​​​​ usbstorage 模​​​​​​​块​​​​​​​。​​​​​​​它​​​​​​​对​​​​​​​ SCSI 系​​​​​​​统​​​​​​​上​​​​​​​的​​​​​​​设​​​​​​​备​​​​​​​排​​​​​​​序​​​​​​​可​​​​​​​能​​​​​​​有​​​​​​​帮​​​​​​​助​​​​​​​。​​​​​​​
rescue
运​​​​​​​行​​​​​​​救​​​​​​​援​​​​​​​环​​​​​​​境​​​​​​​。​​​​​​​
resolution=<mode>
Run installer in mode specified, '1024x768' for example.
serial
启​​​​​​​用​​​​​​​串​​​​​​​行​​​​​​​控​​​​​​​制​​​​​​​台​​​​​​​支​​​​​​​持​​​​​​​。​​​​​​​
skipddc
Skips DDC probe of monitor, may help if it's hanging system.
syslog=<host>[:<port>]
Once installation is up and running, send log messages to the syslog process on <host>, and optionally, on port <port>. Requires the remote syslog process to accept connections (the -r option).
text
强​​​​​​​制​​​​​​​文​​​​​​​本​​​​​​​模​​​​​​​式​​​​​​​的​​​​​​​安​​​​​​​装​​​​​​​。​​​​​​​
updates
提​​​​​​​示​​​​​​​包​​​​​​​含​​​​​​​更​​​​​​​新​​​​​​​(bug 修​​​​​​​复​​​​​​​)的​​​​​​​软​​​​​​​盘​​​​​​​。​​​​​​​
updates=ftp://<path>
基​​​​​​​于​​​​​​​ FTP 的​​​​​​​包​​​​​​​含​​​​​​​更​​​​​​​新​​​​​​​的​​​​​​​映​​​​​​​像​​​​​​​文​​​​​​​件​​​​​​​。​​​​​​​
updates=http://<path>
基​​​​​​​于​​​​​​​ HTTP 的​​​​​​​包​​​​​​​含​​​​​​​更​​​​​​​新​​​​​​​的​​​​​​​映​​​​​​​像​​​​​​​文​​​​​​​件​​​​​​​。​​​​​​​
upgradeany
Don't require an /etc/redhat-release that matches the expected syntax to upgrade.
vnc
启​​​​​​​用​​​​​​​基​​​​​​​于​​​​​​​ vnc 的​​​​​​​安​​​​​​​装​​​​​​​。​​​​​​​你​​​​​​​将​​​​​​​需​​​​​​​要​​​​​​​连​​​​​​​接​​​​​​​到​​​​​​​使​​​​​​​用​​​​​​​ vnc 客​​​​​​​户​​​​​​​端​​​​​​​程​​​​​​​序​​​​​​​的​​​​​​​机​​​​​​​器​​​​​​​。​​​​​​​
vncconnect=<host>[:<port>]
Once installation is up and running, connect to the vnc client named <host>, and optionally use port <port>.
Requires 'vnc' option to be specified as well.
vncpassword=<password>
启​​​​​​​用​​​​​​​ vnc 连​​​​​​​接​​​​​​​的​​​​​​​密​​​​​​​码​​​​​​​。​​​​​​​这​​​​​​​将​​​​​​​阻​​​​​​​止​​​​​​​其​​​​​​​他​​​​​​​人​​​​​​​无​​​​​​​意​​​​​​​地​​​​​​​连​​​​​​​接​​​​​​​到​​​​​​​基​​​​​​​于​​​​​​​ vnc 的​​​​​​​安​​​​​​​装​​​​​​​上​​​​​​​。​​​​​​​
Requires 'vnc' option to be specified as well.

为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。