Some time ago i reinstalled windows, formating and deleting every partition. I then made 3 partitions:
One only for Windows OS (about 25GB)
One for Ubuntu OS (about 25GB, if i remember corectly 10GB for swap memory and 15GB as an ext4 partition) (not sure if it was that, hope I am not wrong) and like 200GB for all the other stuff.
Recently I got a message that i am running out of disk space.
My question is: is there a way to resize the 200GB partition and add more space for the Ubuntu partition?
The program
baobab
, installed by default, can be an helpful tool to see how much space is kept by the several stuff, and maybe delete unnecessary files or move them into another partition.This could be used to free some space before you decide how to resize the partitions. So, you have:
Is the 200GB partition in ext4? Do you use that partition only for Ubuntu? If yes, you could mount your
/home
there and resize the 25GB system partition to 12-13GB.For which use you made the 15GB partition? If there is no specific use, you could merge the 200GB and the 15GB a single partition
Then, with these operation you could obtain a
/home
partition of ~227-228GBFirst I would suggest to install GParted, it's a great tool for working with partitions.
Then, in your setup, from start I see one small problem: your swap. As a guideline rule, your swap shouldn't be larger as 1.5 * your total RAM memory, but not larger then 4Gb. So, 4Gb is enough, you don't need that entire 10Gb. Then I also assume your 200Gb is NTFS and is shared by both windows and linux (win can't work with ext4). So you can also resize that storage area and reassign the space to your Ubuntu.
1) Boot the desktop CD and unmount all your hard drive partitions and swap (you can do this in gparted).
2) Delete any unwanted partitions -> apply changes.
3) Resize your partitions one at at time.
4) Fix your partition table (order) with fdisk
At the fdisk prompt type the following commands
Reboot and your partitions should look much better. Of course, backup your data first.
This document describes how to resize a Wubi virtual disk. There are two distinct techniques.
You have to boot from a live CD/USB. This won't work while running Wubi.
Backup the root.disk (not required, but a good idea)
Mount the NTFS partition that your root.disk is on (this example assumes it's
/dev/sda1
and the mountpoint is/media/win
- adjust accordingly in the following instructions):Source : Resize Wubi Disk