[Bug 1750681] Re: Default kernel command line doesn't work with swapfiles

Mario Limonciello superm1 at ubuntu.com
Mon Apr 2 20:53:29 UTC 2018


*** This bug is a duplicate of bug 1760106 ***
    https://bugs.launchpad.net/bugs/1760106

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.

** This bug has been marked a duplicate of bug 1760106
   Enable configuring resume offset via sysfs

-- 
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