Extending a Linux partition on a Cobalt RaQ 4

How can you extend a Linux partition without reinstalling the OS?  This is in regards to a Cobalt RaQ 4 server.  We have already tried Partition Magic and it fails to see the partition.
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.

Hi  RuralInstitute,

   Cobalt uses Linux OS. So you might want to try "parted".

   parted  is  a  disk  partitioning  and  partition resizing program.  It allows you to create, destroy, resize,
move and copy ext2, ext3, linux-swap,  FAT  and FAT32 partitions.

   Before you resize the partition, please umount it first. Some Linux vendors recommand you to boot from
CD-ROM or rescue mode to run "parted". However, bakup all your stuff before you resize the partition.

Good lock,

RuralInstituteAuthor Commented:
The Cobalt RaQ 4 restore disk (as far as I can remember) does not have a command line escape option.  Unfortunately 'parted' in its downloadable format can only be run on GNU/Linux.  I do see that Redhat has 'parted' as an option in their boot disk.  Since the Cobalt Linux OS is a hacked version of Redhat 6.0 (I think), what is your thoughts on pulling out the hard drive (after backing it up of course), putting it in a regular PC, booting to a Redhat setup disk and running 'parted' from there?  Do you foresee any flaws in that sort of plan?
 The partition information is store on disk itself. So you can move the disk to other Linux machine to do parted.
Just be very careful when you resize the partition, use "print" in the parted to make sure the start and end MB.
Also use the "print" to confirm after resizing. Reboot the system after you resize the partition and use "df" to
check the new size. Then move the disk back to the original Cobalt box.

   If this partition which you want to resize is the boot partition, you may need to rebuild the boot loader information.

   Those are what I can think of so far.

Good luck,


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.