Ask Your Question

Growing encrypted partition

asked 2016-08-19 18:18:11 -0500

I've just bought a bigger SSD for my laptop and have copied the partitions from the old disk using dd.

Problem is that I cannot seem to grow it to fit using gparted. Any ideas why not? I guess because it's encrypted. Note this is trying via the live ISO

image description

I guess then there is lvm stuff to do as well?

edit retag flag offensive close merge delete


can you please include the ouput of lsblk just to make sure somthing ?

Rabin gravatar imageRabin ( 2016-08-20 12:52:35 -0500 )edit

3 Answers

Sort by » oldest newest most voted

answered 2016-08-21 23:50:24 -0500

jtlinux gravatar image

updated 2016-08-22 00:09:02 -0500

If you encrypted your system when you installed Fedora, it's probably LVM-on-LUKS. But lsblk will help figure it out.

Resizing is a complicated process. Instructions for shrinking are here: I've used these instructions successfully before. (Growing should be the opposite process: first do "2.1 Boot and setup", then start the actual growing process from the last directions (probably from "2.6 Resize the partition", and work your way up the instructions, and of course be sure to add space instead of subtracting it). As you can see, it's very complicated. Maybe you'll be able to find clearer instructions for growing elsewhere.

However, you may want to try KDE Partition Manager. In May, they released 2.2.0 which enables working with LUKS. You'll probably have to use a live system and decrypt the LUKS part, then run the program. Not sure if it works specifically with LVM-on-LUKS though......

edit flag offensive delete link more


KDE Partition Manager 2.2.0 does not work with LVM on LUKS. It can resize all file systems inside LUKS except for LVM. However master branch of KDE Partition Manager (so it will be released in the next version) fully supports LVM2 including on top of LUKS.

Andrius Štikonas gravatar imageAndrius Štikonas ( 2016-09-06 12:58:02 -0500 )edit

answered 2016-08-22 11:29:57 -0500

florian gravatar image

updated 2016-08-22 11:30:27 -0500

GParted does not understand LVM2 Volumes - so it's not the right tool for your task. If you want a graphical solution, start a Fedora live system, and use blivet-gui to change your LVM Volumes, partitions, and file system sizes.

Do not resize while the the system is online!

edit flag offensive delete link more


Thanks for this information!

jtlinux gravatar imagejtlinux ( 2016-08-24 01:28:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2016-08-19 18:18:11 -0500

Seen: 146 times

Last updated: Aug 22 '16