GRUB fails to load swap partition after hibernate with resume argument Announcing the arrival...

Like totally amazing interchangeable sister outfit accessory swapping or whatever

Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?

All ASCII characters with a given bit count

Processing ADC conversion result: DMA vs Processor Registers

Test if all elements of a Foldable are the same

Why I cannot instantiate a class whose constructor is private in a friend class?

When I export an AI 300x60 art board it saves with bigger dimensions

Marquee sign letters

Why isn't everyone flabbergasted about Bran's "gift"?

Is there a verb for listening stealthily?

Why doesn't the university give past final exams' answers?

Suing a Police Officer Instead of the Police Department

What is the purpose of the side handle on a hand ("eggbeater") drill?

Could a cockatrice have parasitic embryos?

How to compute a Jacobian using polar coordinates?

What *exactly* is electrical current, voltage, and resistance?

Philosophers who were composers?

Co-worker works way more than he should

What does the black goddess statue do and what is it?

What is ls Largest Number Formed by only moving two sticks in 508?

What's the difference between using dependency injection with a container and using a service locator?

Coin Game with infinite paradox

Determinant of a matrix with 2 equal rows

Is it accepted to use working hours to read general interest books?



GRUB fails to load swap partition after hibernate with resume argument



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)GRUB having problems with my sda1 UUIDWhat is my partition number?How should I set up my dual-boot so that I can hibernate the secondary OS?grub: module ext4dev not found after moving partitionsdracut Warning: Unable to process initqueueLinux doesn't find root file system when bootingGrub cannot find root disk on VirtualBoxRemove Grub Rescue and boot straight to Windows 10Did I install Ubuntu with Windows dual-boot correctly?Where does the BIOS get the boot options from and how do I remove them?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am trying to setup hibernate on Ubuntu 18.04. I have a swap partition (/dev/sdb1) that is larger than RAM, and I can successfully save the state with sudo pm-hibernate (verified in the log under /var/log/pm-suspend.log. the problem is when booting, I added the resume=UUID=#####...## (UUID found with gparted) to grub and initramfs. When grub attempts to launch Ubuntu (I can navigate the grub menus first, so grub itself seems ok) I get the message:



error: invalid filename 'resume=UUID=#####...##'.



I tried using resume=/dev/sdb1, with the same results.



This is a dual boot setup with two drives (Windows on SDA1 and Ubuntu on SDA2). The windows hibernate process works correctly.



Edit: It turns out that I am an idiot and put the resume argument on the wrong line in grub. For anyone else who got here, make sure you put the resume argument to the linux command, not anything else.










share|improve this question































    0















    I am trying to setup hibernate on Ubuntu 18.04. I have a swap partition (/dev/sdb1) that is larger than RAM, and I can successfully save the state with sudo pm-hibernate (verified in the log under /var/log/pm-suspend.log. the problem is when booting, I added the resume=UUID=#####...## (UUID found with gparted) to grub and initramfs. When grub attempts to launch Ubuntu (I can navigate the grub menus first, so grub itself seems ok) I get the message:



    error: invalid filename 'resume=UUID=#####...##'.



    I tried using resume=/dev/sdb1, with the same results.



    This is a dual boot setup with two drives (Windows on SDA1 and Ubuntu on SDA2). The windows hibernate process works correctly.



    Edit: It turns out that I am an idiot and put the resume argument on the wrong line in grub. For anyone else who got here, make sure you put the resume argument to the linux command, not anything else.










    share|improve this question



























      0












      0








      0








      I am trying to setup hibernate on Ubuntu 18.04. I have a swap partition (/dev/sdb1) that is larger than RAM, and I can successfully save the state with sudo pm-hibernate (verified in the log under /var/log/pm-suspend.log. the problem is when booting, I added the resume=UUID=#####...## (UUID found with gparted) to grub and initramfs. When grub attempts to launch Ubuntu (I can navigate the grub menus first, so grub itself seems ok) I get the message:



      error: invalid filename 'resume=UUID=#####...##'.



      I tried using resume=/dev/sdb1, with the same results.



      This is a dual boot setup with two drives (Windows on SDA1 and Ubuntu on SDA2). The windows hibernate process works correctly.



      Edit: It turns out that I am an idiot and put the resume argument on the wrong line in grub. For anyone else who got here, make sure you put the resume argument to the linux command, not anything else.










      share|improve this question
















      I am trying to setup hibernate on Ubuntu 18.04. I have a swap partition (/dev/sdb1) that is larger than RAM, and I can successfully save the state with sudo pm-hibernate (verified in the log under /var/log/pm-suspend.log. the problem is when booting, I added the resume=UUID=#####...## (UUID found with gparted) to grub and initramfs. When grub attempts to launch Ubuntu (I can navigate the grub menus first, so grub itself seems ok) I get the message:



      error: invalid filename 'resume=UUID=#####...##'.



      I tried using resume=/dev/sdb1, with the same results.



      This is a dual boot setup with two drives (Windows on SDA1 and Ubuntu on SDA2). The windows hibernate process works correctly.



      Edit: It turns out that I am an idiot and put the resume argument on the wrong line in grub. For anyone else who got here, make sure you put the resume argument to the linux command, not anything else.







      grub hibernate ubuntu-18.04






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 11 hours ago







      James

















      asked 11 hours ago









      JamesJames

      58118




      58118






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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/3.0/"u003ecc by-sa 3.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%2fsuperuser.com%2fquestions%2f1428703%2fgrub-fails-to-load-swap-partition-after-hibernate-with-resume-argument%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 Super User!


          • 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%2fsuperuser.com%2fquestions%2f1428703%2fgrub-fails-to-load-swap-partition-after-hibernate-with-resume-argument%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

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...