Ubuntu – Manual LVM encryption setup with Ubuntu 13.04

13.04encryptioninstallationlvmubiquity

I am trying hard to get ubiquity works. The thing is that I want to setup Ubuntu 13.04 on a full encrypted LVM aside a Windows installation. So I can't use the default option of full disk encryption.

The issue is when I try to use a partition as physical encryption volume I always get an error concerning keyfile.

And if I make the partition before launching ubiquity, then I get an error when I try to make the mapping between logical volumes and mount points.

This was working great with alternate CD (or USB) but since they shutdown this Ubuntu image, I'm stuck.

Maybe it is time to look for another Linux distro or maybe someone has a solution…

Best Answer

Use the server CD image.

You'll get a full fledged advanced installer like the alternate installer, but it won't install any GUI. Install it afterwards using an APT task. E.g. for regular Ubuntu:

sudo apt-get install ubuntu-desktop^

or KDE/Kubuntu:

sudo apt-get install kubuntu-desktop^

(the caret is not a typo). Ubuntu is just a set of packages and while the several flavours install different packages by default, you can just change that.

Ever since 12.04 the separate server flavour of the kernel has been dropped and merged with the desktop flavour, so you don't have to deal with that.

Here's the bug report for implementing manual LVM partitioning in combination with encryption in the desktop installer: [FFe] [UIFe] Manual Partitioning Crypt and a blueprint: Improving support for LVM & LUKS encryption within Ubiquity.