Solved

Extending a Linux partition on a Cobalt RaQ 4

Posted on 2004-10-22
245 Views
Last Modified: 2013-12-15
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.
0
Question by:RuralInstitute
    3 Comments
     
    LVL 38

    Expert Comment

    by:wesly_chen
    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
     

    Author Comment

    by:RuralInstitute
    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
     
    LVL 38

    Accepted Solution

    by:
     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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: MongoDB Object-Document Mapper for NodeJS

    NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

    Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now