Install Mageia 1 on an encrypted LVM file system

Now, you are set to start setting up the logical volumes. Two actions are required here before you start. One, select the Volume Group you just created by clicking on the tab with its name, then click on Toggle to expert mode. Once those actions are completed, click Create.
Mageia LVM setup 8

Note: If you click on the Auto allocate button on the previous step, the installer will give you three more options. “simple” will give you three logical volumes; one each for /, Swap, and /home. “with /usr” will configure a separate Logical Volume for /usr, besides those created under “simple.” “server” gives you separate logical volumes for /tmp and /var, besides those created under “with /usr.”

The problems with these auto-allocate options are inefficient allocation of disk space, and the numeric names given to the logical volumes. That is why it is better to configure the logical volumes manually.
Mageia Auto-allocate LVM options

You can create the logical volumes in any order, but for this tutorial, the one for /, the root file system, will be created first. Ext4 is the default file system, but you may select another one from the dropdown menu. The default name is “1.” Select a name matching the mount point from the menu. A disk space of 5 GB or 5000 MB is enough to install the system. Ok.

Keep in mind that with LVM, you only need to allocate just enough disk space required to install the system. You can always increase or grow a Logical Volume afterwards. Also, because the Physical Volume has been encrypted, it is not necessary to encrypt the logical volumes.
Mageia LVM setup 9

The second Logical Volume will be for Swap. A disk space of 2 GB is good for it. The default is 4 GB. For “Filesystem type,” select “Linux swap.” Choose a matching name for it. Ok.
Mageia LVM setup 10

The last Logical Volume will be for /home. Allocate the disk space based on your needs. Use the default file system, and select a matching name for it. Ok.
Mageia LVM setup 11

With all three logical volumes configured, click on Done to continue with the rest of the installation. Note that by default, the installer will install GRUB, the default boot loader (LILO is the other option), in the Master Boot Record (MBR ) of the disk. If you are installing this on a disk with an existing installation of another operating system, you may want to consider installing GRUB in the boot partition. After installation, reboot.
Mageia LVM setup 12

Every time the computer is rebooted, the disk encryption passphrase you specified during installation will be needed before the system can boot completely. Do not forget it. Unlike Fedora and other distributions derived from it, and PC-BSD, Mageia will keep you at this window until you specify the correct passphrase. Without it, you will not b able to boot into the system, which means no access to your data. If it makes you happy (it should), your data will not be accessible if the computer is lost or stolen. You may configure up to 7 backup passphrases. How to manage disk encryption passphrases and key slots, is a recommended tutorial, if you wish to configure backup passphrases.
Mageia LVM setup 13

You can have quality articles like this delivered automatically to your Feed Reader or Inbox by subscribing via RSS or email. This website now has a Question and Answer section. Use the commenting system for simple comments, but for more involved assistance, please use the Question & Answers section.

Related Posts

How to replace GRUB with BURG on Linux Mint 11 GRUB, the GRand Unified Bootloader, has been the default boot loader on virtually all Linux distributions since LILO (LInux LOader) lost its shine. LI...
DevAssistant: A developer’s best friend One application I came across while testing an installation of the main edition Fedora 21 alpha is DevAssistant. (See Fedora 21 Workstation: GNOME 3. ...
Mageia 2 alpha 1 KDE and GNOME 3 screenshots preview The first alpha release of Mageia 2 has been made available for download and testing. As you might expect, this is not a review-quality release, so if...
How to replace LibreOffice with Apache OpenOffice on Fedora 20 For almost a year now, I've seldom had to use any component of LibreOffice, the default Office suite on virtually all desktop Linux distributions. ...
How to customize Cinnamon on Fedora 16 and Linux Mint 12 Cinnamon is a fork of GNOME 3 Shell by the developers of Linux Mint. If this is news to you, you might want to read "What does Cinnamon bring to the d...
How to install Anaconda 1.9 in Ubuntu 13.10 This short article shows how to install Anaconda 1.9 in Ubuntu 13.10. No, it's not that Anaconda. This Anaconda is a free Python package for la...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

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.


2 Comments

  1. Well I’ve been distro hopping for a long time, and no people i dont want to use Arch, not yet, and i need to find a way to dual boot this distro with my ubuntu 11.04 installation

  2. Pingback: Links 28/6/2011: Android Activations Surpass Microsoft Windows, Millions of OLPC XOs Noted | Techrights

Leave a Comment

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

*