How to configure encrypted LVM on Mandriva 2010 Spring

The first LV we are creating here is for swap. A size of 1 GB to 2 GB should be enough. The beauty of LVM is that the size of the LVs can be resized if and when the need arises. The rule of thumb when creating LVs is to allocate the minimum size needed to install the system. Make the selection as shown and click Ok. Repeat this step to create the other LVs.

Note that because we are creating LVs from an encrypted PV, it is not necessary to encrypt the LVs. It won’t break anything if you do, but it’s overkill. So ignore the Encrypt partition option.

manslvm13
Create LV for swap

Just to show the step for creating the LV for root. As a guidance for size allocation, a default installation of Mandriva (One) 2010 uses less than 2.5 GB of disk space allocated to /. So anything more than that should be enough. Ok.

manslvm14
Create LV for root

How the LV for /home is created. Assign any size to it, but do not allocate all the remaining disk space. For a typical desktop installation, 3 GB to 5 GB should be enough Ok.

manslvm15
Create LV for home

Now that all the LVs we want have been created, click on Done.

manslvm16
All LVs have been created

You may Skip this step or just click Next to have the installer remove unused hardware and localization packages.

manslvm17
Option to remove unused packages

After all the unused packages have been removed, assuming you clicked Next in the previous step, the next step is to configure the boot loader. Mandriva’s installer gives you a choice of two boot loaders – GRUB (GRand Unified Bootloader) and LILO (LInux LOader). If you choose to use GRUB, you may choose GRUB with graphical menu, the default, or GRUB with text menu. You may also choose to specify a password to protect the boot loader. Aside from encrypting a hard disk, password-protecting the boot loader is another step you may use to boost the physical security rating of your computer. Password-protecting the boot loader is possible only if you choose GRUB with text menu or LILO.

If there is a tool that you can use to improve the security of your computer, I always like to use it, especially if there is no real downside to it. Think about this and click Next when you are satisfied with your choices.

manslvm18
GRUB configuration

Related Posts

How to dual-boot Linux Mint 13 Cinnamon/MATE and Windows 7 Linux Mint 13 Cinnamon and Linux Mint 13 MATE are the latest editions of the popular Linux desktop distribution based on Ubuntu Desktop. This tutorial...
How to run Linux Mint Debian Cinnamon in VirtualBox One edition of Linux Mint Debian released a few days ago, features two desktop environments - MATE and Cinnamon. The former is a fork of GNOME 2, whil...
For an editor, Atom uses way too much RAM For some time now I've been using Atom as a replacement for Kate, KWrite and GEdit, depending on the desktop environment I'm using. That's because...
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...
How to change the height and position of the KDE panel You would think that the process involved in changing the height and position of the KDE panel should not need documentation, but apparently, it does....
Install Mageia 1 on an encrypted LVM file system Mageia is a new Linux distribution formed by former employees and contributors of Mandriva, a Linux software provider and publisher of a line of Linux...

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 *

*