天天看點

CentOS7開機提示welcome to emergency mode!after logging in...

CentOS7開機提示welcome to emergency mode!after logging in...

CentOS7.3昨天用的還好好的的,但是今天開機提示如下(如圖提示):

welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try again to boot into default mode。

give root password for maintenance

(?? Control-D???):

經過排查是因為我之前在/etc/fstab寫入了CD光牒自動挂載,但開機有沒有挂載成功導緻的。

處理辦法:自動挂載的那個fstab檔案有問題,你在這個界面直接輸入密碼,然後把你增加的删除,重新開機就OK

1:登陸root 亂碼也輸入密碼

2: vim /etc/fstab ,檢查磁盤挂載資訊

3:注釋掉自己增加的内容,如果确定不在使用可以删除

4:重新開機OK。

報這個錯誤多數情況下是因為/etc/fstab檔案的錯誤。注意一下是不是加載了外部硬碟、存儲器或者是網絡共享空間,在重新開機時沒有加載上導緻的。

繼續閱讀