How to expand Linux ext3 partition

Discussion in 'HOWTO-Related Questions' started by aldo, Aug 29, 2011.

  1. aldo

    aldo Member HowtoForge Supporter

    My virtual disk has grown from 10 to 50GB.

    Now I have two partitions:
    / dev/sda1 - Linux - 1.8 GB - start 1 - end 1045 - Useb by: /
    / dev/sda2 - Linux swap - 2 GB - start 1045 - end 1305 - Used by: Virtual memory

    Is it possible to expand the first partition so that it uses new available space?

    If yes, is the right thing to do?

    I'm using Debian 6 on a VPS (VMware).

    Thanks.
     
  2. Mark_NL

    Mark_NL Member

  3. aldo

    aldo Member HowtoForge Supporter

    Oh man ;), I still have opened all the found relevant pages, including the one you suggested. But it does not seem to match my case.

    I have to work on a remote VPS on which I can not boot from CD.

    But it may be that I did not understand; I'm not very experienced :)

    Thanks.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Do you have a rescue system for your remote VPS? You can use the rescue system instead of the Knoppix Live-CD (if the rescue system provides all necessary commands).
     
  5. aldo

    aldo Member HowtoForge Supporter

Share This Page