Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 06:58:13 -0400
From:      Jerry <freebsd.user@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: fix bad directory on FAT32 usb disk
Message-ID:  <20100819065813.3d810364@scorpio>
In-Reply-To: <4C6C7A72.7020208@a1poweruser.com>
References:  <4C6BE659.2080006@a1poweruser.com> <4C6BE820.6020303@gmail.com> <4C6C7A72.7020208@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Aug 2010 08:27:30 +0800
Fbsd8 <fbsd8@a1poweruser.com> articulated:

> Glen Barber wrote:

> > On 8/18/10 9:55 AM, Fbsd8 wrote:
> >> I have a fat32 usb disk that gives this error when mounting with
> >> mount_msdosfs /dev/da0s1    "bad fat32 file system"
> >>
> >> Is there some way to clean or auto fix this fat32 file system so
> >> it will mount?
> > 
> > Hi,
> > 
> > You can try fsck_msdosfs(8).  Does it mount in other OSes?
> > 
> > Regards,
> > 
> > - -- 
> > Glen Barber
> 
> In XP I can access the usb hard drive and read/write all directories 
> except one which gives a error.
> 
> fsck_msdosfs /dev/da0   gives  error  "Invalid sector size 48764"

You could try this:

Go to a command prompt, i.e. <WIN_KEY>+<R> and type "cmd" <RETURN>
Enter: chkdsk [volume] /F /V /R /X

It might require you to reboot the system before it will run. That is
normal. You will almost certainly have to reboot after it completes
it operation.

-- 
Jerry ✌
FreeBSD.user@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________

Boling's postulate: If you're feeling good, don't worry. You will get
over it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100819065813.3d810364>