Como reinicializar com segurança um disco linux criptografado a partir da linha de comando?

0

Eu aprendi da maneira mais difícil que

sudo reboot

na hora errada é uma ótima maneira de bater a cabeça no seu disco rígido.

A única maneira segura de reiniciar o Ubuntu em execução no LUKS criptografado é "killall" manualmente dos processos que você conhece? Existe um comando '' 'sudo safe-reboot' '' para este caso?

    
por nick carraway 03.09.2016 / 04:02

1 resposta

0

Sim, há /sbin/shutdown . Leia man shutdown e você pode usá-lo para reiniciar ou parar. Veja man shutdown , que diz, em parte:

trusty (8) shutdown.8.gz
Provided by: upstart_1.12.1-0ubuntu4_i386 bug

NAME
       shutdown - bring the system down

SYNOPSIS
       shutdown [OPTION]...  TIME [MESSAGE]

DESCRIPTION
       shutdown arranges for the system to be brought down in a safe way.  All
       logged-in users are notified that the system is going down and,  within
       the last five minutes of TIME, new logins are prevented.
    
por waltinator 03.09.2016 / 05:31