Aumentare Partizione Ubuntu 8.04 con Gparted

Riconoscimento, installazione e configurazione delle periferiche.
baronio8
Prode Principiante
Messaggi: 4
Iscrizione: lunedì 4 agosto 2008, 12:59

Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da baronio8 »

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.
Avatar utente
mame58
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1080
Iscrizione: venerdì 9 novembre 2007, 15:36

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da mame58 »

hai provato a riformatta la partizione, magari in ext3 ?
"..per capire il problema bisogna conoscere la storia..." (O.Corretti, filosofo-meccanico)
"..l'informatica l'hanno inventata per rompermi i co...oni a me.." (P.Saponara, filosofo-programmatore)
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da patel »

baronio8 ha scritto:
Da Vista ho installato Ubuntu 8.04 su una delle mie partizioni,
mi spieghi meglio cosa intendi col "da Vista", hai bootato da Cd o hai usato Wubi?
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
baronio8
Prode Principiante
Messaggi: 4
Iscrizione: lunedì 4 agosto 2008, 12:59

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da baronio8 »

vi ringrazio per le risposte ragazzi!

risponderò uno alla volta prima però devo dirvi che nel topic ho sbagliato una cosa (solo adesso me ne sono accorto scusatemi) la partizione /dev/sda1 PQSERVICE non c'è Ubuntu ma è solo lo spazio virtuale che ho usato per la VirtualBox, Ubuntu invece è sulla /dev/sda3, adesso per farmi più chiarezza ho cancellato la /dev/sda1 dove c'era la macchina virtuale e quindi ho nel seguente ordine:

Partition    FileSystem    Label          Size              USED        UNUSED

/dev/sda2      ntfs          ACER        111.20 GiB      42.04 GiB    67.18 GiB  <--(qui cè vista VISTA)
Unlocated                                      10.74 GiB
dev/sda3      ntfs                          91.20 GiB      10.13 Gib      81.07 GiB
Unlocated                                      19.75

ho provato anche ad unire i due spazi vuoti (10.74+19.75) spostando la partizione dev/sda3 verso sinistra ma dopo circa 30 minuti mi da ancora errore, in pratica quello che cerco di fare e rimettere le cose come stavano( mettere 10.74+19.75 in dev/sda3 ) ed allargare lo spazio per Ubuntu che si trova in dev/sda3.

per quanto riguarda mame58:a quale partizione ti riferisci? se è la dev/sda3  non posso formattarla perchè dentro c'è ubuntu.

per patel: bootato? forse sarà questo (scusami ma non sono molto pratico), ti spiego cosa ho fatto...stavo su vista ho inserito il cd di Ubuntu 8.04 ed ho seguito l'installazione di Ubuntu ed ho preferito metterlo in dev/sda3 dandogli soli 10 GiB.
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da patel »

per fare una installazione normale, in una vera partizione, occorre avviare il pc da cd e non installare da Vista.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
baronio8
Prode Principiante
Messaggi: 4
Iscrizione: lunedì 4 agosto 2008, 12:59

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da baronio8 »

patel ha scritto: per fare una installazione normale, in una vera partizione, occorre avviare il pc da cd e non installare da Vista.
quindi adesso non posso più aumentare lo spazio di ubuntu senza rinstallarlo?
nimo
Prode Principiante
Messaggi: 11
Iscrizione: domenica 21 gennaio 2007, 18:45

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da nimo »

Ma a quanto ho capito non erano contigue le partizioni..se non c'è modo di poter allargare lo spazio in modo contiguo, mi spiace ma devi fare un casino..
dovresti provare copiare root su un'altra partizione e poi cambiare le tabelle dell'mbr
baronio8
Prode Principiante
Messaggi: 4
Iscrizione: lunedì 4 agosto 2008, 12:59

Re: Aumentare Partizione Ubuntu 8.04 con Gparted

Messaggio da baronio8 »

Ragà alla fine non volevo giungere a questo ma ci stavo perdendo troppo tempo e allora ho deciso di riformattare la partizione ntfs dove c'era Ubuntu e di rinstallare ubuntu direttamente all'avvio del pc e non da vista così adesso riesco a vedere le partizioni swap e ext3!

Grazie cmq per l'aiuto!
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti