Topic: Moving NTFS partition results in invalid partition
I used GParted 4.6 (with Libparted 1.9.0), as included on SystemRescueCD 1.3.1, to try to delete and to move some Linux and NTFS partitions. On this step:
Move /dev/sda5 to the right and grow it from 63.48 GiB to 82.56 GiB 01:35:14 ( ERROR )
ntfs resizes reports
ntfsresize -P -i -f -v /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 68162859520 bytes (68163 MB)
Current device size: 68162863104 bytes (68163 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 66932 MB (98.2%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 63002 MB 0
Multi-Record : 67556 MB 56139
$MFTMirr : 2148 MB 1
Compressed : 67498 MB 56457
Ordinary : 68163 MB 63956
You might resize at 66931146752 bytes or 66932 MB (freeing 1231 MB).
Please make a test run using both the -n and -s options before real resizing!
at the start. After a long series of (omitted) block copy reports and the completion of the move part of this operation, I end up with:
133130592 sectors copied
move partition to the right 00:12:01 ( SUCCESS )
old start: 30780603
old end: 163911194
old size: 133130592 (63.48 GiB)
new start: 41046075
new end: 174176666
new size: 133130592 (63.48 GiB)
update boot sector of ntfs file system on /dev/sda5 00:00:00 ( SUCCESS )
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:00 ( ERROR )
ntfsresize -P -i -f -v /dev/sda5
ntfsresize v2.0.0 (libntfs 10:0:0)
Error reading bootsector: Invalid argument.
Failed to startup volume: Invalid argument.
ERROR(22): Opening '/dev/sda5' as NTFS failed: Invalid argument
The device '/dev/sda5' doesn't have a valid NTFS.
Maybe you selected the wrong partition? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? This error might also occur
if the disk was incorrectly repartitioned (see the ntfsresize FAQ).
Uh, oh. Do I have a recovery option here? Is there information from the partition that would be useful in evaluating what went wrong?
Thanks for your help.