PDA

View Full Version : [ubuntu] cant upgrade, says not enough disk space



insanity99
June 1st, 2010, 01:29 PM
i want to upgrade to ubintu 9.10 but it wont let me, after a few progress bars i get a message saying this 'The upgrade is now aborted. The upgrade needs a total of 3850M free space on disk '/'. Please free at least an additional 2469M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.'

here is what i get after typig df -h

Filesystem Size Used Avail Use% Mounted on
/host/ubuntu/disks/root.disk
13G 11G 1.4G 90% /
tmpfs 2.0G 0 2.0G 0% /lib/init/rw
varrun 2.0G 224K 2.0G 1% /var/run
varlock 2.0G 0 2.0G 0% /var/lock
udev 2.0G 144K 2.0G 1% /dev
tmpfs 2.0G 120K 2.0G 1% /dev/shm
/dev/sda1 932G 821G 112G 89% /host
lrm 2.0G 2.5M 2.0G 1% /lib/modules/2.6.28-15-generic/volatile


any idea why it is saying to do this?

thanks.

EDIT: oh and i am running through wubi.

MooPi
June 1st, 2010, 01:36 PM
Your root partition looks small at only 13 gig with 90% in use. That is why you're out of space. You will need to increase the size of your partition or clear out dead weight on the partition(old useless files). Thanks for the edit. This link explains how to resize your wubi install. https://wiki.ubuntu.com/WubiGuide#head-c1b3095de0e43733f9336427bb90d7ef322de99c

insanity99
June 1st, 2010, 01:55 PM
Your root partition looks small at only 13 gig with 90% in use. That is why you're out of space. You will need to increase the size of your partition or clear out dead weight on the partition(old useless files). Thanks for the edit. This link explains how to resize your wubi install. https://wiki.ubuntu.com/WubiGuide#head-c1b3095de0e43733f9336427bb90d7ef322de99c

ok so should i do this?

Download wubi-add-virtual-disk, open a terminal and run:

sudo sh wubi-add-virtual-disk /home 15000

Where the first argument is the directory to move to a new dedicated disk, and the second argument is the size in MB.

You should now reboot. If you are happy with the result, you can now remove /home.backup. To undo the changes remove /home, copy rename /home.backup to /home and remove the /home line in /etc/fstab.

Note that contrary to previous information, this script is not suitable for moving /usr - experienced users may be able to do this manually, at own risk, following a process similar to that outlined in the file. (Do not rename /usr until the very last moment, as rsync is installed there.)

is the size i type in the argument the new size i want the disk to be or how much i want to add to the size?

MooPi
June 1st, 2010, 01:58 PM
If you want 15 gigs then 15000 approx. I would suggest a larger size due to your current status. This procedure moves the entire wubi install to a larger space so this is the final size and not an addition.

insanity99
June 1st, 2010, 02:01 PM
so since my current capacity is 224.6GB i should change it to about 250GB (256000mb)?

MooPi
June 1st, 2010, 02:06 PM
That would consume your entire hard drive. Do you really want to do that ?

insanity99
June 1st, 2010, 02:08 PM
i dont know what to do, im confused to be honest. would it consume my HDD? i have a 1TB hard drive.

philinux
June 1st, 2010, 02:10 PM
How much space do you think you will use for your wubi install?

MooPi
June 1st, 2010, 02:12 PM
It would use the last remaing space available. I don't know your needs or how much you use Ubuntu but would suggest a smaller size. If your really interested in using Ubuntu on a regular basis then maybe you need a regular install instead of the virtual wubi install. Baby steps until your ready for the big jump is my suggestion.

insanity99
June 1st, 2010, 02:15 PM
so if i do that i want have space left on my hard drive for windows? i need space to install my software on windows, i use a lot of games and software for windows and need space to install more.

philinux
June 1st, 2010, 02:17 PM
so if i do that i want have space left on my hard drive for windows? i need space to install my software on windows, i use a lot of games and software for windows and need space to install more.

Give wubi 50 gig for now.

insanity99
June 1st, 2010, 02:20 PM
but wont that cause a problem as i am using more space than that currently?

philinux
June 1st, 2010, 02:30 PM
but wont that cause a problem as i am using more space than that currently?

Missed the 2 out meant 250.

insanity99
June 1st, 2010, 02:34 PM
ok, will this take a long time?

EDIT: i got this error message
'neil@ubuntu:~$ sudo sh wubi-add-virtual-disk /home 256000
Not enough free space (104733 MB < 256000 MB), aborting.'

philinux
June 1st, 2010, 02:50 PM
ok, will this take a long time?

Too be honest I've seen a lot of borked windows installs mentioned on the forums due to wubi. Mainly due to unclean shutdowns. If you really like ubuntu I would do a proper dual boot install.

I see wubi as a way to test out ubuntu before doing a proper install, not as a long term thing. Since the livecd is too sluggish for this purpose.

Backup, backup and backup which ever path you choose.

insanity99
June 1st, 2010, 02:54 PM
yeah i think i will do this, wanted to do it for a while now. i have never done partitioning though, the issue is i have an awful lot of stuff to backup, 2X1TB HDD's, both used at least 80%. to backup this would require lots of free space and a LOT of time right?

philinux
June 1st, 2010, 03:04 PM
yeah i think i will do this, wanted to do it for a while now. i have never done partitioning though, the issue is i have an awful lot of stuff to backup, 2X1TB HDD's, both used at least 80%. to backup this would require lots of free space and a LOT of time right?

Yes but it's your important data. Hard drives do and will fail.

I only backup the important stuff. A bit of housekeeping first to get rid of unwanted stuff.

If you haven't see this have a good read.

http://www.psychocats.net/ubuntu/index

insanity99
June 1st, 2010, 03:20 PM
ok thanks for all the help, i am going to need to leave this for a day when i have a lot of free time on my hand.

thanks again for the help.

insanity99
June 1st, 2010, 04:34 PM
i decided to completely remove ubuntu and make a fresh install. it was a mess anyway, i booted windows and uninstalled ubuntu in add or remove but it hasn't seemed to free up the 230GB(odd) of space that the virtual drive was. is the virtual drive still there? if so where is it and how do i delete it?

insanity99
June 1st, 2010, 10:32 PM
can anyone help me with this?