Resizing the root physical volume in an encrypted LVM

Aryan Ameri info at ameri.me
Tue Oct 20 22:42:08 UTC 2009


On Wed, 2009-10-21 at 00:29 +0300, Ioannis Vranos wrote:
> Hi,
> 
> I have installed Ubuntu 9.04 x64 via alternate installation CD, as an
> encrypted volume group with the root partition (/) and the swap taking
> over the 50% of the volume group, the rest being free space.
> 
> 
> I want to either resize the root partition to take over the rest of the
> free space, or create a new unencrypted LVM with this free space.
> 
> I installed system-config-lvm, but it looks like impossible to resize /
> as it is mounted, and can't be unmounted to do this.
> 
> 

You might want to try a Live CD. Either Ubuntu itself, or another more
specialised one like Knoppix. Boot from the Live CD, if it mounts any of
your drives, unmount it, and then run the partitioning program of choice
to resize your partition size. 

As I haven't used an encrypted volume, I don't know if the encryption
should affect this or not, but my guess is it shouldn't. 

Cheers

-- 
Aryan Ameri





More information about the ubuntu-users mailing list