After updating to Pepperment-11 using a clean install, I can no longer
suspend-resume. Using an older Macbook, I have 4 linux distos installed.
Previously grub was on Xubuntu so it showed up first in the boot menu.
Peppermint-10 was second. I could "save session & logout" then close the
laptop lid on both of these. They would resume normally when opening the
laptop lid...the desired behavior. After doing the clean install of
Peppermint-11 and re-installing Grub there, the boot order is now: 1.
Peppermint & 2. Xubuntu. Now Xubuntu will suspend-resume OK, but
Peppermint will freeze.
I have a feeling that the issue could be how Grub is configured in
Peppermint. I caught the OS prober issue, but this may be something
else. I think the easiest solution might be either replacing
Peppermint's /etc/default/grub with Xubuntu's or boot Xubuntu and
re-install & update grub there to make Xubuntu in charge of Grub. What
do you think?
I'd prefer to run Peppermint as my primary distro, but need it to be
able to "save session, logout, suspend and resume" normally.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I prefer to either lock the screen or log out. Shutting the lid of a laptop to suspend it, was a bad habit I had break after my move to Ubuntu from Micro$oft. Back in the day, suspend it required a hard shutdown and restart.
You have not mentioned how you have configured your multi-booting lappy, do you have a swap partition or swapfile?
Have you adjusted the swap and cache pressure values from 60 to 10 for swap and from 100 to 50 for the cache pressure? File found in /etc/sysctl.conf and place the text body below at the bottom of this file.
# Reduce the swap tendency and the cache pressure
vm.swappiness=10
vm.vfs_cache_pressure=50
If you are unable to see the other installs after running update-grub from PMOS, you need to add this text body below to the bottom of this file. File found /etc/default/grub
# Uncomment this to run os-prober so search for and add other OS installations to the grub boot menu
GRUB_DISABLE_OS_PROBER=false
The laptop-mode-tools are not installed and this may help your cause.
The Power Manager has numerous options found Menu -> Settings -> Power Manager to adjust to your custom requirements.
I've tried some of this, but side-tracked by a larger problem: freeze upon Shutdown/Restart at: "kvm: exiting hardware virtualization. So posted with more equipment info under "Hardware"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After updating to Pepperment-11 using a clean install, I can no longer
suspend-resume. Using an older Macbook, I have 4 linux distos installed.
Previously grub was on Xubuntu so it showed up first in the boot menu.
Peppermint-10 was second. I could "save session & logout" then close the
laptop lid on both of these. They would resume normally when opening the
laptop lid...the desired behavior. After doing the clean install of
Peppermint-11 and re-installing Grub there, the boot order is now: 1.
Peppermint & 2. Xubuntu. Now Xubuntu will suspend-resume OK, but
Peppermint will freeze.
I have a feeling that the issue could be how Grub is configured in
Peppermint. I caught the OS prober issue, but this may be something
else. I think the easiest solution might be either replacing
Peppermint's /etc/default/grub with Xubuntu's or boot Xubuntu and
re-install & update grub there to make Xubuntu in charge of Grub. What
do you think?
I'd prefer to run Peppermint as my primary distro, but need it to be
able to "save session, logout, suspend and resume" normally.
Hi Ron,
I prefer to either lock the screen or log out. Shutting the lid of a laptop to suspend it, was a bad habit I had break after my move to Ubuntu from Micro$oft. Back in the day, suspend it required a hard shutdown and restart.
I've enclosed some links for your perusal.
https://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/
https://www.kernel.org/doc/html/latest/power/swsusp.html
http://rickysarraf.github.io/laptop-mode-tools/
https://askubuntu.com/questions/1275078/ubuntu-20-04-wont-resume-after-suspend-lid-closed-and-then-opened
You have not mentioned how you have configured your multi-booting lappy, do you have a swap partition or swapfile?
Have you adjusted the swap and cache pressure values from 60 to 10 for swap and from 100 to 50 for the cache pressure? File found in
/etc/sysctl.conf
and place the text body below at the bottom of this file.If you are unable to see the other installs after running update-grub from PMOS, you need to add this text body below to the bottom of this file. File found
/etc/default/grub
The laptop-mode-tools are not installed and this may help your cause.
The Power Manager has numerous options found Menu -> Settings -> Power Manager to adjust to your custom requirements.
I've tried some of this, but side-tracked by a larger problem: freeze upon Shutdown/Restart at: "kvm: exiting hardware virtualization. So posted with more equipment info under "Hardware"
See my answer here: https://sourceforge.net/p/peppermintos/pepos/hardware/thread/2ae9c99551/#0546