linux中mount -o remount /home,mount -o remount, rw / 很有用..
生活随笔
收集整理的這篇文章主要介紹了
linux中mount -o remount /home,mount -o remount, rw / 很有用..
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
環(huán)境:Oracle Enterprice Linux 5.2
為一個培訓(xùn)做的Oracle EBS R12的測試環(huán)境[@more@]
增加了/etc/mtab
/dev/sdb1 /install ext3 rw 0 0
/etc/fstab
LABEL=/install /install ext3 defaults 1 2
然后系統(tǒng)重起:就起不來了,提示
give root password for maintenance
(or type control-d to continue:)
輸入root 密碼后,進入系統(tǒng)了,想把增加的內(nèi)容去掉.但提示是只讀.不讓修改
采用下面方法
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.
現(xiàn)在再去修改MTAB/FSTAB文件就可以了.最后reboot ,系統(tǒng)啟動成功
總結(jié)
以上是生活随笔為你收集整理的linux中mount -o remount /home,mount -o remount, rw / 很有用..的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux动态库符号检查,写 Linux
- 下一篇: linux 其他常用命令