现在的位置: 首页 > 综合 > 正文

fatab改错了 启动不了

2019年05月05日 ⁄ 综合 ⁄ 共 401字 ⁄ 字号 评论关闭

***An error occured during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave shell. up to 100000000 @ 8000-d000
Give root password for maintenance
(or type Control-D to continue);

于是只能输入root的password进入, vi 打开/etc/fstab之后, 修改了/dev/hd1时, 提示
-- INSERT -- w10: Warning: Changing a readonly file

改完後保存的时候提示
"fstab" E212: Can't open file for writing
:w! 也没有用

看来是mount成readonly 了.
于是
root# mount -o remount,rw /

再试vi /etc/fstab, 就可以保存了.

抱歉!评论已关闭.