Questions tagged [hibernate]

Hibernation (ACPI S4 or HTD) is a power-saving mode in which the machine state is written to disk, either a swap partition or swap file, allowing the device to be completely powered off. On resume, the machine state is loaded back into RAM. This allows a faster boot time than a normal power cycle and for the user to resume their session with the applications that were open when hibernate was initiated.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Main menu does not show "Reboot" or "Hibernate", only "Suspend" and "Power off"

Since shortly ago, the main menu does not show "Reboot" or "Hibernate", only "Suspend" and "Power off". I do not recall anything happening that might have led ...
user avatar
0 votes
0 answers
12 views

Chrome Shuts Down on Hibernate Ubuntu 22.04

I just recently installed ubuntu 22.04 and enabled hibernate by using swap partition. I enabled the hibernation by adding the swap partition UUID to the grub file GRUB_CMDLINE_LINUX_DEFAULT="...
user avatar
  • 1
0 votes
0 answers
25 views

Computer goes to sleep/hibernates

I have had this problem since I got the machine, initially it was Ubuntu v20.04 and now I have 22.04. The issue remains the same. After I lock the machine it goes to sleep or hibernates, I don't know ...
user avatar
  • 111
1 vote
0 answers
292 views

Enable Hibernate on Ubuntu 22.04 LTS desktop

Using Ubuntu 22.04 LTS Desktop on my Asus K55VJ-120XD Corei5,8gb Ram,2gb Vram.How can i activate hibernate on my system so that i can use it in place of suspend like in Windows OS ??
user avatar
1 vote
1 answer
163 views

Hibernate entry in the menu on 22.04

I was used to have 21.04 with the hibernate function recallable via an extension that apparently is not compatible anymore with the new GNOME on 22.04. Apparently there is not an alternative on the ...
user avatar
1 vote
1 answer
364 views

suspend and hibernate are both not working after upgrade to Ubuntu 22.04

Whenever I initiate a suspend or hibernate, the computers screen goes black. After 2 seconds it turns back on to the login screen... (DELL XPS 15) apr 03 09:18:27 fredsco gnome-shell[2590]: Failed to ...
user avatar
  • 113
0 votes
1 answer
32 views

Upgrading from SATA HDD TO SDD

I've just bought a new 500 gb SATA SSD, I'm planning to replace my laptop's 2TB HDD with it and connect the hdd to my laptop using a caddy in place of the dvd... my questions are: Should i keep the ...
user avatar
0 votes
1 answer
27 views

20.04 is going to sleep - Sleep should already be disabled

I have a brand new 20.04LTS Laptop that keeps going to sleep. When it goes to sleep, it does not wake up without a forced reboot (holding the power button). I have disabled sleep and hibernate with ...
user avatar
  • 213
0 votes
0 answers
19 views

Ubuntu resets sessions after resumes from suspend

My Ubuntu was working fine earlier and then I installed GPU drivers as mentioned on Tensorflow website. After the drivers are installed, whenever I resume the system from suspend either it gets auto ...
user avatar
  • 113
0 votes
0 answers
10 views

Ubuntu 20.04 hibernates instantly when power cord is unplugged

I'm running a Fujitsu Lifebook U Series with Ubuntu 20.04 and Windows 10 as dual boot. Every once in a while, when I detach the power cord, Ubuntu responds by going to hibernation immediately, meaning ...
user avatar
  • 1
0 votes
0 answers
22 views

Enabling hybrid sleep with FDE (LUKS+LVM) and secure boot

So over the past few days, I've been jockeying around trying to figure out a way to do this: using hibernate on Ubuntu. My setup is as follows: I have two NVMe SSDs: one has Windows 11 installed (...
user avatar
  • 11
0 votes
1 answer
95 views

How to turn off keyboard and lid lights for asus rog ubuntu 20.04 in SLEEP mode?

I have a ROG Strix G731G and I already downloaded and use the rogauracore from this repository https://github.com/wroberts/rogauracore.git. I use the sudo rogauracore black mode and the lights are off ...
user avatar
6 votes
0 answers
45 views

