How to regrow the Ubuntu Linux disk size from 8 GB to 20 GB without losing the data ?

Hi All,

I wonder if this is possible to extend or regrow the Linux hard disk partition from 8 GB to 20 GB without losing the existing data on the partition ?

at the moment this Ubuntu Linux is deployed on top of VMware and I've just regrow the hard drive from 8 GB into 20 GB but can't see the effect immediately.

can anyone suggest how to do this without losing the data ?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jjozAuthor Commented:
and I found some strange error message when i do the fdisk -l ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
that's quite normal, I wouldn't worry about it.

From this output the disk has been extended to 20GB.

But what you need to do is use Gparted

to resize the partition /dev/sda1, but first you'll need to move


down the disk, to give you space to re-size /dev/sda1

have a look at this guide here
jjozAuthor Commented:
hm.. so it is more complex than I'd thought before, because in Windows vista and above the tool is builtin and easy to use without losing much data.

let me try that.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

gparted wont let u loose any data.
and also it is available in the software centre.
jjozAuthor Commented:
thanks man, unfortunately this is a server linux so i can't see the nice GUI :-|
Ok I searched for ways that we can work on gparted in terminal
But it says it is a gui component
However cant u try it out with the live CD
Just an idea.
Since it is a server i know it won't be the best idea to restart the machine and boot with the live CD

And I feel like u are new to Experts Exchange.
I am totally ok with ur comment. But people here won't appreciate it. Try to use professional Language here much as possible. I am talking with my own experience.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Shut the server down, which may require scheduled downtime, and boot from LiveCD with Gparted, and follow the above guides.

No it's not easy. Storage sizes of disks should be planned ahead.
jjozAuthor Commented:
Thanks mate !
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.