Aumentare Partizione Ubuntu 8.04 con Gparted
Inviato: lunedì 4 agosto 2008, 15:17
Ciao a tutti,
Ho un problema con gparted, vi spiego il problema: (premetto che non sono molto pratico in queste cose)
Da Vista ho installato Ubuntu 8.04 su una delle mie partizioni, prima dell'installazione avevo questa 2 partizioni:
FileSystem Label Size USED UNUSED
ntfs ACER 111.20 GiB 42.04 GiB 67.18 GiB <--(qui cè vista VISTA)
ntfs 110.95 GiB 0 Gib 0 GiB
dove in quella da 110.95 GiB ho installato Ubuntu 8.04 dandogli 10.74 GiB , dopo l'installazione mi ha creato una nuova partizione ntfs PQSERVICE di 10.74 GiB, dopo un pò di mesi mi si è riempita la partizione di Ubuntu ed è qui che ho usato Gparted, prima di dirvi cosa ho fatto con Gparted vi mostro com'erano le partizioni:
Partition FileSystem Label Size USED UNUSED
/dev/sda1 ntfs PQSERVICE 10.74 GiB 9.10 GiB 1.64 GiB
/dev/sda2 ntfs ACER 111.20 GiB 42.04 GiB 67.18 GiB <--(qui cè vista VISTA)
/dev/sda3 ntfs 110.95 GiB 10.13 Gib 110.82 GiB
essendo la partizione di Ubuntu (/dev/sda1) quasi piena ho cercato con Gparted di aumentarla 19.75 GiB diminuendo la partizione /dev/sda3 di 19.75 GiB semplicemente restringendola con il mouse verso sinistra.
Ma durante il restringimento mi ha dato questo errore:
Shrink /dev/sda3 from 110.95 GiB to 91.20 GiB 39:25 ( ERROR )
calibrate /dev/sda3 00:00 ( SUCCES )
path: /dev/sda3
start: 255721472
end: 488394751
size: 232673280 (110.95 GiB)
calculate new size and position of /dev/sda3 00:00 ( SUCCES )
requested start: 255722670
requested end: 446976494
requested size: 191253825 (91.20 GiB)
new start: 255722670
new end: 446976494
new size: 191253825 (91.20 GiB)
check filesystem on /dev/sda3 for errors and (if possible) fix them 00:01 ( SUCCES )
ntfsresize -P -i -f -v /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 119128715776 bytes (119129 MB)
Current device size: 119128719360 bytes (119129 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (9,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3222 MB 0
Multi-Record : 12482 MB 43
$MFTMirr : 59565 MB 1
Ordinary : 59569 MB 10
You might resize at 10875748352 bytes or 10876 MB (freeing 108253 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink filesystem 00:05 ( SUCCES )
run simulation 00:02 ( SUCCES )
ntfsresize -P --force --force /dev/sda3 -s 97921958399 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 119128715776 bytes (119129 MB)
Current device size: 119128719360 bytes (119129 MB)
New volume size : 97921954304 bytes (97922 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (9,1%)
Collecting resizing constraints ...
Needed relocations : 0 (0 MB)
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 ...
The read-only test run ended successfully.
real resize 00:03 ( SUCCES )
ntfsresize -P --force --force /dev/sda3 -s 97921958399
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 119128715776 bytes (119129 MB)
Current device size: 119128719360 bytes (119129 MB)
New volume size : 97921954304 bytes (97922 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (9,1%)
Collecting resizing constraints ...
Needed relocations : 0 (0 MB)
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/sda3'.
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.
shrink partition from 110.95 GiB to 91.20 GiB 00:01 ( SUCCES )
old start: 255721472
old end: 488394751
old size: 232673280 (110.95 GiB)
new start: 255721472
new end: 446975296
new size: 191253825 (91.20 GiB)
check filesystem on /dev/sda3 for errors and (if possible) fix them 00:00 ( SUCCES )
ntfsresize -P -i -f -v /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (11,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3222 MB 0
Multi-Record : 12482 MB 43
$MFTMirr : 59565 MB 1
Ordinary : 59569 MB 10
You might resize at 10875101184 bytes or 10876 MB (freeing 87046 MB).
Please make a test run using both the -n and -s options before real resizing!
grow filesystem to fill the partition 00:01 ( SUCCES )
run simulation 00:00 ( SUCCES )
ntfsresize -P --force --force /dev/sda3 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
New volume size : 97921954304 bytes (97922 MB)
Nothing to do: NTFS volume size is already OK.
real resize 00:01 ( SUCCES )
ntfsresize -P --force --force /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
New volume size : 97921954304 bytes (97922 MB)
Nothing to do: NTFS volume size is already OK.
calculate new size and position of /dev/sda3 00:00 ( SUCCES )
requested start: 255722670
requested end: 446976494
requested size: 191253825 (91.20 GiB)
new start: 255722670
new end: 446976494
new size: 191253825 (91.20 GiB)
check filesystem on /dev/sda3 for errors and (if possible) fix them 00:00 ( SUCCES )
ntfsresize -P -i -f -v /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (11,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3222 MB 0
Multi-Record : 12482 MB 43
$MFTMirr : 59565 MB 1
Ordinary : 59569 MB 10
You might resize at 10875101184 bytes or 10876 MB (freeing 87046 MB).
Please make a test run using both the -n and -s options before real resizing!
move filesystem to the right 39:17 ( ERROR )
perform readonly test 39:17 ( ERROR )
using internal algorithm
read 191253825 sectors
finding optimal blocksize
read 32768 sectors using a blocksize of 128 sectors 00:02 ( SUCCES )
32768 of 32768 read
1.51539 seconds
read 32768 sectors using a blocksize of 256 sectors 00:01 ( SUCCES )
32768 of 32768 read
1.24812 seconds
read 32768 sectors using a blocksize of 512 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.973856 seconds
read 32768 sectors using a blocksize of 1024 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.67575 seconds
read 32768 sectors using a blocksize of 2048 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.598491 seconds
read 32768 sectors using a blocksize of 4096 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.567328 seconds
read 32768 sectors using a blocksize of 8192 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.513138 seconds
read 32768 sectors using a blocksize of 16384 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.523793 seconds
optimal blocksize is 8192 sectors (4.00 MiB)
read 190991681 sectors using a blocksize of 8192 sectors 39:10 ( ERROR )
178277697 of 190991681 read
Error while reading block at sector 268427264
178539841 sectors read
libparted messages ( INFO )
Input/output error during read on /dev/sda
========================================
nonostatnte ci sia stato questo errore mi ha creato lo stesso dello spazio vuoto:
Partition FileSystem Label Size USED UNUSED
/dev/sda1 ntfs PQSERVICE 10.74 GiB 9.10 GiB 1.64 GiB
/dev/sda2 ntfs ACER 111.20 GiB 42.04 GiB 67.18 GiB <--(qui cè vista VISTA)
/dev/sda3 ntfs 91.20 GiB 10.13 Gib 81.07 GiB
Unlocated 19.75
però se provo a mettere lo spazio vuoto in Ubuntu (/dev/sda1) o in qualsiasi partizione mi ridà lo stesso errore:
178277697 of 190991681 read
Error while reading block at sector 268427264
178539841 sectors read
libparted messages ( INFO )
Input/output error during read on /dev/sda
e come se ormai l'avessi persi i 19.75 GiB non riesco a metterli in nessuna partizione, ed il mio scopo era solo di allargare la partizione di Ubuntu.
Come devo fare?
Vi ringrazio in anticipo per qualsiasi aiuto.
Ho un problema con gparted, vi spiego il problema: (premetto che non sono molto pratico in queste cose)
Da Vista ho installato Ubuntu 8.04 su una delle mie partizioni, prima dell'installazione avevo questa 2 partizioni:
FileSystem Label Size USED UNUSED
ntfs ACER 111.20 GiB 42.04 GiB 67.18 GiB <--(qui cè vista VISTA)
ntfs 110.95 GiB 0 Gib 0 GiB
dove in quella da 110.95 GiB ho installato Ubuntu 8.04 dandogli 10.74 GiB , dopo l'installazione mi ha creato una nuova partizione ntfs PQSERVICE di 10.74 GiB, dopo un pò di mesi mi si è riempita la partizione di Ubuntu ed è qui che ho usato Gparted, prima di dirvi cosa ho fatto con Gparted vi mostro com'erano le partizioni:
Partition FileSystem Label Size USED UNUSED
/dev/sda1 ntfs PQSERVICE 10.74 GiB 9.10 GiB 1.64 GiB
/dev/sda2 ntfs ACER 111.20 GiB 42.04 GiB 67.18 GiB <--(qui cè vista VISTA)
/dev/sda3 ntfs 110.95 GiB 10.13 Gib 110.82 GiB
essendo la partizione di Ubuntu (/dev/sda1) quasi piena ho cercato con Gparted di aumentarla 19.75 GiB diminuendo la partizione /dev/sda3 di 19.75 GiB semplicemente restringendola con il mouse verso sinistra.
Ma durante il restringimento mi ha dato questo errore:
Shrink /dev/sda3 from 110.95 GiB to 91.20 GiB 39:25 ( ERROR )
calibrate /dev/sda3 00:00 ( SUCCES )
path: /dev/sda3
start: 255721472
end: 488394751
size: 232673280 (110.95 GiB)
calculate new size and position of /dev/sda3 00:00 ( SUCCES )
requested start: 255722670
requested end: 446976494
requested size: 191253825 (91.20 GiB)
new start: 255722670
new end: 446976494
new size: 191253825 (91.20 GiB)
check filesystem on /dev/sda3 for errors and (if possible) fix them 00:01 ( SUCCES )
ntfsresize -P -i -f -v /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 119128715776 bytes (119129 MB)
Current device size: 119128719360 bytes (119129 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (9,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3222 MB 0
Multi-Record : 12482 MB 43
$MFTMirr : 59565 MB 1
Ordinary : 59569 MB 10
You might resize at 10875748352 bytes or 10876 MB (freeing 108253 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink filesystem 00:05 ( SUCCES )
run simulation 00:02 ( SUCCES )
ntfsresize -P --force --force /dev/sda3 -s 97921958399 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 119128715776 bytes (119129 MB)
Current device size: 119128719360 bytes (119129 MB)
New volume size : 97921954304 bytes (97922 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (9,1%)
Collecting resizing constraints ...
Needed relocations : 0 (0 MB)
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 ...
The read-only test run ended successfully.
real resize 00:03 ( SUCCES )
ntfsresize -P --force --force /dev/sda3 -s 97921958399
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 119128715776 bytes (119129 MB)
Current device size: 119128719360 bytes (119129 MB)
New volume size : 97921954304 bytes (97922 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (9,1%)
Collecting resizing constraints ...
Needed relocations : 0 (0 MB)
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/sda3'.
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.
shrink partition from 110.95 GiB to 91.20 GiB 00:01 ( SUCCES )
old start: 255721472
old end: 488394751
old size: 232673280 (110.95 GiB)
new start: 255721472
new end: 446975296
new size: 191253825 (91.20 GiB)
check filesystem on /dev/sda3 for errors and (if possible) fix them 00:00 ( SUCCES )
ntfsresize -P -i -f -v /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (11,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3222 MB 0
Multi-Record : 12482 MB 43
$MFTMirr : 59565 MB 1
Ordinary : 59569 MB 10
You might resize at 10875101184 bytes or 10876 MB (freeing 87046 MB).
Please make a test run using both the -n and -s options before real resizing!
grow filesystem to fill the partition 00:01 ( SUCCES )
run simulation 00:00 ( SUCCES )
ntfsresize -P --force --force /dev/sda3 --no-action
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
New volume size : 97921954304 bytes (97922 MB)
Nothing to do: NTFS volume size is already OK.
real resize 00:01 ( SUCCES )
ntfsresize -P --force --force /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
New volume size : 97921954304 bytes (97922 MB)
Nothing to do: NTFS volume size is already OK.
calculate new size and position of /dev/sda3 00:00 ( SUCCES )
requested start: 255722670
requested end: 446976494
requested size: 191253825 (91.20 GiB)
new start: 255722670
new end: 446976494
new size: 191253825 (91.20 GiB)
check filesystem on /dev/sda3 for errors and (if possible) fix them 00:00 ( SUCCES )
ntfsresize -P -i -f -v /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 97921954304 bytes (97922 MB)
Current device size: 97921958400 bytes (97922 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 10876 MB (11,1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3222 MB 0
Multi-Record : 12482 MB 43
$MFTMirr : 59565 MB 1
Ordinary : 59569 MB 10
You might resize at 10875101184 bytes or 10876 MB (freeing 87046 MB).
Please make a test run using both the -n and -s options before real resizing!
move filesystem to the right 39:17 ( ERROR )
perform readonly test 39:17 ( ERROR )
using internal algorithm
read 191253825 sectors
finding optimal blocksize
read 32768 sectors using a blocksize of 128 sectors 00:02 ( SUCCES )
32768 of 32768 read
1.51539 seconds
read 32768 sectors using a blocksize of 256 sectors 00:01 ( SUCCES )
32768 of 32768 read
1.24812 seconds
read 32768 sectors using a blocksize of 512 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.973856 seconds
read 32768 sectors using a blocksize of 1024 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.67575 seconds
read 32768 sectors using a blocksize of 2048 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.598491 seconds
read 32768 sectors using a blocksize of 4096 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.567328 seconds
read 32768 sectors using a blocksize of 8192 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.513138 seconds
read 32768 sectors using a blocksize of 16384 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.523793 seconds
optimal blocksize is 8192 sectors (4.00 MiB)
read 190991681 sectors using a blocksize of 8192 sectors 39:10 ( ERROR )
178277697 of 190991681 read
Error while reading block at sector 268427264
178539841 sectors read
libparted messages ( INFO )
Input/output error during read on /dev/sda
========================================
nonostatnte ci sia stato questo errore mi ha creato lo stesso dello spazio vuoto:
Partition FileSystem Label Size USED UNUSED
/dev/sda1 ntfs PQSERVICE 10.74 GiB 9.10 GiB 1.64 GiB
/dev/sda2 ntfs ACER 111.20 GiB 42.04 GiB 67.18 GiB <--(qui cè vista VISTA)
/dev/sda3 ntfs 91.20 GiB 10.13 Gib 81.07 GiB
Unlocated 19.75
però se provo a mettere lo spazio vuoto in Ubuntu (/dev/sda1) o in qualsiasi partizione mi ridà lo stesso errore:
178277697 of 190991681 read
Error while reading block at sector 268427264
178539841 sectors read
libparted messages ( INFO )
Input/output error during read on /dev/sda
e come se ormai l'avessi persi i 19.75 GiB non riesco a metterli in nessuna partizione, ed il mio scopo era solo di allargare la partizione di Ubuntu.
Come devo fare?
Vi ringrazio in anticipo per qualsiasi aiuto.