Re: Help with fsck.

"Steven J. Yellin" <[email protected]> Tue, 22 Apr 2003 12:35:47 -0700 (PDT)
Newsgroups gmane.linux.redhat.release.seawolf
Message-ID <Pine.LNX.4.44.0304221221120.12498-100000@ucsba1.slac.stanford.edu>
On Tue, 22 Apr 2003, Aaron Konstam wrote:

> On Fri, Apr 18, 2003 at 05:06:00PM +0100, gary.park wrote:
> > Thanks to those who helped me sort out how to run FSCK.
> > 
> > However, after running it I get the following message:
> > 
> > fsck.vfat: not found
> > error 2 while executing fsck.vfat for /dev/hda1
> > 
> > Can anyone suggest what this means and whether the root is salvageable
> > with fsck.
> > 
> > Also if I were to upgrade from Redhat 7.1 to 8 would all my personal
> > files be left intact or would the install overwrite everything.
> > 
> > Many thanks
> You don't want to run fsck on a vfat file system. Check you fstab and
> the line that refers to the vfat filesystem should end in 0 0
> which will keep the system from running fsck on it.
> 
    If you do, for some reason, want to run fsck on a vfat system (could
you have somehow made /dev/hda1 be root(?)), when the dosfstools rpm is
installed, fsck.vfat is in /sbin and there is a man page for fsck.vfat.  
I assume, however, that your root partition is not /dev/hda1, but is
instead another one with filesystem type ext2 or ext3, in which case you
can run fsck on the root partition without installing the dosfstools rpm.  
That's no guarantee that the root is salvageable, but maybe it is.

-- 
Steven Yellin