我正在制定的分区方案为 Windows 8.1 和 Ubuntu 分别提供了 80GB,目前 Windows 仍然占用了 400GB,我正尝试将其调整为 177GB。尝试了 Windows 默认分区管理器,它只能将其缩小 50GB。进行了碎片整理,又获得了 20GB 左右的空间。在这个 70GB 的分区上安装了 Ubuntu,并运行 GParted 以进一步缩小 Windows,但运气不佳。我得到了以下信息:
GParted 0.18.0 --enable-libparted-dmraid --enable-online-resize
Libparted 2.3
Shrink /dev/sda4 from 376.82 GiB to 199.71 GiB 00:17:14 ( ERROR )
calibrate /dev/sda4 00:00:00 ( SUCCESS )
path: /dev/sda4
start: 1697792
end: 791945215
size: 790247424 (376.82 GiB)
check file system on /dev/sda4 for errors and (if possible) fix them 00:00:26 ( SUCCESS )
ntfsresize -i -f -v /dev/sda4
ntfsresize v2013.1.13AR.1 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 404606677504 bytes (404607 MB)
Current device size: 404606681088 bytes (404607 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 200652 MB (49.6%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
Multi-Record : 401999 MB 1136511
$MFTMirr : 1 MB 1
Compressed : 394065 MB 15450
Sparse : 153807 MB 1761
Ordinary : 404554 MB 2470
You might resize at 200651960320 bytes or 200652 MB (freeing 203955 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink file system 00:16:48 ( ERROR )
run simulation 00:16:48 ( ERROR )
ntfsresize --force --force -s 214441132032 --no-action /dev/sda4
ntfsresize v2013.1.13AR.1 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 404606677504 bytes (404607 MB)
Current device size: 404606681088 bytes (404607 MB)
New volume size : 214441128448 bytes (214442 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 200652 MB (49.6%)
Collecting resizing constraints ...
Needed relocations : 15455457 (63306 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
100.00 percent completed
allocated extent inode 16
allocated extent inode 16
allocated extent inode 16
allocated extent inode 16
allocated extent inode 16
allocated extent inode 16
allocated extent inode 16
Non-positive free clusters (0)!
Non-positive free clusters (0)!
Non-positive free clusters (0)!
Non-positive free clusters (0)!
Non-positive free clusters (0)!
Updating $BadClust file ...
Updating $Bitmap file ...
ERROR(5): Could not map attribute 0x80 in inode 747981: Input/output error
========================================
有什么方法可以解决 Windows 给我设置的这些“不可移动文件”?提前感谢大家!
答案1
也许可以从 Windows 尝试一下,我不记得具体的软件了,但是有一些免费的软件可以让你通过移动这些文件毫无问题地增加和减少 C 盘。
答案2
如果有这个问题的人看到这个,这个解决方案对我有用:
- 禁用页面文件交换
- 禁用系统恢复
- 禁用系统保护然后进行碎片整理并重试,这次应该可以了。这些设置允许 Windows 移动以前无法移动的受保护系统文件。