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 configure encrypted LVM on Mandriva 2010 Spring

I am reading page: 1 2 3 4

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

I am reading page: 1 2 3 4

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.

5 Comments

  1. okh04 says:

    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. okh4 says:

    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.

Leave a Comment