How to install PCLinuxOS 2011.6 on an encrypted LVM file system

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

Related Posts

How to set up a 3-node CoreOS cluster, just for fun "CoreOS is a new Linux distribution that has been rearchitected to provide features needed to run modern infrastructure stacks." That's geek-speak ...
How to install XBMC on Hymera Hymera Open is a Debian-based, desktop-oriented GNU/Linux operating system. It is one of the best distro's that's has been reviewed on this site. As g...
Install Cinnamon 2.0 on Ubuntu 13.10 “Saucy Salamandar” Cinnamon 2.0, the latest edition of the Cinnamon desktop environment, was released just eight days ago, while Ubuntu 13.10, the latest version of the ...
How to build your own phone company with WebRTC and Node.js I'm reposting this article because it's very cool and anybody can try it and probably succeed on their first attempt. the title of the original ar...
Guest session and user management in Ubuntu 11.10 User (account) management is one area that received slight modifications in Ubuntu Desktop 11.10, the latest stable release of the popular Linux distr...
Upgrade Ubuntu 12.04 server to 14.04 ‘Tis the season for upgrading. First was upgrading OSSEC from 2.7 to 2.8, see Upgrading OSSEC 2.7 to 2.8 and the bro-ids rule issue. Now's the time...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


4 Comments

  1. 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. I went through this step by step and it worked like a charm, thanks a lot

  3. Pingback: Install PCLinuxOS 2001.6 on encrypted LVM « 0ddn1x: tricks with *nix

  4. Pingback: Links 19/7/2011: Why GNU/Linux Feels Better Than Mac OS X, Howard County Library Uses Ubuntu | Techrights

Leave a Comment

Your email address will not be published. Required fields are marked *

*