Jul 7, 2013

Ubuntu partition - increase disk space from command line

Ah - sunny weekend day. Must mean time to hole up and tinker with esoteric computer setup issues. When I setup Ubuntu from my Windows machine a while back, I only partitioned 20GB, and turns out, that was short sighted.  (It was because I initially expected to keep using Windows primarily, and use Ubuntu sparingly for development. It turns out I have basically stopped using Windows ... many reasons for this.)  I'd been coming up on 90%+ usage, so tried looking up how to increase the partition size - to no avail.  Using a tool called gparted turned out not to be an option, because I couldn't unlock the disk to the host.

I found this awesome post with command line instructions for setting aside, then freeing up the disk space from the host.  And then magically saw the % usage re-allocated to my linux machine. Joy!

Use% going down as more disk gets allocated to Ubuntu

You can use "df -Th" to see the disk usage.  Bye, bye, Windows!

By the way, if you're still a PC user, I highly recommend you try installing Ubuntu on your machine as well.

If you want to get more comfortable with your command line, check out this great book.

The Linux Command Line: A Complete Introduction

For More

This wasn't the most technical post, but it helped me get my head around updating Ubuntu partition on my Windows machine.  This blog is focused on technical product management, and I enjoy writing about personal growth at http://betterandhigher.com/.  Check out and please subscribe!

1 comment:

Anonymous said...

Wonderful blog! I found it while surfing around on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?
I've been trying for a while but I never seem to get there! Cheers

My weblog ... solid fuel wood burning stoves (demandenet.com)