LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts (https://www.linuxquestions.org/questions/ubuntu-63/no-enough-space-error-when-trying-upgrade-ubuntu-from-8-04-lts-to-10-04-lts-812665/)

flik shen 06-07-2010 09:22 AM

No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts
 
Dear all,

When I try to upgrade my ubuntu studio from 8.04 LTS to 10.04 LTS, exception as following occurs and upgrade interrupted.
Insufficient disk space.
4153M free space under root directory "/" is required for upgrade at least. Please use command "sudo apt-get clean" to clean up temporary package for previous installation.

I install ubuntu under RAID 1 and disk space information is as below.
I have much space under "/home" directory.
How could I use those space or move some space to root directory?
/dev/mapper/pdc_dgbbagea1
9698348 7066748 2142824 77% /
varrun 1892232 120 1892112 1% /var/run
varlock 1892232 0 1892232 0% /var/lock
udev 1892232 72 1892160 1% /dev
devshm 1892232 84 1892148 1% /dev/shm
lrm 1892232 44984 1847248 3% /lib/modules/2.6.24-23-generic/volatile
/dev/mapper/pdc_dgbbagea4
945587172 93526716 804405644 11% /home
/dev/mapper/pdc_dgbbagea3
9698380 1363364 7846240 15% /opt
gvfs-fuse-daemon 9698348 7066748 2142824 77% /home/flik/.gvfs

Thanks and best regards,
Flik

jay73 06-08-2010 01:52 AM

Just 2GB for a / partition? No wonder the thing is complaining.

If you use ext3 or ext4, you could use gparted and do some resizing. Or you could leave / alone and use gparted to split your home partition into two - one partition of, say, 5-6GB for /usr and the rest for /home - copy the files from /usr to your new usr partition and then edit /etc/fstab. The first approach would be the more convenient one, though.
In either case, you should copy/move the files in your home directory somewhere else to prevent data loss.

syg00 06-08-2010 02:13 AM

I would suspect you need to actually grow the root itself - regardless of mounts likes /usr. The installer is probably too stupid to work it out (case in point: Fedora 13 recommend half a Gig for /boot :eek:).
You need to work out where the partitions are (physically) before you can plan how to move space around. Try "sudo fdisk -l"

flik shen 06-12-2010 12:30 PM

Quote:

Originally Posted by jay73 (Post 3996249)
Just 2GB for a / partition? No wonder the thing is complaining.

If you use ext3 or ext4, you could use gparted and do some resizing. Or you could leave / alone and use gparted to split your home partition into two - one partition of, say, 5-6GB for /usr and the rest for /home - copy the files from /usr to your new usr partition and then edit /etc/fstab. The first approach would be the more convenient one, though.
In either case, you should copy/move the files in your home directory somewhere else to prevent data loss.

Hi,

It seems a bit complex, I build all partitions on RAID10.
I could not adjust partition on RAID via "gparted".

Could you please give some advice to me.

Thanks and best regards,
Flik

snowday 06-12-2010 12:48 PM

I would recommend backing up your data to an external drive and doing a fresh reinstall of 10.04. This is the easiest way to take advantage of new features such as Grub2 and the ext4 filesystem.

flik shen 06-15-2010 12:44 PM

Thanks for all your kindly suggestion.
I have given up to upgrade Ubuntu.
And I use Live CD to format the root partition since alternative CD could not format it properly.
It works fine to me now.


All times are GMT -5. The time now is 07:30 AM.