Default kernel command line doesn't work with swapfiles
Bug #1750681 reported by
Mario Limonciello
This bug report is a duplicate of:
Bug #1760106: Enable configuring resume offset via sysfs.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Currently hibernating doesn't work in the out of box configuration of Ubuntu which creates a swapfile by default.
Swapfiles are less discoverable than swap partitions from the perspective of initramfs-tools and the kernel.
To use them the following kernel command line options are needed:
resume=
resume_offset=
Resume represents the device that will be resumed from that contains the swapfile.
Resume offset represents the location in the disk that the swapfile is located.
Attached is a patch that will populate these two options as necessary
tags: | added: patch |
To post a comment you must log in.
Marking this as a duplicate of bug 1760106 as it's really the better way to do this than add more parameters into everyone's default kernel command line.