home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / doc / README.ks
Text File  |  1997-11-07  |  11KB  |  278 lines

  1. # This is a sample kickstart file.  The values here probably won't be what
  2. # you want them to be for your install, and besides, they're all commented
  3. # out, so use this as a *template* for your kickstart file.
  4. #
  5. # H O W   T O   S E T   U P   A   K I C K S T A R T   I N S T A L L
  6. # (Note: Kickstart installs are not available for Red Hat Linux/SPARC.)
  7. #
  8. # To begin a kickstart install, you must include the "ks" option on the Red
  9. # Hat Linux boot diskette's boot command.  You can read the kickstart file
  10. # from diskette by using the boot command "linux ks=floppy" (For Red Hat
  11. # Linux/Intel only).  In this case, the kickstart file will be read from
  12. # the diskette.  It must be called ks.cfg, and must reside in the
  13. # diskette's root directory.
  14. # If you want to do a kickstart'ed NFS install, you must have a bootp
  15. # server on your network, and it must have an entry for the machine you're
  16. # installing.  The bootp server will be used to give the installing machine
  17. # its network information.  It can also provide the location of the
  18. # machine's kickstart file.  If this is done, an NFS mount on the kickstart
  19. # file's path is attempted, and the file is copied from there.
  20. # The file, by default, is called <ip-addr>-kickstart, in which <ip-addr>
  21. # is the machine's IP address in "dotted decimal" notation.
  22. # If the filename obtained from bootp ends with "/", it is interpreted as a
  23. # path.  In this case, the default kickstart filename is used, relative to
  24. # the given path.
  25. #
  26. # If the filename obtained from bootp doesn't end with "/", then it is
  27. # interpreted as the name of the kickstart file, including the specified
  28. # path.
  29. # If no filename is given, the default filename is used, and /kickstart/ is
  30. # used as the path.
  31. # I N S T A L L A T I O N   M E T H O D (Required for upgrade)
  32. #
  33. # Kickstart installs can be performed using one of two methods:
  34. #
  35. # NFS -- Using an NFS server to obtain the distribution files.
  36. # CDROM -- Using a CDROM to obtain the distribution files.
  37. #
  38. # For NFS installs, use the --server option to specify the NFS server.
  39. # Note that it defaults to the server specified in the bootp response, or
  40. # to the bootp server itself, if the bootp response doesn't specify a
  41. # server.  The --dir option is used to point to the top-level directory
  42. # containing the distribution files.
  43. #
  44. # Example:
  45. #nfs --server porkchop.redhat.com --dir /mnt/test/i386
  46. #
  47. # For CDROM installs, just say, "cdrom".
  48. #
  49. # Example:
  50. #cdrom
  51. #
  52. # D E V I C E   S P E C I F I C A T I O N  (Required for upgrade)
  53. #
  54. # In this section, you can specify any device information required.
  55. # PCI cards can normally be autoprobed, so they don't need to be specified
  56. # here.
  57. #
  58. # To specify a device, start with the "device" keyword, followed by the
  59. # type of device:
  60. #
  61. # ethernet -- for ethernet cards.
  62. # scsi -- for scsi cards.
  63. # cdrom -- for non-scsi, non-ide cdrom cards (eg., sound cards with
  64. # proprietary CDROM interfaces).
  65. #
  66. # Optional parameters that are required by a device can also be specified
  67. # by using the --opts option.  Enclose the paratmeters in quotes after
  68. # --opts.
  69. #
  70. # Note that you can specify multiple types of devices.  For example, if you
  71. # know the machines you'll be kickstart-installing have either an Adaptec
  72. # 1542 or a Buslogic card, you can enter both in the kickstart file.  But
  73. # be aware that the install uses only the first card found, so order the
  74. # device entries appropriately...
  75. #
  76. # Example:
  77. #device ethernet 3c509 --opts "io=0x330, irq=7"
  78. #
  79. # K E Y M A P   S P E C I F I C A T I O N (Required for upgrade)
  80. # Next, specify the keymap to use with your keyboard.  The available keymap
  81. # types are listed in the kbdconfig program.
  82. #
  83. # Example:
  84. #keyboard us
  85. #
  86. # P A R T I T I O N   S P E C I F I C A T I O N
  87. # This is where you specify the partitions to be used in the install.
  88. # There are several sections that we'll cover in order.
  89. # If you are doing a kickstart install on a new drive, the partition table
  90. # will likely corrupt.  The zerombr command can be used to clear the
  91. # partition table if it is corrupt; otherwise it will take no action.  In
  92. # order to clear the partition table, follow the zerombr command with
  93. # "yes"; if followed by "no", no action will be taken.
  94. #
  95. # Example:
  96. #zerombr yes
  97. #
  98. # The clearpart command is used to control which partitions are to be wiped
  99. # from all drives.  Follow the clearpart command with "--all" to remove all
  100. # partitions from all drives, or "--linux" to remove all Linux-related
  101. # partitions (ie., partitions of type "Linux native" and "Linux swap") from
  102. # all drives.
  103. #
  104. # Example:
  105. #clearpart --linux
  106. # Next, specify the partitions that you'd like to create.  Partitions are
  107. # only created from free space available on the system.  Enter one
  108. # partition per line using the following format:
  109. #
  110. # part <mntpt> --size <size in megs> [--grow] [--maxsize <size in megs>]
  111. #
  112. # Where <mntpt> is the desired mount point for the partition (or "swap" for
  113. # swap partitions).  Add "--grow" to create a partition that will grow to
  114. # fill all remaining space on the drive.  To limit the affect of --grow,
  115. # you can add "--maxsize" followed by a size specification.
  116. # Examples:
  117. #part / --size 250
  118. #part swap --size 32
  119. #part /usr --size 500 --grow --maxsize 800
  120. #part /tmp --size 100 --grow
  121. # I N S T A L L / U P G R A D E   S P E C I F I C A T I O N (Required for upgrade)
  122. # Here we specify whether an install or an upgrade is to be performed.
  123. # Enter "install" for a fresh install, and "upgrade" for an upgrade.
  124. # Note: If you are doing an upgrade, you only need to specify the following
  125. # items in the kickstart file:
  126. # Installation method
  127. # Device specification (if necessary)
  128. # Keymap specification
  129. # Install/upgrade specification (of course!)
  130. # LILO configuration
  131. #
  132. # Example:
  133. #install
  134. #
  135. # M O U S E   S P E C I F I C A T I O N
  136. #
  137. # Enter the type of mouse here.  Valid mouse types are:
  138. # ps/2
  139. # mousesystems
  140. # microsoft
  141. # logitech
  142. # atibm
  143. # logibm
  144. # msbm
  145. # The default device is correctly set for busmice.  /dev/cua0 is the
  146. # default for serial mice, but can be overridden with the "--device"
  147. # option.  Follow it with the device name; for example, "cua2".  If three
  148. # button emulation is needed, specify "--emulthree"
  149. #
  150. # Example:
  151. #mouse ps/2
  152. #
  153. # T I M E Z O N E   S P E C I F I C A T I O N
  154. #
  155. # To specify the desired timezone, use the "timezone" command.  Run
  156. # /usr/sbin/timeconfig to see all the valid timezone names.  If you
  157. # computer's clock is set to GMT/UTC, add the --utc option.
  158. #
  159. # Example:
  160. #timezone --utc US/Eastern
  161. #
  162. # X   W I N D O W   S Y S T E M   S P E C I F I C A T I O N
  163. # Next, it's necessary to enter information related to X.  In order to
  164. # properly configure X, the installation program will need to know about
  165. # your video card (or at least the X server it should use), and your
  166. # monitor (or at least your monitor's specifications).
  167. #
  168. # Video card selection:
  169. # The installation program will normally find PCI video cards
  170. # automatically.  However, you can specify the video card by adding the
  171. # --card option, followed by the card type.  If you run Xconfigurator on a
  172. # Red Hat Linux system, and use the --help option, you'll get a list of all
  173. # valid card types.
  174. # Alternatively, you can enter the name of the X server to be used by
  175. # adding the --server option, followed by the server type.  Again, run
  176. # Xconfigurator --help to obtain a listing of all valid X servers.
  177. #
  178. # Monitor selection:
  179. # Next, you'll need to specify your monitor.  If no monitor information is
  180. # specified, the installation program assumes it it capable of operation at
  181. # 640x480@60hz.  Otherwise, use the --monitor option, followed by the
  182. # monitor type.  Xconfigurator --help lists all valid monitor types.
  183. #
  184. # Alternatively, you can enter the monitor's horizontal and vertical synch
  185. # rates using the --hsync and --vsync options.  Each is followed by the
  186. # appropriate synch rate.  The rates may be single numbers (representing
  187. # kilohertz and megahertz, as appropriate), groups of numbers separated by
  188. # commas, or two numbers separated by a dash (signifying a range).  For
  189. # example: --hsync "31.5,35.5,50-65" --vsync "50-70"
  190. #
  191. # Example:
  192. #xconfig --server "Mach64" --monitor "tatung cm14uhe"
  193. # R O O T   P A S S W O R D
  194. #
  195. # This is where the root password for the freshly-installed system is
  196. # specified.  Note that, for NFS kickstarts, this password goes over the
  197. # network in the clear.  In that case, you can enter a pre-crypted password
  198. # (ie, one suitable for inclusion in /etc/passwd without further editing)
  199. # by using the --iscrypted option, followed by the crypted password.
  200. #
  201. #Example:
  202. #rootpw RHkickedme
  203. #
  204. # L I L O   C O N F I G U R A T I O N (Required for upgrade)
  205. #
  206. # In this section you specify how LILO is to be configured.  By default,
  207. # LILO will be installed in the master boot record, and will have no append
  208. # line for kernel boot-time options.  You can modify this by using the
  209. # --location option to specify where LILO should be installed, and by using
  210. # the --append option to add an append line to /etc/lilo.conf.
  211. #
  212. # The --location option takes the following parameters:
  213. #
  214. # mbr -- Install LILO in the master boot record.
  215. # partition -- Install LILO in the first sector of the root partition.
  216. # none -- Do not install LILO (meaning you'd better have another way of
  217. # booting this system!
  218. #
  219. # (Note: There is no equivalent to this command on the Alpha.)
  220. # Example:
  221. #lilo --append "mem=128M" --location mbr
  222. #
  223. # P A C K A G E   S P E C I F I C A T I O N
  224. #
  225. # In this section you can select the components and packages that are to be
  226. # installed.  This section must be started with a line containing
  227. # "%packages".  Component and/or package names then follow.  Components are
  228. # preceded by "@ " (NOTE THE SPACE!), and packages appear as-is.
  229. #
  230. # To get a list of components and packages, refer to the file
  231. # RedHat/base/comps on the CD.  The components in the file are preceded by
  232. # a number and a space, while the packages have no preceding characters.
  233. # Example:
  234. #%packages
  235. #@ Networked Workstation
  236. #@ C Development
  237. #@ Web Server
  238. #@ X Window System
  239. #bsd-games
  240. #
  241. # P O S T - I N S T A L L A T I O N   C O M M A N D S
  242. #
  243. # This section must be the last in the kickstart file.  It can contain
  244. # commands to be executed when the installation has completed.  This
  245. # section must be started with a line containing "%post".  Any lines after
  246. # this one will be executed as commands.
  247. #
  248. # Example:
  249. #%post
  250. #echo "Kickstart-installed Red Hat Linux `/bin/date`" > /etc/motd
  251.