0

I've recently moved from windows to Ubuntu. I was learning Android App Developing with Android Studio.

I, stupidly enough, gave my Ubuntu partition only 20GiB. But Android Studio takes a huge amount of space, which clearly, this drive can't provide.

So,I must add more space to it. Question is, is there any way to do so? If yes, then how?

Rafid Haque
  • 29
  • 1
  • 1
  • 7
  • Could you add the output of this command: `df -h`? It will help us to know how your disk is formatted. – Danibix Apr 23 '16 at 14:56
  • 1
    Possible duplicate of [How to resize partitions?](http://askubuntu.com/questions/126153/how-to-resize-partitions) – Pilot6 Apr 28 '16 at 07:42

1 Answers1

0

Are you wanting to change your partition sizes (say shrinking your / partition then growing your /home partition)?

If so use gparted, which you can install by running:

sudo apt-get install gparted && gksudo gparted

If you are wanting to add another hard disk and move your data from /home to this drive, it's about the same.

In gparted highlight the partition you wish to move and select copy, then select the disk you wish to move the partition to and paste it.

Then grow the partition to fill the rest of the drive and execute (I think it's called run, looks like an enter symbol)

Mahesh
  • 12,488
  • 4
  • 44
  • 58