[Wylug-help] [Wylug-Help]messed up FAT32 partition

John Hodrien johnh at comp.leeds.ac.uk
Thu, 27 Feb 2003 09:33:28 +0000 (GMT)


On Thu, 27 Feb 2003, Gary Stainburn wrote:

> Hi Matt,
>
> Firstly, make sure that the FAT partition on hd0 is mounted somewhere and that
> the FAT partition in hd1 isn't
>
> then as root run the following command (asuming  hd1 is primary disk on 2nd
> controller and that you used primary partitions)
>
> dd if=/dev/hdc1 of=/<mnt>/hdc1.img bs-1024 count=<numblocks>

                                     ^^^^^^^

                                     bs=1024 surely?

But sound advice.

> Fixing the partition depends on what state PM left it in.  You could try
> using the linux version of fdisk to delete/recreate the partition table in
> both the 16k and 32k cluster sizes until you get something that works.

The partition table doesn't store the cluster size.  Doesn't it just tag it as
a fat32 partition and leave it at that.  It's more likely that partition magic
has shagged the FAT, in which case...

jh

--
"Youth would be an ideal state of affairs if it came a little later in life."
                                                     -- Herbert Asquith