CentOS7.6昨天用的還好好的的,但是今天開機提示如下(如圖提示):
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
處理辦法:自動掛載的那個fstab文件有問題,你在這個界面直接輸入密碼,然后把你增加的刪除,重啟就OK
1:登陸root 亂碼也輸入密碼
2: vim /etc/fstab ,檢查磁盤掛載信息
3:注釋掉自己增加的內容,如果確定不在使用可以刪除
4:重啟OK。
報這個錯誤多數情況下是因為/etc/fstab文件的錯誤。注意一下是不是加載了外部硬盤、存儲器或者是網絡共享空間,在重啟時沒有加載上導致的。