pclinuxos, Tutorials/Tips

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 play Windows games in Linux So, you just started using Linux, but found out that your favorite Windows games and applications do not have a Linux edition. What should you do then...
Windows 7 disk partitioning annoyance Today I made an attempt to dual-boot Windows 7 and BackTrack 5 R3 on a single hard disk drive (HDD), but on a computer with two internal HDDs. From th...
New storage options for Anaconda on Fedora 13 Fedora 13 Beta has just been released for testing and bug reporting, with the stable version slated for release in May. Thanks to boot.fedoraproject.o...
Android on a Stick, or how to install Android-x86 on a USB stick The Android-x86 project provides ISO installation images of Android that can be installed on personal computers, which is cool, because that makes it ...
Finetune digiKam by Tweaking Its Settings While you can start using digiKam without tweaking its settings, you might want to spend a few minutes modifying the application’s default configurati...
A beginner’s guide to disks and disk partitions in Linux A beginner's guide to disks and disk partitions in Linux is an updated version of Guide to disks and disk partitions in Linux. It is intended to be an...

We Recommend These Vendors and Free Offers

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 *

*