加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

在没有安装根文件系统的情况下重启linux服务器

发布时间:2020-12-14 02:45:46 所属栏目:Linux 来源:网络整理
导读:我最近被问到以下问题: How could you reboot the linux server if your root filesystem is not mounted and you cannot mount it (it is lost) and you do not have any binary – you have only root shell. 它与我假设的/ proc有关,但也许根本不可能.谁
我最近被问到以下问题:

How could you reboot the linux server if your root filesystem is not
mounted and you cannot mount it (it is lost) and you do not have any
binary – you have only root shell.

它与我假设的/ proc有关,但也许根本不可能.谁能提供一些关于我应该在那种情况下做什么的指导?

解决方法

如果你没有根文件系统,并且在问题中指定了,你也没有二进制文件,我认为echo不起作用,所以唯一的解决方案是硬件键盘中断使用的确如所说的那样@Pazi SysRQ Magic Keys.

为此,您应该执行以下操作:Alt Print Screen / SysRq一些键

在这里,它将是:Alt Print Screen / SysRq b(其中b将立即重启系统,而无需卸载或同步文件系统).

有关其他魔术键及其功能,请参阅Wikipedia: Magic SysRq key.另请注意,非QWERTY布局可能使用其他物理键.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读