I do it like this:

mkdosfs -v -F32 /dev/hda1

Assuming your dd didn't screw it up, try that way...

-Tom

On Thu, 20 Nov 2003, Charles Curley wrote:

> Date: Thu, 20 Nov 2003 14:05:36 -0700
> From: Charles Curley <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [tomsrtbt] FAT 32 mkdosfs problem
>
> I just tried putting a FAT 32 file system on a ~ 3 GB partition using
> tomsrtbt 2.0.103, mkdosfs 0.4.1, September 1998. I then restored the
> old boot record:
>
> echo formatting /dev/hda1
> mkdosfs $blockcheck -F 32 /dev/hda1
> # restore FAT boot sector.
> dd if=dev.hda1 of=/dev/hda1 bs=512 count=1
>
> I then mounted the partition to see what was there, and the old root
> directory appeared to be there. Scandisk reported numerous errors,
> mostly the root directory files being shorter than the directory entry
> indicated.
>
> It looks like the verion of mkdosfs on Fedora Core 1 (mkdosfs 2.8 (28
> Feb 2001)) will do the job correctly.
>
> Has anyone else seen this?
>
> --
>
> Charles Curley                  /"\    ASCII Ribbon Campaign
> Looking for fine software       \ /    Respect for open standards
> and/or writing?                  X     No HTML/RTF in email
> http://www.charlescurley.com    / \    No M$ Word docs in email
>
> Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
>

Reply via email to