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

repair filesystem /etc/fstab readonly

2013年10月13日 ⁄ 综合 ⁄ 共 309字 ⁄ 字号 评论关闭

修改了/etc/fstab文件中的LABLE=/ /  根目录的挂载内容为LABLE=/dev/sda1,不能够启动了。

只能通过输入root密码进入到repair filesystem中。编辑/etc/fstab文件,只读,应该是没有能够mount的问题。

但是mount /dev/sda1 /mnt无效。

通过google得到发现了一个解决方案:

(1)mount -w -o remount /

(2)然后通过 mount /dev/sda1 /mnt。

然后可以编辑/etc/fstab,恢复到原来,可以登录了。

 

 

环境: red hat enterprise Linux 4,参考网页为: http://www.techiegyan.com/?p=86

 

抱歉!评论已关闭.