On 00:10 27 May 2002, Bret Hughes <[EMAIL PROTECTED]> wrote:
| On Sun, 2002-05-26 at 21:51, Jianping Zhu wrote:
| > my redhat 7.1 kernel is having trouble, I can only boot into repair
| > filesystem, I belive in order for the system to work porperly i have to
| > change something in etc/fatab (I commented the / directory mistakenly)
| > But I can change it bucause the repair file system is read only.
| > How can i get out of this dillema?
| 
| Directly from the archives (searched on remount writable)
| 
| >From the esteemed Mikkel Ellertson 
| You can remount a file system mounted read-only with the command
| "mount -o remount,rw <mount point>"

However, note that you SHOULD NOT do this until you have repaired it
with fsck. Using a damage filesystem is generally an excellent way to
do more damage.

Supposing your root filesystem to be from the partition
/dev/hda2 you would say:

        fsck -y /dev/hda2

Frankly, after this I reboot. The system should come up clean next time.
Then the / partition will probably be mounted read/write anyway, and if
not (because of your change to /etc/fstab maybe?), _then_ you can do the
"mount -o remount,rw /" thing, knowing that the filesystem itself is ok.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Ed Campbell's <[EMAIL PROTECTED]> pointers for long trips:
1. lay out the bare minimum of stuff that you need to take with you, then
   put at least half of it back.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to