Resizing the root physical volume in an encrypted LVM

Karl F. Larsen klarsen1 at gmail.com
Tue Oct 20 22:59:11 UTC 2009


Aryan Ameri wrote:
> 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
> 
	I think any new Ubuntu Live CD will work. It has Partition 
Maker and it works fine. A encrypted volume on the part you 
want change will be zero problem. The software can reformat 
the entire partition if desired.

73 Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D





More information about the ubuntu-users mailing list