
Boot Linux by issuing the IPL command with a DASD
boot device.
Before you begin
You need a DASD boot device that is prepared with GRUB 2.
Procedure
Perform these steps to start the boot process:
- Establish a CMS or CP session with the z/VM guest
virtual machine where you want to boot Linux.
- Ensure that the boot device is accessible to your z/VM guest virtual machine.
- Issue a command of this form:
#cp i <devno> clear loadparm <parm>g<grub_parameters> parm <kernel_parameters>
where:
- <devno>
- specifies the device number of the boot device as seen by the guest.
- loadparm <parm>
- selects the kernel to be booted, a site context, or both.
- Kernel to be booted
- 0 or 1
- immediately starts GRUB 2 for booting the target SUSE Linux Enterprise Server 15 SP5 kernel.
- 2
- boots a rescue kernel.
If you omit this specification,
GRUB 2 is started after a timeout period has expired. Depending on your configuration, a zipl boot menu might
be displayed during the timeout period. From this menu, you can choose between starting GRUB 2 or booting a rescue kernel.
- Site specification
- Applies only to Linux in a site-specific context, see
Site-specific Linux instantiation. Omit this parameter if you are not working with site-specific
sections in zipl environments or with site-specific DASD configurations.
- To specify a site, you can use one of the following values for <parm>:
- S<n>
- Specifies the site ID for which site-specific kernel parameters and DASD configurations are to
be used. The site ID <n> is a digit in the range 0 to 9.
- SS
- Uses the subchannel set ID (SSID) of the IPL device as the site ID, for example, if the SSID is
0, values for site 0 are used.
- S
- Uses the common specifications. Specifying a single capital S without a trailing site ID is
equivalent to omitting the S parameter.
If you work with a combination of menu configurations and site specifications, append the
site specification to the menu specification without a blank. For example, 1S2
selects the first boot menu entry with the site 2 context.
- <grub_parameters>
- specifies parameters for GRUB 2. Typically, this
specification selects a boot option from a GRUB 2 boot
menu. For details, see Specifying GRUB 2 parameters.
- parm <kernel_parameters>
- is an optional 64-byte string of kernel parameters to be concatenated to the end of the existing
kernel parameters that are used by your boot configuration.
DASD menu configuration example for z/VM
This example illustrates how a zipl menu is displayed
on the z/VM guest virtual machine
console.00: zIPL interactive boot menu
00:
00: 0. default (grub2)
00:
00: 1. grub2
00: 2. skip-grub
00:
00: Note: VM users please use '#cp vi vmsg <number> <kernel-parameters>'
00:
00: Please choose (default will boot in 30 seconds): #cp vi vmsg 1
Specify
0
or 1
to immediately start GRUB 2 to proceed with booting the target kernel. Specify
2
to start a rescue kernel. If you do not
select a menu item until the timeout expires, GRUB 2 is
started.
Example: To start
GRUB 2
specify:
#cp vi vmsg 1