No Ubuntu 24.04.2 LTS, usei:
gnome-disk-utility 46.0
UDisks 2.10.1 (built against 2.10.1)
para verificar o tamanho do sda2 (em um disco rígido de 500 Gb), que o reporta como 105 Gb NTFS.
relata o tipo de partição como NTFS/exFAT/HPFS...
Mas quando eu inicializo no WIN7 no sda2 , ele vê o tamanho como c:\
sendo apenas 30 Gb (o que costumava ser na antiga unidade de 30 Gb quando eu a clonei para a nova unidade)
Como posso fazer com que o WIN7 veja/use a partição inteira de 105 Gb?
sda-500GB > sda1-128Mb(protegido); sda2-105Gb(WIN7); sda3-50Gb(unidade de dados WIN7 'E');
sda4-EXT4~sda5-100Gb(Ubuntu), sda6-100Gb(Fedora), sda7-75Gb(futuro WIN10)
OK - então executei 'sudo ntfsresize /dev/sda2' no terminal:
sudo ntfsresize /dev/sda2
[sudo] password for batgirl:
ntfsresize v2022.10.3 (libntfs-3g)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 29914911232 bytes (29915 MB)
Current device size: 104857600000 bytes (104858 MB)
New volume size : 104857596416 bytes (104858 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Cluster accounting failed at 197485 (0x3036d): missing cluster in $Bitmap
Cluster accounting failed at 1108632 (0x10ea98): missing cluster in $Bitmap
Cluster accounting failed at 1108633 (0x10ea99): missing cluster in $Bitmap
Cluster accounting failed at 1108634 (0x10ea9a): missing cluster in $Bitmap
Cluster accounting failed at 1108635 (0x10ea9b): missing cluster in $Bitmap
Cluster accounting failed at 1108636 (0x10ea9c): missing cluster in $Bitmap
Cluster accounting failed at 1108637 (0x10ea9d): missing cluster in $Bitmap
Cluster accounting failed at 5358234 (0x51c29a): missing cluster in $Bitmap
Cluster accounting failed at 5358235 (0x51c29b): missing cluster in $Bitmap
Cluster accounting failed at 5358236 (0x51c29c): missing cluster in $Bitmap
Filesystem check failed! Totally 65 cluster accounting mismatches.
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.
Coloquei o Ubuntu em hibernação e inicializei no WIN7, mas ele estava em hibernação, então o fechei e executei chkdsk /f e inicializei no Windows. Depois executei chkdsk /f e inicializei no Windows novamente, mas ainda mostrando apenas 30 GB...
Executarei sudo ntfsresize /dev/sda2 no terminal do Ubuntu novamente, mas desta vez com o WIN7 não em hibernação:
> sudo ntfsresize /dev/sda2
[sudo] password for batgirl:
ntfsresize v2022.10.3 (libntfs-3g)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 29914911232 bytes (29915 MB)
Current device size: 104857600000 bytes (104858 MB)
New volume size : 104857596416 bytes (104858 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 28372 MB (94.8%)
Collecting resizing constraints ...
WARNING: Every sanity check passed and only the dangerous operations left.
Make sure that important data has been backed up! Power outage or computer
crash may result major data loss!
Are you sure you want to proceed (y/[n])? y
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
Syncing device ...
Successfully resized NTFS on device '/dev/sda2'.