See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Lite 4.8 no se termina de apagar
#3
(04-12-2020, 06:44 AM)RjveraL link Wrote: En el foro de Linux Mint encontré una ayuda, por este problema, aun cuando es caótico llevarlo a cabo cada vez...

Es desactivar la swap con
Code:
sudo swapoff -a
Y luego apagar la máquina

Este es el enlace a la parte donde leí
https://forums.linuxmint.com/viewtopic.php?f=46&t=310967&start=40

Se que no es la solución, sólo un parche momentáneo.

Habrá una forma de hacer que el apagado de la maquina apague o des-habilite el swap...

La maquina en donde instale linuxlite posee sólo 2GB de RAM, por lo que no es recomendable eliminar el swap

Un script? Podrias crear/escribir un script que se ejecute al apagar el sistema y que haga justo eso; desactivar la swap. Guardas/copias el script en /usr/lib/systemd/system-shutdown/  y debes crear un archivo; systemd unit file.
Code:
Unit]
Description=Desactivar swap al apagar.
DefaultDependencies=no
Before=shutdown.target reboot.target

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true
ExecStop=mi script

[Install]
WantedBy=shutdown.target

Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
Re: Linux Lite 4.8 no se termina de apagar - by Moltke - 04-13-2020, 01:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)