GParted успешно редактировал разделы перед установкой Windows7 на asus x540y, не смотря на неудаляемые после заражения вирусами файлы, - другой
отличный редактор разделов Paragon в этом случае зависал. GParted [сборка
PRA09-1910] (с риском потери данных) нормально изменил размер раздела с такими файлами, создал новые разделы [GPT].
GParted 0.28.1 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2Уменьшить размер /dev/sda4 с 465.16 ГиБ до 190.96 ГиБ 00:01:35 ( УСПЕШНО )
калибровка /dev/sda4 00:00:00 ( УСПЕШНО )
путь: /dev/sda4 (раздел)
начало: 1261568
конец: 976773119
размер: 975511552 (465.16 ГиБ)
проверить на ошибки файловую систему /dev/sda4 и устранить их, если это возможно 00:00:25 ( УСПЕШНО )
ntfsresize -i -f -v /dev/sda4 00:00:25 ( УСПЕШНО )
ntfsresize v2017.3.23 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 499461911040 bytes (499462 MB)
Current device size: 499461914624 bytes (499462 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 70608 MB (14,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
Multi-Record : 215645 MB 97860
$MFTMirr : 1 MB 1
Ordinary : 250291 MB 0
You might resize at 70607831040 bytes or 70608 MB (freeing 428854 MB).
Please make a test run using both the -n and -s options before real resizing!
уменьшить размер файловой системы 00:01:09 ( УСПЕШНО )
запустить симуляцию 00:00:25 ( УСПЕШНО )
ntfsresize --force --force -s 205043793920 --no-action /dev/sda4 00:00:25 ( УСПЕШНО )
ntfsresize v2017.3.23 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 499461911040 bytes (499462 MB)
Current device size: 499461914624 bytes (499462 MB)
New volume size : 205043790336 bytes (205044 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 70608 MB (14,1%)
Collecting resizing constraints ...
Needed relocations : 85378 (350 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
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
The read-only test run ended successfully.
настоящее изменение размера 00:00:44 ( УСПЕШНО )
ntfsresize --force --force -s 205043793920 /dev/sda4 00:00:44 ( УСПЕШНО )
ntfsresize v2017.3.23 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 499461911040 bytes (499462 MB)
Current device size: 499461914624 bytes (499462 MB)
New volume size : 205043790336 bytes (205044 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 70608 MB (14,1%)
Collecting resizing constraints ...
Needed relocations : 85378 (350 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
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
Syncing device ...
Successfully resized NTFS on device '/dev/sda4'.
You can go on to shrink the device for example with Linux fdisk.
IMPORTANT: When recreating the partition, make sure that you
1) create it at the same disk sector (use sector as the unit!)
2) create it with the same partition type (usually 7, HPFS/NTFS)
3) do not make it smaller than the new NTFS filesystem size
4) set the bootable flag for the partition if it existed before
Otherwise you won't be able to access NTFS or can't boot from the disk!
If you make a mistake and don't have a partition table backup then you
can recover the partition table by TestDisk or Parted's rescue mode.
уменьшить раздел с 465.16 ГиБ до 190.96 ГиБ 00:00:01 ( УСПЕШНО )
начинался: 1261568
заканчивался: 976773119
старый размер: 975511552 (465.16 ГиБ)
теперь начинается: 1261568
теперь заканчивается: 401737727
новый размер: 400476160 (190.96 ГиБ)
=========================================