Exact matches only
Search in title
Search in content
Search in posts
Search in pages

How to configure LVM on Mandriva One 2010

I am reading page: 1 2

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

I am reading page: 1 2

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.


  1. Steve Scrimpshire says:

    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. finide says:

    http://linuxbsdos.com/2009/11/24/how-to-… How to configure LVM on Mandriva One 2010

  3. Bughunter says:

    Great Tutorial! But unfortunately Mandriva 2010 (yes, the current production release) is unable to boot or even mount a lvm partition. See https://qa.mandriva.com/show_bug.cgi?id=55503

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

    • finid says:

      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 .

  4. finide says:

    http://linuxbsdos.com/2009/11/24/how-to-… How to configure LVM on Mandriva One 2010

Leave a Comment