Can you hibernate and resume one desktop session while keeping another running?

I'm going to trample on well-travelled jargon here, so please don't get too hung up on the exact words. I have a desktop that I use in a multiseat configuration. Two graphics cards, two monitors, two ...
user avatar
  • 280k
0 votes
0 answers
24 views

Is swap enough for hibernating?

I have a PC with 4Gb RAM. I plan on extending it to 8Gb RAM. This is my partition table. Will the swap be enough for 8Gb RAM? Or should I expect its 7.92Gb to fall short, even by a tiny amount?
user avatar
0 votes
0 answers
22 views

How to remove suspend\hibernate mode to allow node program to run continuously

I work with Ubuntu 20.04.3 on a PC. I have created a node.js script that collects data on website. I would like to leave that script running continuously for a few days, but the script stops when ...
user avatar
0 votes
0 answers
32 views

Q.How to Retrieve File/Image from Database And Display in JSP web page using Hibernate , MySQL Database?

I need a code that can help me to retrieve my image/file from Mysql database and also display it on the webpage(.jsp) by using HIbernate and Servlet JSP. Q.How to Retrieve File/Image from Database And ...
user avatar
0 votes
0 answers
166 views

Hibernation just works for the first time in Ubuntu 20.04

It's a Ubuntu 20.04 installed on a HP Laptop 17-cn1000ns and after following these instructions https://askubuntu.com/a/1321773/92504 suspension just works the first time after each reboot. After ...
user avatar
  • 214
1 vote
1 answer
138 views

msi gs66 Ubuntu 20.04.3 LTS: every 3-4 attempts to end the session by hibernation ends with a black screen freeze

Syslog says: Feb 2 18:14:33 nout ModemManager[1237]: <info> [sleep-monitor] system is about to suspend Feb 2 18:14:33 nout NetworkManager[1119]: <info> [1643818473.7019] manager: sleep:...
user avatar
  • 125
0 votes
0 answers
24 views

Force Login after Hibernation on Ubuntu 20.04

I set up hibernation as described here and it works well. However, when booting again I end up on my desktop without a password prompt. Is there way to force a login after hibernation?
user avatar
0 votes
1 answer
124 views

Laptop screen full of snow when waking up, temporally fixed by restarting

I have a TUXEDO Pulse 14 Gen1 running 20.04.1-Ubuntu. Since yesterday, every time I wake up my laptop from sleep or hibernation, the laptop screen is full of snow. I have not installed any new drivers ...
user avatar
  • 3
0 votes
0 answers
44 views

How much swap when striping accross two disks and hibernating

When a computer has two hard drives it might make sense to have two swap partitions, one on each disk - thus the swap is automatically stripped and thus much faster than otherwise. When configuring a ...
user avatar
  • 1,278
0 votes
0 answers
40 views

sudo hibernate vs. sudo systemctl hibernate

On Ubuntu 20.04 Desktop default install I have followed instructions how to enable hibernation using swap file. Everything was fine until last command: sudo systemctl hibernate My laptop just has got ...
user avatar
  • 111
1 vote
0 answers
116 views

Sleep Won't Resume After Installing New SSD

I just installed a new SSD on my laptop (Acer Swift X) running Kubuntu 21.04 w/ kernel 5.13.14 Sleep was working perfectly until I installed a new SSD. Some important info: There are two slots on the ...
user avatar
0 votes
0 answers
83 views

Ubuntu 20.04 hibernates after connecting/disconnecting a keyboard

I have had ubuntu 20.04LTS on my laptop for a long time already and didn't encounter any major problems before. Today I just got my new keyboard, and when I connect it to the laptop or disconnect it ...
user avatar
0 votes
0 answers
119 views

Nonresponsive black screen after left idle for

I am running Ubuntu (20.04 LTS) on my laptop (Asus ZenBook 13 OLED UX325) and I enjoy it for the most part. However, there I have one issue that is driving my crazy. If the laptop is left idle for a ...
user avatar
2 votes
0 answers
149 views

