29.10. 预​​​​​​​安​​​​​​​装​​​​​​​脚​​​​​​​本​​​​​​​

预​​​​​​​安​​​​​​​装​​​​​​​脚​​​​​​​本​​​​​​​

图 29.15. 预​​​​​​​安​​​​​​​装​​​​​​​脚​​​​​​​本​​​​​​​

你​​​​​​​可​​​​​​​以​​​​​​​添​​​​​​​加​​​​​​​系​​​​​​​统​​​​​​​在​​​​​​​解​​​​​​​析​​​​​​​ kickstart 文​​​​​​​件​​​​​​​后​​​​​​​,安​​​​​​​装​​​​​​​开​​​​​​​始​​​​​​​前​​​​​​​要​​​​​​​运​​​​​​​行​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​你​​​​​​​在​​​​​​​ kickstart 文​​​​​​​件​​​​​​​中​​​​​​​配​​​​​​​置​​​​​​​了​​​​​​​网​​​​​​​络​​​​​​​,联​​​​​​​网​​​​​​​在​​​​​​​这​​​​​​​部​​​​​​​分​​​​​​​被​​​​​​​处​​​​​​​理​​​​​​​前​​​​​​​会​​​​​​​被​​​​​​​启​​​​​​​用​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​你​​​​​​​想​​​​​​​包​​​​​​​括​​​​​​​一​​​​​​​个​​​​​​​预​​​​​​​安​​​​​​​装​​​​​​​脚​​​​​​​本​​​​​​​,在​​​​​​​文​​​​​​​本​​​​​​​区​​​​​​​域​​​​​​​内​​​​​​​输​​​​​​​入​​​​​​​它​​​​​​​。​​​​​​​
要​​​​​​​指​​​​​​​定​​​​​​​执​​​​​​​行​​​​​​​脚​​​​​​​本​​​​​​​的​​​​​​​脚​​​​​​​本​​​​​​​语​​​​​​​言​​​​​​​,选​​​​​​​中​​​​​​​「​​​​​​​使​​​​​​​用​​​​​​​解​​​​​​​释​​​​​​​器​​​​​​​」​​​​​​​选​​​​​​​项​​​​​​​并​​​​​​​在​​​​​​​文​​​​​​​本​​​​​​​框​​​​​​​里​​​​​​​输​​​​​​​入​​​​​​​解​​​​​​​释​​​​​​​器​​​​​​​。​​​​​​​例​​​​​​​如​​​​​​​,对​​​​​​​于​​​​​​​ Python 脚​​​​​​​本​​​​​​​可​​​​​​​以​​​​​​​指​​​​​​​定​​​​​​​ /usr/bin/python2.4。​​​​​​​这​​​​​​​个​​​​​​​选​​​​​​​项​​​​​​​相​​​​​​​当​​​​​​​于​​​​​​​在​​​​​​​ kickstart 文​​​​​​​件​​​​​​​里​​​​​​​使​​​​​​​用​​​​​​​ %pre --interpreter /usr/bin/python2.4。​​​​​​​
在​​​​​​​预​​​​​​​安​​​​​​​装​​​​​​​环​​​​​​​境​​​​​​​里​​​​​​​可​​​​​​​用​​​​​​​的​​​​​​​很​​​​​​​多​​​​​​​命​​​​​​​令​​​​​​​都​​​​​​​由​​​​​​​ busybox 的​​​​​​​一​​​​​​​个​​​​​​​叫​​​​​​​ busybox-anaconda 的​​​​​​​版​​​​​​​本​​​​​​​提​​​​​​​供​​​​​​​。​​​​​​​Busybox 提​​​​​​​供​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​只​​​​​​​提​​​​​​​供​​​​​​​最​​​​​​​常​​​​​​​有​​​​​​​的​​​​​​​功​​​​​​​能​​​​​​​,而​​​​​​​不​​​​​​​是​​​​​​​全​​​​​​​部​​​​​​​。​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​列​​​​​​​表​​​​​​​包​​​​​​​括​​​​​​​了​​​​​​​ busybox 提​​​​​​​供​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​:
addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, bbconfig, bunzip2, busybox, bzcat, cal, cat, catv, chattr, chgrp, chmod, chown, chroot, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, devfsd, df, diff, dirname, dmesg, dnsd, dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, e2fsck, e2label, echo, ed, egrep, eject, env, ether-wake, expr, fakeidentd, false, fbset, fdflush, fdformat, fdisk, fgrep, find, findfs, fold, free, freeramdisk, fsck, fsck.ext2, fsck.ext3, fsck.minix, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifup, inetd, insmod, install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iptunnel, kill, killall, lash, last, length, less, linux32, linux64, ln, load_policy, loadfont, loadkmap, login, logname, losetup, ls, lsattr, lsmod, lzmacat, makedevs, md5sum, mdev, mesg, mkdir, mke2fs, mkfifo, mkfs.ext2, mkfs.ext3, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, msh, mt, mv, nameif, nc, netstat, nice, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, printenv, printf, ps, pwd, rdate, readlink, readprofile, realpath, renice, reset, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, runlevel, rx, sed, seq, setarch, setconsole, setkeycodes, setlogcons, setsid, sh, sha1sum, sleep, sort, start-stop-daemon, stat, strings, stty, su, sulogin, sum, swapoff, swapon, switch_root, sync, sysctl, tail, tar, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, tune2fs, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip
前​​​​​​​面​​​​​​​的​​​​​​​一​​​​​​​些​​​​​​​命​​​​​​​令​​​​​​​由​​​​​​​ busybox 提​​​​​​​供​​​​​​​,而​​​​​​​另​​​​​​​外​​​​​​​一​​​​​​​些​​​​​​​则​​​​​​​由​​​​​​​完​​​​​​​整​​​​​​​版​​​​​​​本​​​​​​​提​​​​​​​供​​​​​​​。​​​​​​​除​​​​​​​了​​​​​​​上​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​之​​​​​​​外​​​​​​​,在​​​​​​​完​​​​​​​整​​​​​​​版​​​​​​​本​​​​​​​里​​​​​​​还​​​​​​​提​​​​​​​供​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​:
anaconda bash bzip2 jmacs ftp head joe kudzu-probe list-harddrives loadkeys mtools mbchk mtools mini-wm mtools jpico pump python python2.4 raidstart raidstop rcp rlogin rsync setxkbmap sftp shred ssh syslinux syslogd tac termidx vncconfig vncpasswd xkbcomp Xorg Xvnc zcat

