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.

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

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

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...
Use Tor Browser, get your computer blacklisted For the past few years I've been using a URL shortening service called ur1. It is a GPL-licensed URL shorterner from StatusNet Inc.. Why employ the...
Qt + Box2D is easy! Box2D is an Open Source rigid body 2D physics engine for C++. It’s currently (2.0.1) released under the MIT license, which is quite permissive. Box2D ...
Multiboot Linux distributions from one USB key Running a Linux distribution from a USB flash drive or USB key is now a common practice, but running more than one on the same USB key would be really...
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 create custom Kibana visualizations Kibana, being the ‘K’ in ‘ELK’, is the amazing visualization powerhouse of the ELK Stack. We use the software to create nice dashboards that displa...

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

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.


  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 *