[Bug 1750681] [NEW] Default kernel command line doesn't work with swapfiles
Mario Limonciello
superm1 at ubuntu.com
Tue Feb 20 23:08:08 UTC 2018
Public bug reported:
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
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "patch to populate options by default"
https://bugs.launchpad.net/bugs/1750681/+attachment/5059245/+files/swapfile_hibernate.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1750681
Title:
Default kernel command line doesn't work with swapfiles
Status in grub2 package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1750681/+subscriptions
More information about the foundations-bugs
mailing list