警告

不​​​​​​​要​​​​​​​输​​​​​​​入​​​​​​​“​​​​​​​%pre”​​​​​​​,系​​​​​​​统​​​​​​​会​​​​​​​为​​​​​​​你​​​​​​​自​​​​​​​动​​​​​​​添​​​​​​​加​​​​​​​。​​​​​​​

注意

预​​​​​​​安​​​​​​​装​​​​​​​脚​​​​​​​本​​​​​​​是​​​​​​​在​​​​​​​挂​​​​​​​载​​​​​​​安​​​​​​​装​​​​​​​介​​​​​​​质​​​​​​​以​​​​​​​及​​​​​​​装​​​​​​​载​​​​​​​第​​​​​​​二​​​​​​​阶​​​​​​​段​​​​​​​引​​​​​​​导​​​​​​​装​​​​​​​载​​​​​​​程​​​​​​​序​​​​​​​后​​​​​​​运​​​​​​​行​​​​​​​的​​​​​​​。​​​​​​​因​​​​​​​此​​​​​​​,不​​​​​​​可​​​​​​​能​​​​​​​在​​​​​​​预​​​​​​​安​​​​​​​装​​​​​​​脚​​​​​​​本​​​​​​​里​​​​​​​改​​​​​​​变​​​​​​​安​​​​​​​装​​​​​​​介​​​​​​​质​​​​​​​。​​​​​​​

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