Enable Hibernate on the System76 Lemur Ultra (lemu4)

I got a System76 Lemur Ultra (codename lemu4), and I love it! The build quality is a little so-so (the faux-metal plastic is kind of bendy, and, well, plastic), but I wasn’t expecing a MacBook.

One of my favorite things as a long-time Linux laptop user is that this thing supports hibernation out of the box! Whoa whoa whoa—before you get too excited, I said supports. You have to enable it yourself, and this is not a simple checkbox. That’s stupid. System76 should do this for you, but whatever. Here are the simple steps to get full hibernate (suspend to disk) support in your System76 Lemur Ultra.

Enable Hibernation

sudo tee /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla <<EOF
[Enable hibernation]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
EOF

Enable Resume

No copypasta here. The format of /etc/default/grub and the lack of support for sourcing other files makes it a poor candidate for that. Just edit the file.

  1. Add this to /etc/default/grub: GRUB_CMDLINE_LINUX="resume=/dev/sda5"
  2. sudo update-grub

That’s it! Yeah, it’s kind of stupid that System76 doesn’t configure this for you before they ship the computer, but at least the hardware fully supports this fairly fundamental but somehow rare convenience.

This entry was posted in quickies, tutorials and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>