Shrink NTFS Windows 7 Partition with GParted
- by user15961
I am running a dual-boot system with Windows 7 and Ubuntu 10.10. Initially I allocated about 20GB for my Ubuntu partition; however, I quickly ran out of that space and am now looking to expand my partition. Currently my NTFS partition (450GB) has about 130GB of free space. I tried using GParted to shrink the partition but encountered the following error. I booted into windows so I could run chkdsk but the countdown freezes at 1 upon reboot. I tried multiple methods to resolve that issue but nothing seems to work. Finally I gave up, and now I just want to know what is the best way for me to force GParted to shrink the partition regardless of the errors. I don't really have anything important and I don't mind risking the data. I just don't want to wipe the entire NTFS partition because I don't have a Windows install CD and might require Windows later on for some programs. I tried using sudo ntfsresize but that spews out the same error as GParted... Any ideas?
Check and repair file system (ntfs) on /dev/sda2 00:00:09 ( ERROR )
calibrate /dev/sda2 00:00:00 ( SUCCESS )
path: /dev/sda2
start: 36944325
end: 976771119
size: 939826795 (448.14 GiB)
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:09 ( ERROR )
ntfsresize -P -i -f -v /dev/sda2
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 481191318016 bytes (481192 MB)
Current device size: 481191319040 bytes (481192 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Cluster 63468 is referenced multiple times!
Cluster 63469 is referenced multiple times!
Cluster 63465 is referenced multiple times!
Cluster 63466 is referenced multiple times!
Cluster 63467 is referenced multiple times!
Cluster 165621 is referenced multiple times!
Cluster 165622 is referenced multiple times!
Cluster 165623 is referenced multiple times!
Cluster 165624 is referenced multiple times!
ERROR: Filesystem check failed!
ERROR: 9 clusters are referenced multiply times.
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.