How kernel parameters from different sources are combined

6.14 LPAR mode z/VM guest KVM guest

If kernel parameters are specified in a combination of methods, they are concatenated in a specific order.

  1. Kernel parameters that have been included in the boot configuration.
  2. LPAR or z/VM®: 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 FCP-attached SCSI disk 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 depends on how the kernel is compiled. If more than the configured maximum of characters are specified, the excessive characters are truncated.

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.
Example: If the kernel parameters in your boot configuration include possible_cpus=8 but you specify possible_cpus=2 when booting, Linux uses possible_cpus=2.

Parameters other than kernel parameters

Parameters on the kernel parameter string that the kernel does not recognize as kernel parameters are ignored by the kernel. The kernel issues a kernel message that lists these parameters, to call out possible erroneous specifications.

These parameters then become available to other components that run later in the boot process. For example, parameters for separate kernel modules can be specified along with the kernel parameters, see Including module parameters in a boot configuration. How multiple specifications and conflicts are resolved for such parameters depends on the program that evaluates them.