在很多系统维护过程中都 可以用到linux rescue模式,尤其当系统出现很大故障,系统无法正常启动时。linux rescue模式将是你故障处理的把利器。下面以/data目录损坏为例子,要启动系统系统必须先忽略对/data分区的检测。
1.从光盘启动,输 入:linux rescue。如下图:

2.选择语言,默认:

3.选择键盘,默认:

4.配置网络,选择NO:

5.选择rescue模式,选择continue:

6.rescue模式说明:回车

7.执行chroot /mnt/sysimage

8.编辑/etc/fstab
vi /etc/fstab,注释/data目录所在行。

:wq 保存退出。
9:reboot
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21070542/viewspace-667831/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21070542/viewspace-667831/