linux中mount -o remount /home,mount -o remount, rw / 很有用..

环境:Oracle Enterprice Linux 5.2

为一个培训做的Oracle EBS R12的测试环境[@more@]

增加了/etc/mtab

/dev/sdb1 /install ext3 rw 0 0

/etc/fstab

LABEL=/install /install ext3 defaults 1 2

然后系统重起:就起不来了,提示

give root password for maintenance

(or type control-d to continue:)

输入root 密码后,进入系统了,想把增加的内容去掉.但提示是只读.不让修改

采用下面方法

mount -o remount, rw /

because root directory / is mounted in read only mode. type follwing command, then you should be able to edit rc.sysint script.

现在再去修改MTAB/FSTAB文件就可以了.最后reboot ,系统启动成功