當(dāng)CentOS操作系統(tǒng)崩潰,無(wú)法正常啟動(dòng)時(shí),可以通過(guò)救援模式或者緊急模式進(jìn)行系統(tǒng)登錄。
啟動(dòng)CentOS,?當(dāng)出現(xiàn)下面界面時(shí),按e進(jìn)入編輯界面。

在編輯界面里,加入?yún)?shù):systemd.unit=rescue.target?,然后Ctrl-X啟動(dòng)進(jìn)入救援模式。

在編輯界面里,加入?yún)?shù):systemd.unit=emergency.target,?然后Ctrl-X進(jìn)入緊急模式。

救援模式與緊急模式可以相互切換:
Switch to Emergency mode(target)
To switch to Emergency target, simply run following command as root:
# systemctl emergency
Broadcast message from root@geeklab on pts/1 (Mon 2016-08-17 00:44:58 EDT):
The system is going down to emergency mode NOW!
Switch to Rescue mode(target)
To switch to rescue target, simply run following command as root:
# systemctl rescue
Broadcast message from root@geeklab on pts/0 (Mon 2016-08-17 00:22:44 EDT):
The system is going down to rescue mode NOW!文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-610229.html
參考:https://www.thegeekdiary.com/centos-rhel-7-how-to-boot-into-rescue-mode-or-emergency-mode/文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-610229.html
到了這里,關(guān)于CentOS救援模式(Rescue?Mode)及緊急模式(Emergency?Mode)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!