关机或重启 ubuntu 时卡住

关机或重启 ubuntu 时卡住

我对 Linux 还很陌生。5-6 天前我安装了 Ubuntu 14.04.4 LTS。

当我想重新启动或关机时,系统挂起(我等了 3 个多小时),然后我按下关机按钮强制关机。

当我esc在重启期间按下时它显示:

wait-for-static stop/waiting
stopping rsync daemon rsync [ok]
speech-dispatcher disabled: edit /etc/default/speech-dispatcher
asking all remaining processes to terminate... [ok]
killing all remaining processes... [fail]
ModemManager[654]: could not aquire the 'org.freedesktop.ModemManager' service name
Modemmanager[654] ModemManager is shutdown
deactivating swap... [ok]
mount: / is busy
will now restart

当我esc在关机期间按下时,它显示:

wait-for-static stop/waiting
stopping rsync daemon rsync [ok]
speech-dispatcher disabled: edit /etc/default/speech-dispatcher
asking all remaining processes to terminate... [ok]
ModemManager[654]: Modem /org/freedesktop/ModemManager1/Modem/0: signal quantity updated(20)
killing all remaining processes... [fail]

ModemManager[654]: could not aquire the 'org.freedesktop.ModemManager' service name
Modemmanager[654]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> disabling)
Modemmanager[654]: Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (0)
Modemmanager[654]: Modem /org/freedesktop/ModemManager1/Modem/0: access technology changed (gprs -> unknown)
Modemmanager[654]: Caught signal, shutting down...
deactivating swap... [ok]
mount: / is busy
will now halt

这是什么问题?我该如何解决?

答案1

我也有这个。(但我没按Esc。当它挂起时,我按下机器上的电源按钮,大约 5 秒钟后它就会关闭。

答案2

我建议您按如下方式编辑 grub 文件:

打开终端并输入以下命令成为 root 用户

sudo -i

编辑 grub 文件。

nano /etc/default/grub 

找到开始的行GRUB_CMDLINE_LINUX_DEFAULT并编辑如下:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=bios"

现在更新 grub,方法是:

sudo update-grub

重新启动系统。

sudo reboot

相关内容