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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1750681

Title:
  Default kernel command line doesn't work with swapfiles

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1750681/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to