Configure LVM in Foresight Linux

By default, most Linux distributions create two or three logical volumes. The recommended way is to create one logical volume each for the major filesystem directories – /, swap, /tmp, /var, /usr, and /home. For this tutorial, let’s begin creating LVs with one for swap. From the dropdown menu, select swap for File system type, swap again for Logical volume name, and for size, 1000 MB should be enough. click “Ok”

With swap out of the way, we can create the LVs for the other filesystem directories. The image below shows the LV for / being created. Foresight only gives two options for file system type – ext3 and xfs. The default is ext3, but because xfs does not require unmounting a logical volume before it can be resized, we opt for xfs. To create the LVs for /tmp, /var, /usr, and /home, use the following recommended size and name guidelines:

  • /tmp – 500 MB, tmp (LV name)
  • /var – 1000 MB, var
  • /usr – 5000 MB, usr
  • /home – 3000 MB, home

The objective here is to allocate just enough space to install and get the system up and running. The un-used space can be used in growing any LV that needs to be expanded.


When all the LVs have been created and the VG named, your screen should look like the one below. Notice that only about 15 GB has been used. The remaining part of the VG will be available for use after installation. Click “Ok”.

Almost done. Clicking “Next” should take you to the bootloader configuration screen

Here you can configure various bootloader options. In Foresight, you can choose between EXTLINUX (default) and GRUB .

That’s how LVM should be configured in Foresight Linux. The rest of the installation is easy enough, and there is no need to include those images here. One feature that you have in configuring LVM in Mandriva Free that is missing in Foresight is the option to configure encrypted volumes. Also missing is the the auto-allocate feature, but with this tutorial we hope that we have made configuring LVM (in Foresight Linux) a little bit easier for those new to the concept.

Related Posts

How to install TwitteR, a Twitter client for R Installing packages in R is pretty easy, if you know the name of the package you wish to install. Just pass the name of the package to the install.pac...
How to avoid spyware, viruses on Windows 7, Vista and XP If you are a Windows user, you ought to be familiar with all forms of malware that has ever been created by man (and woman). By malware, I mean spywar...
Qt Widgets and the Third Dimension Some people have been asking how to embed Qt painted content (and especially Qt widgets) in a 3d scene. As I’ve been wanting to do this ever since we ...
How to customize Linux Deepin 12.12 Summary: How to customize Linux Deepin 12.12 offers a few steps you can take to make a default installation of Linux Deepin 12.12 a little bit more us...
Sponsored Tiles now live in Firefox That Sponsored Tiles program from Mozilla, which I first wrote about in Mozilla to sell ads in Firefox browser via the Directory Tiles program, has go...
How to set the PATH variable in Bash So, how do you set the PATH variable in Bash? That's a very simple task, which should take less than a minute to complete. However, for the benefit...

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


Leave a Comment

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

*