[ltp] FC3 wrongly mounted an NTFS partn for a FAT32 partn

Kelvin KAN linux-thinkpad@linux-thinkpad.org
Fri, 11 Feb 2005 14:24:12 +0800


Hi Andreas,

I've been using that NTFS partn (/dev/hda6) for years and could not have 
mistaken about it's format.  Furthermore, fdisk of FC3 also reported it 
to be NTFS (requoted here):

/dev/hda6            6205        8236    15361888+   7  HPFS/NTFS

My guess is there are bugs in FC3 filesystem services that either:
1.  Ignore my "-t vfat" option
OR
2.  Cannot distinguish between two partn's (my fat32 & ntfs) within the 
same logical partn.


Neither do I want to trust or play around with PartnMagic, but I had no 
choice.  The Recovery CD's of IBM does NOT allow you to choose a target 
partition to restore to, until after the 1st restore, that you've 
repart'd it with PartnMagic to add more partn's than the XP and the 
IBM_SERVICE partn's.

Anyway I've just reformatted the whole 80GB drive and hope these time 
the partn/formats are not messed again.  But I am glad that after 3 yrs 
of not attempting to mount NTFS from Linux (terrible experience of 
searching the packages everywhere and scared by the warning about no 
guarantee for the NTFS data integrity), that now NTFS mounting seems to 
be a built-in feature of FC3, but not at the right time for me :)

Thanks,
-
kelvin.


Andreas wrote:

> Hello,
>
>> When I "mount -t vfat /dev/hda5 /vfat_hda5", but then "ls -l
>> /vfat_hda5" actually showed the content of /dev/hda6 i.e. my NTFS
>> partn!!!!! So I thought might be fdisk was reporting the wrong partn
>> no, but then trying all other hdaN didn't help.
>
>
> "mount -t vfat [..]" shouldn't mount a ntfs partition at all but fail. 
> Are you
> sure you created the correct filesystems on the partitions? In my 
> experience
> Win is sometimes a bit funny with assigning the drive letters.
>
>> Hda5 & hda6 are in the same "Logical" partn (hda2) created by PartnMagic
>> 8.0, whereas I managed to preserver the IBM RescueRecovery partn (hda3)
>> at the ending cylinders of the 80GB drive.
>
>
> After witnessing PartMagic "fixing" a partition table and thereby 
> making the
> system unusable, I wouldn't trust it. If your version supports it you can
> consider creating the CD recovery set from the RescueRecovery 
> partition and
> using {c,s,}fdisk for partitioning the whole harddrive.
>
> Bye
> Andreas