Hibernate does not work Ubuntu 18.04How can I hibernate on Ubuntu 16.04?Enable Hibernate in Ubuntu 18.04 LTSForce hibernate using hibernate instead of pm-hibernatehibernate does not work on cloned systemHow to enable hibernation on ubuntu 18.0418.04 hibernate with UEFI and secure boot enabledSuspend on Ubuntu 18.04 Not Saving State Using uswsusp and s2ram

Why is Trump not being impeached for bribery?

Is a datagram from an upper network layer converted 1:1 to one of the lower layer?

Convert ranges of numbers into full sequential lists of numbers in a text file

Check if simple regex matches string

How does a religion based around destroying the world attract followers

What does "x employee is no longer employed by XYZ company" mean?

Berlin 1923 & 1925 Address Book Abbreviations "I", "E", "Kgst" and "Mb"

What is the narrative difference between a Charisma and Wisdom saving throw?

No transit zone at Linate airport. Couldn't get on connecting flight. Whose responsibility is it?

Undesired blank space between some words

Is it possible to kill parasitic worms by intoxicating oneself?

Is this a valid use of Deflect Missiles according to RAW?

Simple solution for escaping from hanging Ubuntu OS (like pressing Ctrl+Alt+Del in Windows)?

Have spacecraft photographed each other beyond Earth orbit?

What license do I use when I don't want stock image companies charging people money for photos?

Are there any spell casters that can cast life giving spells without 'expensive' components?

Is the net charge on a capacitor zero? If yes, then why?

What was the first "Opening Repertoire" book?

Will the same JavaScript fetched by HTTP and HTTPS be cached separately by the browser?

Is it principled to tip less if a pricey restaurant doesn't accept Visa or Mastercard?

Why are bicycle tires incapable of maintaining pressure over time, while car tyres seem to have less of a problem?

Improving Map Function on Lists

Putting creatures into play in alternative ways to summoning them

Which seat 'predicts' the outcomes of UK General Elections the best?



Hibernate does not work Ubuntu 18.04


How can I hibernate on Ubuntu 16.04?Enable Hibernate in Ubuntu 18.04 LTSForce hibernate using hibernate instead of pm-hibernatehibernate does not work on cloned systemHow to enable hibernation on ubuntu 18.0418.04 hibernate with UEFI and secure boot enabledSuspend on Ubuntu 18.04 Not Saving State Using uswsusp and s2ram






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















Using an IBM ThinkPad with dual boot Windows 10 and Ubuntu 18.04 (though mostly just use Ubuntu). After carefully following the advice from these articles:



  • Add ‘Hibernate’ Option in Power Menu in Ubuntu 18.04

  • How can I hibernate on Ubuntu 16.04?

  • Enable Hibernate in Ubuntu 18.04 LTS

I am still unable to get hibernate to work. The following steps have been done:



1) From Terminal, tried sudo systemctl hibernate. This returned



`Failed to hibernate system via logind: Sleep verb not supported`


2) Entered the BIOS and disabled Secure Boot



3) Increased the swap file size from 2GB to 28GB (more than my RAM) using:



sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=28
sudo mkswap /swapfile
sudo swapon /swapfile
grep SwapTotal /proc/meminfo (this just confirms the size)


4) Rebooted and again tried sudo systemctl hibernate. No error is returned and it appears to work. The computer powers off, the power light flashes and then goes dead. On power up, all open windows are lost and only the desktop is displayed (ie. like a standard reboot).



5) Confirmed that the BTRFS file system is not in use using mount and sudo blkid.



How to get hibernate working? Need to be able to close the lid of my laptop and know I'm not going to lose everything!










