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

chuck chuck.antrim at gmail.com
Sun Sep 9 19:23:51 UTC 2007


Thanks for the help.

On 9/9/07, William L. Maltby <CentOS4Bill at triad.rr.com> wrote:
>
> 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20070909/9e359bac/attachment.htm


More information about the CentOS mailing list