Hoe to link swapfile to RESUME variable on LUKS encrypted drive? | Ubuntu 21.10

I want to have 32GB of SWAP on LUKS encrypted filesystem and have hibernation enabled. My basic swap partition was 1GB, and I've made ´/swapfile'of 31GB. I first tried with fallocate command as ...
user avatar
2 votes
0 answers
542 views

does there exist a concise guide installing Ubuntu 21.10 desktop with LVM and LUKS 2 full disk encryption, enabling encrypted hibernation?

I've previously only used the graphical installer for Ubuntu with the simple automated partitioning scheme with disk encryption, however I would like to be able to have encrypted hibernation -> ...
user avatar
0 votes
1 answer
263 views

Touchpad stopped working after hibernate on Thinkpad X1 Carbon with Ubuntu and Pop!_OS 21.10

Having issues with my Thinkpad X1 Carbon Gen 9. When I hibernate Ubuntu 21.10 (or also Pop!_OS 21.10 - I've got multiple installations on the system), the touchpad stops working. Both with Wayland and ...
user avatar
0 votes
0 answers
86 views

What is the difference between sleep and suspend/hibernate etc? I am not talking about "sleep command"

This is about Ubuntu 20.04 focal but all distributions would be useful as this is about something that is not well documented. Some settings (dconf) appear to talk about sleep and some talk about ...
user avatar
  • 362
0 votes
0 answers
81 views

ASUS Vivobook does not react on power button when suspended

i put on a dual boot with Windows 10 and Ubuntu 20.04 on my ASUS Vivobook. Unfortunately after Ubuntu enters the stand by mode it is often impossible to return to active session neither by using the ...
user avatar
  • 1
0 votes
1 answer
112 views

How to configure Hibernate button to not ask password for performing hibernate (for Simpler Off Menu extension for Ubuntu 20.04)

I configured hibernate as described here and installed Simpler Off Menu gnome-shell-extension with the help of this instruction. Hibernate button is working but every time requires password to allow ...
user avatar
-2 votes
1 answer
147 views

What is the difference between "systemctl hibernate" and "hibernate" commands?

I configured hibernate function by the instruction here for Ubuntu 20.04. Then I tried systemctl hibernate and hibernate commands and both are working fine. By description from man, help and because ...
user avatar
1 vote
0 answers
221 views

21.10 - what's the suspend / hibernate call stack?

I would like to understand what is wrong with my linux system (or hardware). Sometimes I lose my session when the system is suspended, instead, it restarts then instantly without restoring anything. ...
user avatar
  • 111
0 votes
1 answer
271 views

How to fix the battery drain during Suspend on Lenovo Ideapad3 running Ubuntu 21.10?

Ubuntu 21.10 on Lenovo IdeaPad3 is mostly a fantastic experience. The only problem is that the battery drains 30% or more overnight when the laptop is in Suspend mode. I have seen discussions that ...
user avatar
1 vote
1 answer
898 views

Can't get hibernate to work Ubuntu 21.10

I followed the usual tutorials. swapfile size => UUID / offset => grub / initramfs (+update both) (tutorial) But it seems that the hibernate function doesn't work. When I run sudo systemctl ...
user avatar
0 votes
0 answers
74 views

Ubuntu 20.04 hybrid suspend ( suspend-hybrid ) problem?

Ubuntu 20.04 hybrid suspend ( suspend-hybrid ) problem. I'm trying to enable hybrid sleep on Ubuntu but it not work correctly, only it work if I did hybrid then cut the electricity, it load fine but ...
user avatar
3 votes
0 answers
74 views

Custom workaround udev script for hibernate/suspend error doesn't work

So I have an old ASUS K46CM laptop running Xubuntu 20.04, with a functioning speaker but defunct audio jack. I've disabled the audio from BIOS now to deal with it. This presents a new problem: I can ...
user avatar
  • 33
0 votes
1 answer
193 views

Kubuntu 21.04 - how to get hibernate working when it appears disabled from kernel?

I'm using Kubuntu 21.04 and trying to hibernate/suspend-to-disk my laptop. I'm not having much luck. The errors I'm getting seem to suggest a deeper issue than all the other Q&As I've seen about ...
user avatar
  • 103
0 votes
0 answers
147 views

How to enable the hibernate in the system menu on Ubuntu 21.04

no matter what I try to put in the file /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla but I can't get the hibernate items being displayed. My hibernation works fine if ...
user avatar
0 votes
0 answers
54 views

Ubuntu 20.04.3 LTS suspends despite my actions

Every evening I lock my machine and when I come back the next morning it has been suspended. The only way to wake it is to do a power button kill and reboot. I have taken these steps to attempt to ...
user avatar
  • 111
0 votes
1 answer
432 views

Unable to get swap file UUID for hibenation in ubuntu 20.04

I am following this to enable hibernation in my ubuntu 20.04LTS system. I followed exactly as mentioned in the first answer. But when I run grep swap /etc/fstab to get the UUID value I get the below ...
user avatar
0 votes
1 answer
100 views

How to hibernate after some time or when battery is discharged

I use Ubuntu 21.04. sudo systemctl hibernate works fine to hibernate. But suspend doesn't (see: Some buttons don't work after suspend andresume) How can I automate hibernation when using battery ...
user avatar
1 vote
0 answers
115 views

