Topic: SOLVED-Another Current NTFS volume size is bigger than the device size
I used the 0.5.0-3 live cd to resize an NTFS partition to create space for installing another linux distro. I wanted to create 40 GB (40960) of space by resizing my sda2 NTFS partiton (created by Windows XP) and move the remaining 4 partitions (sda3-6) to the left of the newly freed space so the freed space would be on the end. I also tried to resize the swap to 4gb from the ~2gb it was. Unfortunately, I did all of this in one session of GParted instead of doing the NTFS resize in isolation. I've been using Linux as a desktop for about 4 years off and on. During that time I've used GParted to resize partitions several times without issue. It seemed to go ok, but at the I noticed the dreaded warning symbol on my NTFS drive with the all too familar warning message that is the subject of this post. I found it strange since the GParted website mentioned this error for fixed in the latest buids. However, I'm to blame for not reading that you should do NTFS resizing in isolation or risk doing what I did to my partition table.
Anyway, after rebooting my NTFS partition could not be mounted and was not accessible in Windows, reported as RAW. I've done some research and found testdisk and used the quick scan to fix the partition table so that the partition is now accessible. However, when I run GParted now, the whole drive shows up as unallocated. After further research, it looks like its not totally fixed. I've done a deep scan using testdisk as well as fdisk -l -u. If anyone with a deeper understanding of partition tables (probably most users here) could help me figure out what is wrong and if its fixable, I'd greatly appreciate it. TIA
My partitions
sda1 - NTFS - label:xp-sp3
sda2 - NTFS - label:data
sda3 - ext4 - label:root
sda4 - extended
sda5 - ext4 - label:home
sda6 - swap
parted output
# parted /dev/sda unit s print
Error: Can't have a partition outside the disk!
testdisk output
TestDisk 6.11.3, Data Recovery Utility, May 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sda - 750 GB / 698 GiB - CHS 91202 255 63
Partition Start End Size in sectors
D HPFS - NTFS 0 1 1 10198 254 63 163846872 [xp-sp3]
D HPFS - NTFS 10076 0 1 85978 254 63 1219381695
D HPFS - NTFS 10198 254 63 20397 254 63 163846936
D HPFS - NTFS 10199 0 1 86101 254 63 1219381695 [data]
D HPFS - NTFS 10199 0 1 86101 254 63 1219381695 [data]
D HPFS - NTFS 15298 0 1 91200 254 63 1219381695
D Linux 80880 0 1 83067 254 63 35150220 [root]
D Linux 83068 1 1 85712 254 63 42491862 [home]
D Linux Swap 85713 1 1 86234 254 63 8385867
D Linux 86102 0 1 88289 254 63 35150220 [root]
D Linux 88290 1 1 90934 254 63 42491862 [home]
D Linux Swap 90935 1 1 91200 254 63 4273227
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
fdisk -l -u output
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc9d8c9d8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 163846934 81923436 7 HPFS/NTFS
/dev/sda2 163846935 1383228629 609690847+ 7 HPFS/NTFS
/dev/sda3 1383228630 1418378849 17575110 83 Linux
/dev/sda4 1418378850 1465160129 23390640 f W95 Ext'd (LBA)
/dev/sda5 1418378913 1460870774 21245931 83 Linux
/dev/sda6 1460870838 1465144064 2136613+ 82 Linux swap / Solaris