Increasing partition on virtual Debian install (GUIDE)

Status
Not open for further replies.

Alphabetic

3CX MVP
Silver Partner
Advanced Certified
Joined
Jul 1, 2016
Messages
6,574
Reaction score
2,585
So, I've seen a few posts regarding this, and I had time to have a play and test.

There will be other ways to achieve this, but this is the one most user-friendly to me and probably a lot of others.

I ACCEPT NO RESPONSIBILITY TO ANYONE WHO BREAKS THEIR 3CX - BACK UP YOUR 3CX BEFORE ATTEMPTING. :p

You will need to download the GParted ISO https://gparted.org/

BEFORE

1622212481944.png

1. Increase your VHD in Hyperv.

2. Boot to GParted and follow on-screen instructions until you get to the GParted app - It will look like this.

1622213383454.png

3. Click on the sda2 extended and hit the resize/move partition

1622213837287.png
4. Drag to partition to the end and press resize/move

1622214202663.png

It will look like this


1622214230133.png

5. Select the swap file and press resize/move again.

Once in, change "align to" to cylinder then select the white space to move the partition from left to right and press resize/move then OK the warning.

1622214959227.png



1622214351399.png


you should now have this

1622214404803.png
 

Attachments

  • 1622212786561.png
    1622212786561.png
    28.2 KB · Views: 11
  • 1622214338761.png
    1622214338761.png
    39.5 KB · Views: 8
  • Like
Reactions: jed
6. Click on to the extended container and hit resize/move

1622215561419.png

Change the “align to” to cylinder.

Move to left arrow all the way to the right, as far as it will go and press resize/move.


1622215572919.png

1622215579181.png


If you end up with a little unallocated space between the two, it’s fine, it'll disappear once restarted.

1622215588659.png

Select sda1, resize/move and expand it to the end.

1622215599444.png

Change “Align to” to cylinder

1622215607587.png

1622215613597.png


1622215618557.png

Press the green tick to apply

1622215627647.png

1622215632388.png
 
  • Like
Reactions: jed
Remove the ISO and reboot in to normal mode.

1622215653588.png
 
Nice guide, but realistically backing up and restoring to a new VM would take less time I think and be fully supported.
 
Nice guide, but realistically backing up and restoring to a new VM would take less time I think and be fully supported.
I agree. But this way is much more fun and could be quicker for those with GBs of recordings.
 
Status
Not open for further replies.