ZIPL(8) | System Manager's Manual | ZIPL(8) |
zipl - boot loader for IBM S/390 and zSeries architectures
zipl [OPTION] [SECTION]
zipl is a boot loader tool for IBM S/390 and zSeries machines. It can be used to prepare devices for initial program load (IPL). The following functions are supported:
Each of these operations is characterized by a boot configuration, i.e. a set of required parameters. zipl supports three ways of specifying a boot configuration:
To use a single boot configuration section, provide its name as parameter to zipl. If zipl is called without parameters, it searches the configuration file for a section specifying the default action.
Boot menu
The zipl tool implements a boot menu which includes the following features:
See the zipl.conf(5) man page for details on how to use the boot menu.
Logical devices
zipl can be used to prepare logical devices (e.g. a linear device mapper target) for booting when the following requirements are met by the logical device setup:
Examples for logical device setups that are supported are linear and mirror mapping.
When working with logical devices, zipl requires that the user provides more information about the target device:
If the user does not provide this information explicitly by parameters zipl automatically runs a driver specific helper script to obtain these data, e.g. zipl_helper.device-mapper.
Note that zipl uses /proc/devices to determine the driver name for a given device. If the driver name cannot be determined the preparation of a logical device for boot might fail. This can be the case in a chroot environment when /proc is not mounted explicitly.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
This option is required when working with logical devices (see section "Logical devices" above).
This option is required when working with logical devices which are located on DASD ECKD disks (see section "Logical devices" above).
This option is required when working with logical devices (see section "Logical devices" above).
This option is required when working with logical devices (see section "Logical devices" above).
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
It is not possible to specify both this parameter and the name of a menu section on the command line at the same time.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
With the exception of SCSI, an optional decimal SIZE parameter may be specified to determine the maximum dump size in bytes. SIZE can be suffixed by either of the letters K, M or G to signify that the decimal number be interpreted as kilobytes, megabytes or gigabytes respectively. SIZE will be rounded up to the next megabyte boundary. Note that when you specify a SIZE lower than the actual memory size used by linux (see kernel parameter mem=), the resulting dump will be incomplete.
Note that on partitions formatted with the ECKD/linux disk layout, the dump record will be overwritten by system dump data so that it can be used for IPL only once before the system dump record has to be installed again. Partitions formatted with the ECKD/compatible disk layout allow for an arbitrary number of subsequent dumps.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
A dump signature is written to each partition contained in DUMPLIST. This signature is checked by the dump tool, when the dump is written. If a dump partition does not have the signature, the dump tool will refuse to write the dump. With the --force option this mechanism can be disabled. E.g. this can be used for installing swap space on dump partitions.
An optional decimal SIZE parameter may be specified to determine the maximum dump size in bytes. SIZE can be suffixed by either of the letters K, M or G to signify that the decimal number be interpreted as kilobytes, megabytes or gigabytes respectively. SIZE will be rounded up to the next megabyte boundary. Note that when you specify a SIZE lower than the actual memory size used by linux (see kernel parameter mem=), the resulting dump will be incomplete.
This option is useful if the actual memory size used by linux is larger than any single ECKD DASD partition could hold.
It is not possible to specify both this parameter and the name of a menu or configuration section on the command line at the same time.
This option cannot be used together with either --target, --image, --ramdisk, --parmfile, --parameters, --segment, --dumpto or --mvdump.
Note that when working with tapes, the current device position will be changed even when specifying this option.
This option can only be used together with --mvdump.
auto (default)
Write signatures if available and supported by the system.
1
Write signatures regardless of support indicated by the local
system. Missing signatures for stage 3 and kernel IPL files
will result in an error.
0
Do not write signatures.
1. Scenario: prepare disk for booting a Linux kernel image using
the following parameters:
- the directory /boot is located on the boot device
- /boot/image contains the Linux kernel image
- /boot/ramdisk.img contains a ramdisk image
- /boot/parmfile contains the kernel parameter line
The respective zipl call reads:
zipl -t /boot -i /boot/image -r /boot/ramdisk.img
-p /boot/parmfile
2. Scenario: prepare DASD partition /dev/dasda1 for system dump:
zipl -d /dev/dasda1
While it is not recommended for reasons of recovery and redundancy, FCP. attached SCSI disks can also be accessed directly without multipathing,. for example via the "/dev/disk/by-path/" device nodes.
Feb 2012 | s390-tools |