share|improve this question

































    1


















    Using an IBM ThinkPad with dual boot Windows 10 and Ubuntu 18.04 (though mostly just use Ubuntu). After carefully following the advice from these articles:



    • Add ‘Hibernate’ Option in Power Menu in Ubuntu 18.04

    • How can I hibernate on Ubuntu 16.04?

    • Enable Hibernate in Ubuntu 18.04 LTS

    I am still unable to get hibernate to work. The following steps have been done:



    1) From Terminal, tried sudo systemctl hibernate. This returned



    `Failed to hibernate system via logind: Sleep verb not supported`


    2) Entered the BIOS and disabled Secure Boot



    3) Increased the swap file size from 2GB to 28GB (more than my RAM) using:



    sudo swapoff -a
    sudo dd if=/dev/zero of=/swapfile bs=1G count=28
    sudo mkswap /swapfile
    sudo swapon /swapfile
    grep SwapTotal /proc/meminfo (this just confirms the size)


    4) Rebooted and again tried sudo systemctl hibernate. No error is returned and it appears to work. The computer powers off, the power light flashes and then goes dead. On power up, all open windows are lost and only the desktop is displayed (ie. like a standard reboot).



    5) Confirmed that the BTRFS file system is not in use using mount and sudo blkid.



    How to get hibernate working? Need to be able to close the lid of my laptop and know I'm not going to lose everything!










    share|improve this question





























      1













      1









      1








      Using an IBM ThinkPad with dual boot Windows 10 and Ubuntu 18.04 (though mostly just use Ubuntu). After carefully following the advice from these articles:



      • Add ‘Hibernate’ Option in Power Menu in Ubuntu 18.04

      • How can I hibernate on Ubuntu 16.04?

      • Enable Hibernate in Ubuntu 18.04 LTS

      I am still unable to get hibernate to work. The following steps have been done:



      1) From Terminal, tried sudo systemctl hibernate. This returned



      `Failed to hibernate system via logind: Sleep verb not supported`


      2) Entered the BIOS and disabled Secure Boot



      3) Increased the swap file size from 2GB to 28GB (more than my RAM) using:



      sudo swapoff -a
      sudo dd if=/dev/zero of=/swapfile bs=1G count=28
      sudo mkswap /swapfile
      sudo swapon /swapfile
      grep SwapTotal /proc/meminfo (this just confirms the size)


      4) Rebooted and again tried sudo systemctl hibernate. No error is returned and it appears to work. The computer powers off, the power light flashes and then goes dead. On power up, all open windows are lost and only the desktop is displayed (ie. like a standard reboot).



      5) Confirmed that the BTRFS file system is not in use using mount and sudo blkid.



      How to get hibernate working? Need to be able to close the lid of my laptop and know I'm not going to lose everything!










      share|improve this question
















      Using an IBM ThinkPad with dual boot Windows 10 and Ubuntu 18.04 (though mostly just use Ubuntu). After carefully following the advice from these articles:



      • Add ‘Hibernate’ Option in Power Menu in Ubuntu 18.04

      • How can I hibernate on Ubuntu 16.04?

      • Enable Hibernate in Ubuntu 18.04 LTS

      I am still unable to get hibernate to work. The following steps have been done:



      1) From Terminal, tried sudo systemctl hibernate. This returned



      `Failed to hibernate system via logind: Sleep verb not supported`


      2) Entered the BIOS and disabled Secure Boot



      3) Increased the swap file size from 2GB to 28GB (more than my RAM) using:



      sudo swapoff -a
      sudo dd if=/dev/zero of=/swapfile bs=1G count=28
      sudo mkswap /swapfile
      sudo swapon /swapfile
      grep SwapTotal /proc/meminfo (this just confirms the size)


      4) Rebooted and again tried sudo systemctl hibernate. No error is returned and it appears to work. The computer powers off, the power light flashes and then goes dead. On power up, all open windows are lost and only the desktop is displayed (ie. like a standard reboot).



      5) Confirmed that the BTRFS file system is not in use using mount and sudo blkid.



      How to get hibernate working? Need to be able to close the lid of my laptop and know I'm not going to lose everything!







      18.04 suspend hibernate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 1 at 10:47









      Saxtheowl

      36810 bronze badges




      36810 bronze badges










      asked Oct 1 at 9:42









      AlainDAlainD

      6231 gold badge8 silver badges14 bronze badges




      6231 gold badge8 silver badges14 bronze badges























          0






          active

          oldest

          votes













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177866%2fhibernate-does-not-work-ubuntu-18-04%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177866%2fhibernate-does-not-work-ubuntu-18-04%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown









          Popular posts from this blog

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?