mount -o remount, rw / 很有用..

zhulch發表於2008-09-21

環境: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 ,系統啟動成功

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7318139/viewspace-1010891/,如需轉載,請註明出處,否則將追究法律責任。

相關文章