sudo systemctl unmask docker
sudo systemctl start docker
Last active
March 1, 2021 18:48
-
-
Save febritecno/2a5b6dd14bc7a8d1b7c688a04ef03cd4 to your computer and use it in GitHub Desktop.
SOLVE NOTES LINUX
This is a common issue for hibernate and suspend in Ubuntu / Debian.
- install uswsusp
sudo apt-get install uswsusp
- then try the following for suspend and hibernate respectively,
sudo s2ram
sudo s2disk
- if it works, then you can make it permanent, back up the following,
sudo cp /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux.bak
sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.bak
- and edit the following,
/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux
#!/bin/sh
/sbin/s2ram –force
/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux
#!/bin/sh
/sbin/s2disk
systemctl disable
If you are not using systemd (Ubuntu 14.10 and earlier) use:
update-rc.d -f remove
The following command will give you a list of all services on your machine:
service --status-all
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment