进入后
shutdown now
在terminal,我得到一切正常运行,然后:
All processes ended withing 2 seconds...done INIT: Going single user INIT: Sending processes the TERM signal INIT: Sending processes the KILL signal Give root password for maintenance(or....
我按Ctrl + D ,它显示我login屏幕Debian。 通过GUIclosures正常工作。
更新1
似乎有些过程挂起。
而且,我已经设法通过多次重试来closures服务器。 最近我只安装了ntp和ntpdate,仅此而已。
我想这可能是与iptables冲突。
您需要使用-h开关来暂停系统。 shutdown默认是切换到运行级别1(维护)。
shutdown -h now
见man shutdown 。
shutdown now将您的Debian放到maintenance mode 。 shutdown -h now使用shutdown -h now 。
使用-h选项closures以请求暂停或closures电源,而不是仅仅请求初始化您将要进入单用户模式(这似乎是默认行为)
shutdown -h now
你可以通过使用'halt'而不是'shutdown -h now'来保存一些input,