Need help using fdisk to expand a partition / filesystem.

I have a disk that has one partition on it that covers half the disk - the other half is free and has not been partitioned. Evident ally you can use fidsk to expand the partition to cover the entire disk and then grow the filesystem to cover the entire disk. It goes something like:

Open the disk in fdisk
Delete the exsistion partition
Create a new one that covers the entrie partition
write out the partition
quit fdisk and then grow the fifle system.

Can any of this be done mounted with ext3?
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.

Dale HarrisProfessional Services EngineerCommented:
Have you tried GParted?

Bootable CDs are available.  I used it when I had an issue.

ext3 is in the list for available formats to mess with.


Dale Harris
ThaidogAuthor Commented:
This is for a server with no gui.... I really need to know the fdisk way in this particular case.
Dale HarrisProfessional Services EngineerCommented:
Well if your server has no gui, you can still use GParted as it's a separate boot environment.

If you use FDisk and delete the existing partition, you will lose all of your data.

Dale Harris
noxchoProduct ManagerCommented:
Parted Magic
This tool will let you resize the partition in few clicks.

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
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.