Installation guide
Note
If the clearpart command is used, then the --onpart command cannot be used
on a logical partition.
Important — unformatted DASDs on System z
Red Hat Enterprise Linux 5 cannot use unformatted DASDs when installing with
kickstart and the cmdline user interface. Use the following command in your kickstart
file and explicitly list all DASDs that you want to be low-level formatted with d asd f mt
automatically in case they are not yet low-level formatted:
clearpart --initlabel --drives=names_of_DASDs
For example:
clearpart --initlabel --drives=dasda,dasdb,dasdc
--all — Erases all partitions from the system.
--drives= — Specifies which drives to clear partitions from. For example, the following
clears all the partitions on the first two drives on the primary IDE controller:
clearpart --drives=hda,hdb --all
--initlabel — Initializes the disk label to the default for your architecture (for
example msdos for x86 and gpt for Itanium). It is useful so that the installation program
does not ask if it should initialize the disk label if installing to a brand new hard drive.
--linux — Erases all Linux partitions.
--none (default) — Do not remove any partitions.
cmdline ( op t io n al)
Perform the installation in a completely non-interactive command line mode. Any prompts
for interaction halts the install. This mode is useful on IBM System z systems with the x3270
console.
device ( o p t io n al)
On most PCI systems, the installation program autoprobes for Ethernet and SCSI cards
properly. On older systems and some PCI systems, however, kickstart needs a hint to find
the proper devices. The device command, which tells the installation program to install
extra modules, is in this format:
device <type> <moduleName> --opts=<options>
<type> — Replace with either scsi or eth.
<moduleName> — Replace with the name of the kernel module which should be installed.
Red Hat Ent erprise Linux 5 Inst allat ion G uide
288