Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com, pick a category and ask a question.

How to install PCLinuxOS 2011.6 on an encrypted LVM file system

I am reading page: 1 2

If the lvm2 package was downloaded and installed successfully, and the Volume Group was created, the disk partitioning window will look like the one shown here, minus the numbers and arrows. Those just show what you need to do before you can start creating logical volumes. First, select the tab with the Volume Group’s name on it, then click on the free space. Third, toggle to expert mode. In that mode, you will be able to choose custom names for the logical volumes, rather than the numbers that the installer assigns to them in normal mode. Finally, click Create to create the first Logical Volume.
PCLinuxOS 2011.6 Encrypted LVM 9

The first Logical Volume will be for /, the root file system directory. A new installation of the standard KDE edition of PCLinuxOS 2011.6 takes up about 2.7 GB of disk space. That should tell you the minimum needed to install the system. The size can be increased after installation. Other editions of PCLinuxOS should require about the same disk space for /. Note that the FullMonty version of the KDE edition requires more than 12 GB of disk space, so if that is what you are installing, take that into account. The default file system is ext4. Select the mount point, the name, then click Ok.

Note: With the Physical Volume encrypted, it is not necessary to encrypt individual logical volumes.
PCLinuxOS 2011.6 Encrypted LVM 10

With the first Logical volume out of the way, select the free space as before and click Create. Note that this step will have to be repeated for the other logical volumes.
PCLinuxOS 2011.6 Encrypted LVM 11

The second Logical Volume will be for Swap, disk space that may be used as virtual memory. The recommended minimum size for Swap is 2 GB. This should be enough for most systems. From the “Filesystem type” menu, select “Linux swap,” then choose the appropriate name for it. Ok.
PCLinuxOS 2011.6 Encrypted LVM 12

You can create logical volumes for other file systems, but for this tutorial, this is the last one, and it will be for /home. Assign a reasonable disk space to it. How much does not matter at this stage because you can always grow or increase the size after installation. Select the file system and choose the name from the dropdown menu. Ok.
PCLinuxOS 2011.6 Encrypted LVM 13

With the partitions and logical volumes in place, click Done to continue with the rest of the installation.
PCLinuxOS 2011.6 Encrypted LVM 14

Nothing to do here but click Next.
PCLinuxOS 2011.6 Encrypted LVM 15

The installer gives you the option to password-protect the boot loader, and that option is available whether you choose GRUB or LILO. Password-protecting GRUB ensures that GRUB’s boot parameters cannot be edited by an unauthorized person at boot time. Like disk encryption, it adds a layer to the physical security posture of your computer. Next.
PCLinuxOS 2011.6 Encrypted LVM 16

All you need to do here is click Finish. The installation should complete shortly after that. Reboot the system and enjoy your encrypted PCLinuxOS 2011 installation.
PCLinuxOS 2011.6 Encrypted LVM 17

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email.
I am reading page: 1 2

Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

4 Comments

  1. Shannon says:

    Thanks for this article. I had no idea full disk encryption with linux was so easy using PCLinuxOS or I’d have been using it for a while now… same with LVM!

  2. Matthew says:

    I went through this step by step and it worked like a charm, thanks a lot

Leave a Comment