My external USB drive with GUID Partition Table shows wrong size and i am thinking thats stopping TrueCrypt from mounting it.
The disk is Formated in Win7 and works there fine. The 2. partition is mounted automatically by Ubuntu but the 3. partition does not work. The partition is encrypted with TruCrypt.
gdisk -p
Disk /dev/sdc: 1565565872 sectors, 746.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): AA9BEA51-54B9-4AC4-B090-FBD4928B52D7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1565565838
Partitions will be aligned on 8-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 34 262177 128.0 MiB 0C01 Microsoft reserved part
2 264192 21235711 10.0 GiB 0700 Basic data partition
3 21235712 5860530175 2.7 TiB 0700 Basic data partition
The disk size appears as 746 GB as it was MBR but it is GPT
gdisk -v
Problem: partition 3 is too big for the disk.
Warning! Secondary partition table overlaps the last partition by
4294964337 blocks!
You will need to delete this partition or resize it in another utility.
Caution: Partition 1 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Consult http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/
for information on disk alignment.
Identified 2 problems!
There is lot of information about internal drives but i cant find any useful information about GPT-USB drives in Ubuntu. Probably TrueCrypt cant mount it on Linux at all, but there is still the problem with the wrong size.
Thanks for any suggestions.