Topic: Messed up NTFS partition trying to resize
I just tried to resize an NTFS partition containing Windows 7 and got an error halfway trough:
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
Check and repair file system (ntfs) on /dev/sda2 00:00:00 ( ERROR )
calibrate /dev/sda2 00:00:00 ( SUCCESS )
path: /dev/sda2 (partition)
size: 395233380 (188.46 GiB)
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:00 ( ERROR )
ntfsresize -i -f -v /dev/sda2 00:00:00 ( ERROR )
ntfsresize v2015.3.14AR.1 (libntfs-3g)
Failed to load runlist for $MFT/$DATA.
highest_vcn = 0x70, last_vcn - 1 = 0x638bf
Failed to load $MFT: Input/output error
ERROR(5): Opening '/dev/sda2' as NTFS failed: Input/output error
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired.
Now I cannot boot into Windows any more and I don't have a recovery disk. Is there any way to fix this from Ubuntu or Gparted Live?