無法在ubuntu中以默認用戶模式啟動


0

我在How to Become Root in Ubuntu上的Ubuntu 14.04上執行了以下命令:
sudo gedit /etc/fstab
sudo passwd root
sudo -i

重新啟動計算機後,出現以下錯誤:

The system is not able to boot for user "ravi".
To stop booting for "ravi" press S and for manual repair press M

如何以root用戶身份登錄?

2

Alright, first of all, that's not how you become root in ubuntu. To become root, you can either use the sudo command to execute root, or you can use sudo passwd which is how to set the password for the root account on ubuntu. Then, to become root, you use su and enter the password you set previously.

Did you edit anything in the fstab document?