reboot报错Failed to start reboot.target的解决办法

reboot报错Failed to start reboot.target的解决办法

reboot
Failed to start reboot.target: Activation of org.freedesktop.systemd1 timed out See system logs and 'systemctl status reboot.target' for details.

尝试强制重启:
reboot -f 
或者
systemctl --force --force reboot

参数解释:
man reboot
-f, --force
           Force immediate halt, power-off, reboot. Do not contact the init system.

man systemctl
reboot [arg]
           Shut down and reboot the system. This is mostly equivalent to start reboot.target --irreversible, but also prints a wall message to all users. If combined
           with --force, shutdown of all running services is skipped, however all processes are killed and all file systems are unmounted or mounted read-only,
           immediately followed by the reboot. If --force is specified twice, the operation is immediately executed without terminating any processes or unmounting
           any file systems. This may result in data loss.

           If the optional argument arg is given, it will be passed as the optional argument to the reboot(2) system call. The value is architecture and firmware
           specific. As an example, "recovery" might be used to trigger system recovery, and "fota" might be used to trigger a “firmware over the air” update.

发布了155 篇原创文章 · 获赞 63 · 访问量 71万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览