[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Wrong partition ID? Why?



Hi Frank Naumann, on 2 Mar  00 you said:

 >> I used 'mkfatfs' to re-build a (V)FAT32 partition but it always complains
 >> about a wrong partition ID. I tried BGM, RAW, F32 (as it recommends)... I
 >> tried also the DOS compatibility... No use!

 FN> Can you send me the output of mkfatfs?

I typed 'mkfatfs -F 32 M:' and I got:

=============================[---CUT---]=============================
mkfatfs 0.22b, 1998-08-01 for TOS and DOS FAT/FAT32-FS
Found XHDI level 1.30.

Physical informations about partition M:
----------------------------------------
XHDI major number    : 13
XHDI minor number    : 0
partition start      : 2
partition length     : 196605 sectors
phyiscal sector size : 512 bytes
partition type       : TOS
partition ID         : BGM

Logical informations about partition M:
---------------------------------------
Media descriptor    : 0xf8
logical sector size : 512
sectors per cluster : 2
clustersize         : 1024
number of FATs      : 2     (32 bit wide)
sectors per FAT     : 765   (     382 kb)
number of cluster   : 97904 (   97904 kb)
Volume ID           : 38bf0e8e
No volume label.

Can't create FAT32 filesystem - wrong partition ID!
Please change first partition ID to 'F32' (TOS) or '0xb' (DOS).
See in documentation for more details.

mkfatfs: aborted.
=============================[---CUT---]=============================

It works if I don't specify '-F 32' but the result is apparently VFAT16 (LFN 
are accepted) but my Linux-box doesn't like (V)FAT16. When I finally succeded 
in changing the partition ID to "F32", mkfatfs reported:

=============================[---CUT---]=============================
mkfatfs 0.22b, 1998-08-01 for TOS and DOS FAT/FAT32-FS
Found XHDI level 1.30.

Physical informations about partition M:
----------------------------------------
XHDI major number    : 13
XHDI minor number    : 0
partition start      : -1
partition length     : 0 sectors
phyiscal sector size : 512 bytes
partition type       : UNKNOWN
partition ID         :

mkfatfs: Attempting to create too large a file system
=============================[---CUT---]=============================

And "my" HD-Driver 7.04 is apparently unable to create DOS partition with an ID 
different from 0x6. So...

 >> I felt very happy... until I launched 'e2fsck' which complains about the
 >> wrong partition ID []. (And that silly Ext2-FS says that I'm mounting an
 >> unchecked fs and that I should run 'e2fsck' once again!)

 FN> Which version of e2fsck do you use?

'fsck.ext2 -V' reports:

e2fsck 1.14 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
Using EXT2FS library version 1.14, 9-Jan-1999

See you later,

=============================
Remi Villatel
E-mail: maxilys@normandnet.fr
=============================