How to configure encrypted LVM on Mandriva 2010 Spring

With /boot out of the way, select the unallocated space as shown, and click Create.

manslvm6
Positioned to initialize partition for LVM

This step involves initializing the unallocated disk space for use by LVM, that is, creating a Physical Volume (PV), in LVM parlance. So make the selection as shown below and click Ok. If you do not intend to use all the unallocated space on your disk for installing Mandriva, move the slider until you get the disk size you want. Select Encrypt partition and specify the encryption key (passphrase or password). Keep in mind that the passphrase specified here will be needed every time you reboot the computer. Without it, you will not be able to boot into the system. If it will cheer you up, no one will be able to boot into the system and tamper with your data if they gain unauthorized physical access to it. This is the main advantage of creating an encrypted system. As stated earlier, it’s just one method you may use to boost the physical security rating of your computer.

manslvm7
Configure encrypted PV

Not a whole lot to do here. Click Ok for the installer to write the partition table to disk.

manslvm8
Partition table to be written to disk

Ok, what we have done so far is create a partition for /boot, and initialized the remaining (disk) space for use by LVM, that is, created a PV. In the image below, the PV is represented by the grey bar with the locked key icon atop it. The locked key icon indicates that the PV is encrypted. The next step involves creating a Volume Group (VG) and Logical Volumes (LVs). In LVM jargon, a VG is a virtual container for PVs, and an LV is the equivalent of disk partitions.

First we must create a VG. To do that, click on the PV to select it.

manslvm9
PV created

With the PV selected, click on the Add to LVM button.

manslvm10
Positioned to create the VG

All that is required here is to give the VG a name. If you can’t think of a suitable moniker, accept the default. Ok.

manslvm11
Specify a name for the VG

With the VG created, time to start creating the LVs. For a desktop system, it is recommended that you create LVs for the following:

  • / (root)
  • swap
  • /home

You may create separate LVs for the other file system directories if you want, it is not absolutely necessary. Click on the name of the VG (HUman) and then on the Create button.

manslvm12
Positioned to create the LVs

Related Posts

Guest session and user management on Linux Mint 11 A common system management-type question I usually get from new users pertains to creating and managing user accounts on Linux. On Linux Mint 11, as o...
Mandriva 2012 technical preview With the release of Mandriva 2012 technology preview last week, Mandriva SA has taken the first step towards publishing Mandriva 2012. The release ann...
How to secure your Wi-Fi devices and personal data Here are a few key things that Wi-Fi users can do to secure their Wi-Fi devices and personal data: Set home Wi-Fi networks for WPA2™ security - Wi-F...
How to delete GRUB files from a Boot EFI partition in Windows 10 After several failed attempts to dual-boot Ubuntu 15.04 and Windows 10 on a single hard drive and on a computer with UEFI firmware, and not knowing wh...
Top 3 applications menu extensions for GNOME 3 On an unmodified, GNOME 3 desktop, the Activities button provides access to all installed applications. But in some circles, it is one reason that the...
Dual-boot Ubuntu 11.10, Windows 7 on a PC with 2 hard drives You will find in this article, a step-by-step guide on how to dual-boot Ubuntu 11.10 and Windows 7 on a computer with two hard drives. If you are look...

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.


5 Comments

  1. Oh, thanks for mentioning that. That´s a shame! PCLOS is very polished, but they missed that one.

    Which KDE-Distro would You recommend? Mandriva, Kubuntu, OpenSUSE, MintKDE? I would prefer an encrypted installation. I think this is possible via the alternative installer of Kubuntu.

    Chakra isn´t stable yet, setting up Arch is too much fiddling around for me.

  2. Thank You very much for this How-To! A couple of days ago I failed doing this. I went with an installation of PCLOS, as it is based on Mandriva, yet features all codecs preinstalled. Plus both run relatively fast for using KDE4 as their DE.

  3. Pingback: Encrypted LVM on Mandriva 2010 « 0ddn1x: tricks with *nix

  4. Pingback: Tweets that mention How to configure encrypted LVM on Mandriva 2010 Spring — LinuxBSDos.com -- Topsy.com

Leave a Comment

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

*