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 launch and use a shell terminal in Linux People new to Linux tend to react to any reference of the Linux shell terminal with fright. But there is nothing scary about our beloved shell termina...
An attempt to dual-boot Ubuntu 13.10 and Windows 8 on a Lenovo IdeaCenter K450 I had access to a friend's store-bought (OEM) Windows 8 computer for just one day. The computer is a Lenovo model. Specifically the Lenovo IdeaCenter ...
Systemd for Developers Systemd not only brings improvements for administrators and users, it also brings a (small) number of new APIs with it. In this blog story (which migh...
How to add an entry for a Linux distribution in Windows’ boot menu Dual-booting any version of Microsoft's Windows operating system with a Linux or BSD desktop or server distribution is a very common practice. For fir...
Dual-boot Ubuntu 14.04 and Windows 7 on a PC with UEFI firmware This post shows how to dual-boot Ubuntu 14.04 and Windows 7 on a computer with UEFI firmware. Note that the computer I used for the tutorial is not an...
Manual disk partitioning guide for Linux Mint 9 and Ubuntu 10.04 The installation program on Ubuntu 10.04 and Linux Mint 9 are the same. And that's because Linux Mint is based on Ubuntu. So if you install one, which...

We Recommend These Vendors

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).


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 *

*