No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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 ).
You need to work out where the partitions are (physically) before you can plan how to move space around. Try "sudo fdisk -l"
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".
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.