[CentOS] Subject: How do I recover from a corrupt fstab file on reboot?

William L. Maltby CentOS4Bill at triad.rr.com
Sun Sep 9 19:18:22 UTC 2007


On Sat, 2007-09-08 at 16:34 +1000, Steven Haigh wrote:
> On 08/09/2007, at 4:30 PM, chuck wrote:
> > I am using CENTOS 5 and I am stuck where I have to repair my boot  
> > loader and all of the files are read only so I cannot fix them.
> >
> > How do I get around this?
> >
> 
> mount -o remount,rw /
> 
> Do this for all your mount points, then run fsck etc...

?? IIRC, fsck will not repair a writable fs? Remount to ro, fsck,
remount to rw is what ISTR doing when I've had situations like this.

> 
> --
> Steven Haigh
> <snip sig stuff>

HTH (and hope I'm on target)
--
Bill




More information about the CentOS mailing list