Specifying GRUB 2 parameters

SUSE Linux Enterprise Server 15 SP5 LPAR mode z/VM guest KVM guest

When you IPL from a SCSI, DASD, or virtio block device, you can use the loadparm parameter to, for example, select a boot option from a GRUB 2 boot menu.

About this task

For DASDs and virtio block devices, the syntax is <0|1|2>g<grub_parameters>, for SCSI it is g<grub_parameters>, where <grub_parameters> specifies a boot configuration from a GRUB 2 boot menu.

Procedure

  1. Optional: To select a GRUB 2 boot option, first use grub2-once --enum to list the GRUB 2 boot entries, for example:
    # grub2-once --enum
    0 SLES15
    1>0 Advanced options for SLES12>SLES12, with Linux 4.12.14-default
    1>1 Advanced options for SLES12>SLES12, with Linux 4.12.14-default (recovery mode)
  2. To specify a GRUB 2 boot entry, replace the greater than (>) character with the full stop (.) character.
    For example, specify loadparm g1.1 for the 1>1 boot entry.