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.
RuralInstituteAsked:
Who is Participating?
 
wesly_chenConnect With a Mentor Commented:
 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,

Wesly
0
 
wesly_chenCommented:
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,

Wesly
0
 
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?
0
All Courses

From novice to tech pro — start learning today.