在/etc/fstab中添加了一条记录,第二天在启动的时候系统起不来了,并提示
Give root password for maintenance
(or type Control-D to continue):
(or type Control-D to continue):
看了一下原来是自己打了个错别字,输入root的密码,修改/etc/fstab文件,但是提示文件是只读的,更改文件的权限也是不行的
解决办法:
输入root的密码后,输入这条命令
# mount -o remount,rw /
这样就可以修改/etc/fstab这个文件了
转载于:https://blog.51cto.com/renpeng/294199