Index · Directives systemd 256.7

Name

systemd-hibernate-resume-generator — Unit generator for resume= kernel parameter

Synopsis

/usr/lib/systemd/system-generators/systemd-hibernate-resume-generator

Description

systemd-hibernate-resume-generator is a generator that initiates the procedure to resume the system from hibernation. When resume= kernel command line option or HibernateLocation EFI variable is detected, it enables the systemd-hibernate-resume.service(8) unit, which will instruct the kernel to resume the system from the hibernation image.

Kernel Command Line

systemd-hibernate-resume-generator understands the following kernel command line parameters:

resume=

Takes a path to the resume device. Both persistent block device paths like /dev/disk/by-foo/bar and fstab(5)-style specifiers like "FOO=bar" are supported.

Added in version 217.

resume_offset=

Takes the page offset of the swap space from the resume device. Defaults to "0".

Added in version 254.

resumeflags=

Takes the resume device mount options to use. Defaults rootflags= if not specified.

Added in version 243.

noresume

Do not try to resume from hibernation. If this parameter is present, resume= is ignored.

Added in version 240.

See Also

systemd(1), systemd-hibernate-resume.service(8), kernel-command-line(7)