mandriva, Tutorials/Tips

How to configure LVM on Mandriva One 2010

Mandriva Mandriva One is one of three desktop Linux distributions published by Mandriva. It is a Live CD edition with the option to install to hard disk. Mandriva One 2010 is the first release of Mandriva One to have support for setting up LVM. LVM had only been possible in the Free and Powerpack editions. This tutorial offers a step by step guide on how to configure LVM on Mandriva One 2010.

Though this tutorial is based on Mandriva One, the same steps would apply if you were setting it up on Mandriva Free and Mandriva Powerpack. You may consider this an updated version of setting up LVM on Mandriva Free 2009.

Updated December 7, 2009: Note that it has been reported (bug report 55503) that Mandriva 2010 cannot mount LVM volumes upon reboot. I’ve not been able to reproduce this bug with any installation of Mandriva 2010, and I’m pretty sure that if you follow the instructions in this guide, that you’ll have a trouble-free (pertaining to mounting LVM volumes) installation of Mandriva 2010. The screenshot below is the output of ‘df -h’ from a laptop running Mandriva Free 2010 with LVM configured:
Mounted LVM volumes on Mandriva Free 2010

What are the benefits of configuring LVM?

Because the partitioning aspect of installing Mandriva One, Mandriva Free and Mandriva Powerpack makes up the bulk of the steps involved in installing them, you might as well consider this a Mandriva 2010 installation guide. The parts that are not covered here need no explanation. Just point and click.

Related Post:  How to boost the physical security posture of your Linux-powered computer

The screenshot below is the first window pertinent to this tutorial that you will be presented with. Depending on the state of the hard disk(s) on the PC, you will get the following options:

  • Use free space – if there is no other OS installed on the disk or if there is one already installed and you need to dual boot
  • Custom disk partitioning – use this if you want to create something personal
  • Use existing partitions – this option is available only if there are existing Linux partitions on the disk.

In this test system used for this tutorial, only the first two options were available – there were no existing Linux partitions on the disk. Select ‘Custom disk partitioning’ to begin partitioning the disk(s).

partition choices

With Custom disk partitioning selected, click on the ‘Next’ button.
Custom option

This is just a friendly warning. Select ‘Exit’ and backup any useful data still on the disk, or select ‘Continue’ and click ‘Ok.’
Backup data warning

On this screen, you are in normal mode. For this tutorial, it is necessary to be in expert mode. So click on the ‘Toggle to expert mode’ button.
LVM partition normal mode

This is where we need to be, in expert mode. To begin creating partitions, select the disk (the bar under the ‘sda’ button and click on the ‘Create’ button.
LVM partition expert mode

The first partition we need to create is a non-LVM partition for the /boot directory. /boot should always be created as a non-LVM, primary disk partition. Use the values shown in the screenshot. For size, I’ve chosen 120 MB, which should be more than enough. Most distros allocate 100 MB to 120 MB to /boot. On a finished Mandriva system, /boot uses just 18 MB of disk space, so 120 MB should be more than enough. ‘Ok.’
Create boot partition

Related Post:  Eyes in the Sky: The Rise of Gorgon Stare and How It Will Watch Us All

With /boot out of the way, the next step is to initialize the rest of the disk for use as an LVM volume. That means that we are going to create a Physical Volume (PV). To do that, select the unallocated part of the disk and click ‘Create.’
Start creating LVM

On this screen, don’t mess with the ‘Start sector.’ For size, make sure you select all the unallocated space left on the disk. ‘Filesystem type’ should be ‘Linux Logical Volume Manager.’ ‘Ok.’
Create the PV

Please share:

We Recommend These Services

Register now for Big Data & AI Conference, international Big Data and AI conference in Dallas, TX (USA), June 27 - 29, 2019

Reasons to use control panel for your server

Register for the End-to-end Machine Learning with TensorFlow on Google Cloud Platform workshop. It will be conducted by the manager of Google's Cloud AI Advocacy team

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


  1. Steve Scrimpshire

    I can affirm what finid posted. Following this tutorial, I’ve had no problems booting using LVM…the only non-LVM partitions on my machine are my Windows partitions and my /boot partition (which must be non-LVM in order to load the modules required by LVM to boot).

  2. Great Tutorial! But unfortunately Mandriva 2010 (yes, the current production release) is unable to boot or even mount a lvm partition. See

    The posted “solution” doesn’t work. So I highly recommend everyone to get a another linux distribution like Ubuntu Karmic Koala.

    • Wrong, it works. I am writing this reply on a laptop running Mandriva Free 2010 with LVM configured. I just rebooted it this morning, and I’ve been shutting it down and rebooting for the past two weeks. Never had any problem. But don’t just take my word, here’s a screenshot (taken at the time of this reply) of the output of ‘df -h’ on the laptop:

      So LVM configuration works on Mandriva 2010. Before pointing others to Ubuntu 9.10, you should read Mandriva 2010 and Ubuntu 9.10 compared .

Leave a Comment

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