Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[SOLVED] Suspend and Hibernate with UEFI

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
g-virus
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Aug 26, 2017 8:14 pm

[SOLVED] Suspend and Hibernate with UEFI

  • Quote

Post by g-virus » Sat Aug 26, 2017 8:24 pm

Hello everyone. How to set hibernation correctly with UEFI, when there is no Grub/Grub2 bootloader? In the case when grub 2 is used, we are just writing resume=/path/to/swap/disk to GRUB_CMDLINE_LINUX_DEFAULT in grub.cfg and everything is ok. But how to do that with UEFI only, when no other bootloader used? Thank you!

SOLUTION: Need to set (/dev/your_swap_devfile) Default resume partition option in <Power management and ACPI options> -> <() Default resume partition>. without 'resume=' prefix[/b]
Last edited by g-virus on Sun Aug 27, 2017 6:59 pm, edited 1 time in total.
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Aug 27, 2017 7:42 am

For EFI stub kernel, I am not entirely sure but I guess, it's to be set in the kernel itself. () Default resume partition ( CONFIG_PM_STD_PARTITION ).
Unfortunately the wiki article doesn't tell.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Aug 27, 2017 7:43 am

Can help this (I have no experience with efi)?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Aug 27, 2017 4:07 pm

When you use the EFI stub to boot without routing through GRUB or equivalent, the UEFI firmware itself is your bootloader. Whether it can pass options at all, and if so how to set them, is likely dependent on the specific firmware involved. As I read the man page for efibootmgr (a tool commonly used to register EFI stub kernels with UEFI firmware), you can tell it to tell the firmware to pass arguments to the registered EFI application. Whether your firmware will follow through is dependent on the system in question.
Top
g-virus
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Aug 26, 2017 8:14 pm

  • Quote

Post by g-virus » Sun Aug 27, 2017 6:55 pm

charles17 wrote:For EFI stub kernel, I am not entirely sure but I guess, it's to be set in the kernel itself. () Default resume partition ( CONFIG_PM_STD_PARTITION ).
Unfortunately the wiki article doesn't tell.
Thank you very much, it is working! In my opinion it is working much faster than grub2 hibernation. The problem is solved, thank you all guys.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic