How kernel parameters from different sources are combined
If kernel parameters are specified in a combination of methods, they are concatenated in a specific order.
- Kernel parameters that have been included in the boot configuration with GRUB 2.
- Kernel parameters that are specified with the GRUB 2 interactive boot
menu.
The combined parameters that are specified in the boot configuration and through the GRUB 2 interactive boot menu must not exceed 895 characters.
- Kernel parameters that you specify through the HMC or through z/VM® interfaces).
For DASD boot devices you can specify up to 64 characters (z/VM only); for SCSI boot devices you can specify up to 3452 characters.
In total, the combined kernel parameter string that is passed to the Linux® kernel for booting can be up to 4096 characters.
Multiple specifications for the same parameter
For some kernel parameters, multiple instances
in the kernel parameter string are treated cumulatively. For example,
multiple specifications for cio_ignore= are all processed
and combined.
Conflicting kernel parameters
If
the kernel parameter string contains kernel parameters with mutually
exclusive settings, the last specification in the string overrides
preceding ones. Thus, you can specify a kernel parameter when booting
to override an unwanted setting in the boot configuration.
Examples:
- If the kernel parameters in your boot configuration include
possible_cpus=8but you specifypossible_cpus=2when booting, Linux usespossible_cpus=2. - If the kernel parameters in your boot configuration include
resume=/dev/dasda2to specify a disk from which to resume the Linux instance when it has been suspended, you can circumvent the resume process by specifyingnoresumewhen booting.