On Mon, 27 May 2002, Cameron Simpson wrote:

> 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.

in situations like this, i would back off completely from booting off
of the hard drive and boot in "linux rescue" mode from the first
installation CD.  (refresh my memory -- did 7.1 have a bootable
rescue CD?)

rday



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

Reply via email to