Some buttons don't work after suspend andresume

dot (.) and functional buttons (brightness) don't work OS: Ubuntu 21.10 x86_64 DE: GNOME 40.5 CPU: AMD Ryzen 7 5700U GPU: AMD ATI 03:00.0 Lucienne kernel: 5.13.0-20-generic Similar question is here ...
user avatar
1 vote
1 answer
1k views

Suspend not working: Ubuntu 20.04 (does not work at all) / 21.10(in battery mode does not work )

I have IdeaPad 5 Pro 14ACN6 with installed Ubuntu 21.10. Suspend work fine when the laptop is powered, when on battery mode suspending it causes reboot. I have tried working around this issue by ...
user avatar
  • 23
-1 votes
1 answer
832 views

How can I enable hibernation mode on Ubuntu 21.04?

I want to enable hibernation on Ubuntu 21.04. I have tried downloading pm-utils and running the command needed to. However, when I run the following command, nothing happens: pm-hibernate
user avatar
  • 1
1 vote
0 answers
41 views

Does Hibernation save the whole RAM or just what is being used?

I have noticed when I hibernate with no open apps it does it faster, than when I have apps open, probably, half the time, I thought that hibernation will save all the memory (RAM) content to the SWAP ...
user avatar
0 votes
0 answers
25 views

Hide the GRUB menu at BOOT and when resuming from HIBERNATION

I have configured GRUB with the Grub Customizer tool, by disabling: *- Show Menu Look for other operating systems* I have ONLY Ubuntu 21.04 with Kernel 5.11 installed, no other OS. At normal boot ...
user avatar
1 vote
0 answers
127 views

Cannot start because of volume group issue

I'm not sure if this was caused by hibernate, or a system update, or a combination. I cannot start anything graphical on my ThinkPad X1 Carbon anymore. I can start in text mode, if I stop the Lenovo ...
user avatar
  • 2,511
0 votes
0 answers
67 views

Screen crash (like 90's TV) after waking up Ubuntu from suspend

I have an NVIDIA Geforce GT220 card and I am using third party graphics drivers. Suspend and hibernate functionalities don't work, and when I try to wake up the system, the screen crashes like the ...
user avatar
  • 1
0 votes
0 answers
60 views

Ubuntu 21.04 : Error messages after resuming from Hibernation

I configured Hibernation on Ubuntu 21.04 with the standard kernel 5.11, I followed this guide: https://www.linuxuprising.com/2021/08/how-to-enable-hibernation-on-ubuntu.html?m=1 Everything works, I ...
user avatar

1
2 3 4 5
21