LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-07-2010, 09:22 AM   #1
flik shen
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
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
 
Old 06-08-2010, 01:52 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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.
 
Old 06-08-2010, 02:13 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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"
 
Old 06-12-2010, 12:30 PM   #4
flik shen
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73 View Post
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
 
Old 06-12-2010, 12:48 PM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.
 
Old 06-15-2010, 12:44 PM   #6
flik shen
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
upgrade



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to upgrade to Ubuntu 10.04 LTS Lucid Lynx LXer Syndicated Linux News 0 04-06-2010 10:31 PM
LXer: Why Dell Should Upgrade Past Ubuntu 8.04 LTS LXer Syndicated Linux News 0 04-16-2009 09:12 PM
LXer: Why Dell Should Upgrade Past Ubuntu 8.04 LTS LXer Syndicated Linux News 0 04-16-2009 07:01 PM
LXer: I update Ubuntu 6.06 LTS and 8.04 LTS ... one has SSH issues, one does not LXer Syndicated Linux News 0 05-20-2008 07:30 AM
Menu and Networking Issues after Upgrade to Ubuntu 6.06 LTS secondvijai007 Linux - Software 1 07-14-2006 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration