LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Increasing Partition Size (https://www.linuxquestions.org/questions/ubuntu-63/increasing-partition-size-734366/)

BrianPritchard 06-20-2009 06:29 AM

Increasing Partition Size
 
I am running Ubuntu 9.24 and Mandriva on a PC. When I try to update the Ubuntu I get the following message:

The upgrade needs a total of 290M free space on disk '/'. Please free at least an additional 203M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

I have been unable to free up any space. Can I increase the size of '/', if so how do I do it?
Thanks
Brian

someone Awesome 06-20-2009 07:21 AM

use partition editor from the live cd.
it is on system=>administration=>partition editor.

BrianPritchard 06-21-2009 09:22 AM

Quote:

Originally Posted by someone Awesome (Post 3580481)
use partition editor from the live cd.
it is on system=>administration=>partition editor.

Thanks for that but I was unable to increase the size of the partition.
I have reloaded Ubuntu 9.04 (sorry about the mis-type in my original question)after freeing up some space however it has still installed in a partition of 2.33 GiB and immediately tells me I can't update because there is no space.

I have a 60GiB hard Drive with Mandriva and Ubuntu installed.
The partitions are like this:
/dev/sda1 ext3 7,81 GiB Boot
/dev/sda2 Extended 48.09 GiB
/dev/sda:linux swap 3.9 GiB
/dev/sda ext3 41.7 GiB
/dev/sda ext3 2.33 GiB
/dev/sad:linux swap 172.54 MiB

What do I have to do to make more space for the Ubuntu installation?

Brian

pixellany 06-21-2009 09:51 AM

Your partition listing is missing some details (eg several entries are "sda" when they should be sda3 sda4, etc. Please post the output of "fdisk -l" ("ell", not "1"---run this as root)

You may need to re-size some other partitions to make room.

BrianPritchard 06-21-2009 11:48 AM

Quote:

Originally Posted by pixellany (Post 3581355)
Your partition listing is missing some details (eg several entries are "sda" when they should be sda3 sda4, etc. Please post the output of "fdisk -l" ("ell", not "1"---run this as root)

You may need to re-size some other partitions to make room.

Sorry, I missed off the numbers:

The partitions are like this:
/dev/sda1 ext3 7.81 GiB Used 3.3 GiB Boot
/dev/sda2 Extended 48.09 GiB Used 48.09 GiB
/dev/sda5:linuxswap 3.9 GiB
/dev/sda6 ext3 41.7 GiB Used 326.56MiB
/dev/sda7 ext3 2.33 GiB Used 2.06 GiB
/dev/sda8:linuxswap 172.54 MiB

Brian

Opensource240 06-21-2009 10:07 PM

You need to download the gparted live cd and boot from it, as you will probably not be able to unmount it after booting from linux. I had exactly the same problem today, apparently I misunderstood the formatting slider bar, and ended up with a 2.33gb partition on my linux install.

BrianPritchard 06-22-2009 10:27 AM

Quote:

Originally Posted by Opensource240 (Post 3581854)
You need to download the gparted live cd and boot from it, as you will probably not be able to unmount it after booting from linux. I had exactly the same problem today, apparently I misunderstood the formatting slider bar, and ended up with a 2.33gb partition on my linux install.

Thanks very much. That sorted the problem; I was able to shrink SDA6 and increase SDA7.
Brian


All times are GMT -5. The time now is 03:23 AM.