如果在/etc/fstab中输入的数据错误,导致无法顺利启动,而进入单用户维护模
式时,/是“[color=red]只读[/color]”状态(因为在RHEL5中,grub.conf中
kernel vmlinuz-2.6.24 [color=red]ro[/color] root=LABEL=/ rhgb quiet)
,此时,无法修改/etc/fstab,用#mount -o remount,rw /dev/卷组名/逻辑卷名称 / 即可。然后再
修改/etc/fstab文件
式时,/是“[color=red]只读[/color]”状态(因为在RHEL5中,grub.conf中
kernel vmlinuz-2.6.24 [color=red]ro[/color] root=LABEL=/ rhgb quiet)
,此时,无法修改/etc/fstab,用#mount -o remount,rw /dev/卷组名/逻辑卷名称 / 即可。然后再
修改/etc/fstab文件
重启操作系统
[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7490392/viewspace-1023743/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7490392/viewspace-1023743/