You configure the suspend and resume support by adding parameters to the kernel parameter line.
Read syntax diagramSkip visual syntax diagram
suspend and resume kernel parameter syntax
-resume=<device_node>--+---------------------+--+-----------+-><
'- no_console_suspend-' '- noresume-'
where:
resume=<device_node>
specifies the standard device node of the swap partition with the data that is required for resuming the Linux instance.
no_console_suspend
prevents Linux consoles from being suspended early in the suspend process. Without this parameter, you cannot see the kernel messages that are issued by the suspend process.
noresume
boots the kernel without resuming a previously suspended Linux instance. Add this parameter to circumvent the resume process, for example, if the data written by the previous suspend process is damaged.
Example
To use a partition /dev/disk/by-path/ccw-0.0.2f50-part1 as the swap partition and prevent Linux consoles from being suspended early in the suspend process specify:
resume=/dev/disk/by-path/ccw-0.0.2f50-part1 no_console_suspend
The example uses a "by-path" definition of the disk to ensure that the correct device is used, for example, after a reboot.