Pagina 1 di 2
ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:00
da festyle
ciao a tutti...
sul mio pc ho in dual boot win xp e ubuntu 9.04 (prima avevo l'8.04...)...il problema è che ho fatto un pò di casini nell'installazione credo e la partizione di ubuntu è piccolissima tanto che il gestore di aggiornamenti non installa gli aggiornamenti per mancanza di spazio..mi da questo messaggio qui
'
Codice: Seleziona tutto
avanzamento necessita di 73,0M di spazio libero sul disco «/»: liberare almeno altri 73,0M di spazio sul disco «/». Svuotare il cestino e rimuovere i pacchetti temporanei di precedenti installazioni con il comando «sudo apt-get clean».
ho provato a ridimensionare cn GParted da cdlive ma non ci sono riuscito...... >:( >:( >:( >:(
mi date una mano pleaseee?!? :(
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:02
da gianmpu
Innanzitutto dai dal terminale il comando che ti viene suggerito. Poi posta il risultato dei comandi
sudo fdisk -l (è una elle minuscola)
df -h
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:07
da festyle
allora dando il primo comando viene
Codice: Seleziona tutto
Disco /dev/sda: 500.1 GB, 500107862016 byte
255 testine, 63 settori/tracce, 60801 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x001a001a
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sda2 2551 60801 467901157+ f W95 Esteso (LBA)
/dev/sda5 2551 3111 4506201 b W95 FAT32
/dev/sda6 20791 21544 6056473+ 82 Linux swap / Solaris
/dev/sda7 21545 40212 149950678+ b W95 FAT32
/dev/sda8 40539 59200 149902483+ b W95 FAT32
/dev/sda9 59201 59492 2345458+ 83 Linux
/dev/sda10 59505 59526 176683+ 82 Linux swap / Solaris
/dev/sda11 59527 60801 10241406 b W95 FAT32
/dev/sda12 3112 10183 56805808+ 83 Linux
Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
federico@federico-desktop:~$
con il secondo
Codice: Seleziona tutto
File system Dim. Usati Disp. Uso% Montato su
/dev/sda9 2,3G 2,2G 0 100% /
tmpfs 994M 0 994M 0% /lib/init/rw
varrun 994M 104K 994M 1% /var/run
varlock 994M 0 994M 0% /var/lock
udev 994M 172K 994M 1% /dev
tmpfs 994M 504K 993M 1% /dev/shm
lrm 994M 2,7M 991M 1% /lib/modules/2.6.28-11-generic/volatile
overflow 1,0M 20K 1004K 2% /tmp
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:15
da gianmpu
Ho notato che hai due distribuzioni linux installate. E' così? In questo caso puoi risparmiare spazio creando una sola swap invece di due.
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:43
da festyle
gianmpu ha scritto:
Ho notato che hai due distribuzioni linux installate. E' così? In questo caso puoi risparmiare spazio creando una sola swap invece di due.
guarda non sono molto esperto quindi non so se ho due distribuzioni linux installate....ti posso dire che prima avevo installato hardy...forse è per quello.....come faccio a creare un unica swap?!?
altro problema....adesso quando da GRUB seleziono ubuntu 9.04 non parte perchè non ce spazio sul device e un errore di GDM se non ricordo male...... :-\
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:48
da gianmpu
La situazione delle tue partizioni è un po' incasinata. Prova a spiegarmi cosa hai installato nel corso del tempo perchè probabilmente alcune partizioni si possono eliminare e recuperare così spazio su disco
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:56
da festyle
allora all'inizio c'era solo win xp....poi ho messo ubuntu 8.04 hardy....e l'altro ieri ho installato pure 9.04 jaunty....dopodichè ho rimosso l'8.04 cancellando la partizione dove era installato....
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 13:59
da gianmpu
Come hai installato ubuntu hardy. Da windows o facendo il boot da cd e installando da li?
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 14:09
da festyle
boot da cd e installando da li...

Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 14:29
da gianmpu
Posta il contenuto del file /boot/grub/menu.lst ed il risultato dei comandi
sudo vol_id /dev/sda9
sudo vol_id /dev/sda12
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 14:30
da festyle
ma lo posso fare anche da cd live di jaunty?!? perchè adesso non parte più.... >:(
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 14:38
da gianmpu
Ok. Fai partire la live e intanto dai i due comandi. Ma quando fai il boot se premi esc per vedere il menu di grub, quali sistemi operativi ti dice che puoi far partire?
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 14:52
da festyle
nell'elenco dei sistemi operativi ce sia jaunty che win xp...però se seleziono jaunty e do invio non parte per mancanza di spazio sul device dice...
comunque grazie mille per l'auito che mi stai dando! (b2b)
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 14:54
da gianmpu
Di nulla. Posta anche il risultato dei due comandi.

Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 15:01
da festyle
allora..
sudo vol_id /dev/sda9:
D_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=b94fded0-654b-4d67-8182-c1f80b7f94f0
ID_FS_UUID_ENC=b94fded0-654b-4d67-8182-c1f80b7f94f0
ID_FS_LABEL=
ID_FS_LABEL_ENC=
sudo vol_id /dev/sda12:
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=b94fded0-654b-4d67-8182-c1f80b7f94f0
ID_FS_UUID_ENC=b94fded0-654b-4d67-8182-c1f80b7f94f0
ID_FS_LABEL=
ID_FS_LABEL_ENC=
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 18:40
da festyle
nessuno ha altri suggerimenti per risolvere il problema?!? >:(
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 19:40
da gnomo56
Vai col CD e da Sistema>Amministratore>Editor di partizioni, salva i dati che avevi.
Poi cancella tutte le partizioni non contenenti il system di windows e reinstalla il 9.04 dando il comando partizionamento manuale.
Re: ridimensionare partizione ubuntu 9.04
Inviato: sabato 25 aprile 2009, 21:46
da gianmpu
Fai partire la live. Poi da terminale dai i comandi
sudo mkdir /media/disk
sudo mount /dev/sda9 /media/disk
sudo gedit /media/disk/boot/grub/menu.lst
Poi posta il contenuto del file.
Re: ridimensionare partizione ubuntu 9.04
Inviato: domenica 26 aprile 2009, 14:23
da festyle
questo è tutto il file
Codice: Seleziona tutto
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 20
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=b94fded0-654b-4d67-8182-c1f80b7f94f0 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=b94fded0-654b-4d67-8182-c1f80b7f94f0
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid b94fded0-654b-4d67-8182-c1f80b7f94f0
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=b94fded0-654b-4d67-8182-c1f80b7f94f0 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid b94fded0-654b-4d67-8182-c1f80b7f94f0
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=b94fded0-654b-4d67-8182-c1f80b7f94f0 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid b94fded0-654b-4d67-8182-c1f80b7f94f0
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
Re: ridimensionare partizione ubuntu 9.04
Inviato: domenica 26 aprile 2009, 14:25
da festyle
questo è lo screenshot di GParted....cosas dovrei cancellare??