/etc/fstab的错误设置导致系统启动失败,经常有人问到这个问题,解决方法
1. 启动的时候提示你输入 root 口令进去
2. df查看挂载情况,这里注意 / 挂载的设备名,各人有所不同,如下我的/的设备名 /dev/sda5
[root@hex~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 229076120 19188532 198063348 9% /
/dev/sda3 785824 22964 722296 4% /boot
3.输入mount -o remount,rw /dev/sda5 4. vi /etc/fstab ,修改错误,或者删除出错的地方或从新挂载,
保存退出重启系统。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9932141/viewspace-664651/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9932141/viewspace-664651/