A somewhat curious problem. I have a machine dual booting Windows XP Professional and Suse 11.2. I have this set up as shown by fdisk -1:
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6b105bccDevice Boot Start End Blocks Id System
/dev/sda1 1 4865 39078081 7 HPFS/NTFSDisk /dev/sdb: 40.0 GB, 40000000000 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb720b720Device Boot Start End Blocks Id System
/dev/sdb1 1 1284 10313698+ 7 HPFS/NTFS
/dev/sdb2 * 1285 1297 104422+ 83 Linux
/dev/sdb3 1298 4602 26547412+ 83 Linux
/dev/sdb4 4603 4863 2096482+ 82 Linux swap / SolarisDisk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb6ddb6ddDevice Boot Start End Blocks Id System
/dev/sdc1 * 1 9728 78140128+ 7 HPFS/NTFS
so essentially we have two disks, sda and sdc, which are both formatted as NTFS and used for both OS’s which are on /dev/sdb.
Although /dev/sdc1 can be set up and mounted as NTFS within the Partitioner in Yast, /dev/sda1 is problematic. It shows the partition having the correct flag (0x07) for NTFS but when I try and mount it it tells me the file system is ‘unknown’.
Now Yast appears to rely upon parted or some of the libraries thereof. If I do parted -l it shows:
Model: ATA ST340016A (scsi)
Disk /dev/sda: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdosNumber Start End Size Type File system Flags
1 32.3kB 40.0GB 40.0GB primary reiserfs type=07Model: ATA WDC WD400BD-75JM (scsi)
Disk /dev/sdb: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdosNumber Start End Size Type File system Flags
1 32.3kB 10.6GB 10.6GB primary ntfs type=07
2 10.6GB 10.7GB 107MB primary reiserfs boot, type=83
3 10.7GB 37.9GB 27.2GB primary reiserfs type=83
4 37.9GB 40.0GB 2147MB primary linux-swap(v1) type=82Model: ATA WDC WD800JD-00LS (scsi)
Disk /dev/sdc: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdosNumber Start End Size Type File system Flags
1 32.3kB 80.0GB 80.0GB primary ntfs boot, type=07
which is odd. It (/dev/sda1) used to be formatted with Reiser but then I converted it to NTFS by deleting the partition in Windows XP Disk Manager and then recreating and formatting it there. For all other applications in Suse 11.2 and certainly within XP it looks like a genuine NTFS file system with the data in it totally accessible.
Windows XP:
Running chkdsk reveals no errors.
Suse 11.2:
I can use ntfsinfo -mf /dev/sda1 to access and print out the MFT details - no problems.
I can mount it using mount -t ntfs-3g /dev/sda1 <mount point> and access the data on it - no problems.
Thinking it might be something in the MBR, I hexdumped the MBR and inspected the partition type flag for the first partition table entry. Shows 0x07 - correct.
Thinking it might be something at the start of the partition that may actually signal the file system type (which may be in contradiction to the partition type flag) I hexdumped the first 512 byes of /dev/sda1. Shows the characters ‘NTFS’ near the beginning - correct (I presume).
Until this problem is sorted out, Yast does not seem to be able to handle it. Although I can use it by inserting it into /etc/fstab myself it would be advantageous to have Yast incorparate it into the system since e.g. Dolphin does not know what to do with the partition entry when I click on it. Etc.
Running Parted Magic 4.10 with parted 2.2 gives the same error so it may not be a bug in parted (Suse 11.2 uses version 1.8)
Any ideas on what else I can check for? Thanks.:\