I would like to enlarge my encrypted LVM partition, because I gave my virtual machine Ubuntu 20.04 more hard disk space.

I tried to use Gparted, but it gave an error. I also tried the answer on How to expand an encrypted ubuntu partition with LVM, but sudo lvresize -l +100%FREE /dev/ubuntu-vg/root doesn't work, because /dev/ubuntu-vg/root doesn't exist.

How can I easily enlarge an encrypted partition?


I found a solution myself.

Live CD

Launch the live CD and use the option "Try Ubuntu".

Instal Partitionmanager

Make sure the universe software can be downloaded:

  • go to the Activities
  • launch Software & Updates
  • enable universe

Open the terminal and install the Partitionmanager:

sudo apt-get update
sudo apt-get install partitionmanager


See also the instructions here: http://e1z.ca/devlog/encrypted_partition_resize.html

Open the partitionmanger with sudo rights:

sudo partitionmanager

Right click on the encrypted volume and unlock.

Resize the partition. You might need to resize the vgubuntu on the left as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.