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

Manual LVM disk partitioning guide for Fedora 17 Anaconda, the Fedora system installation program, is one of the easiest and most feature-rich graphical installation programs available on any distrib...
How to dual-boot Kali Linux 1.0.9 and Windows 7/8 on a PC with UEFI firmware The last dual-boot tutorial on Kali Linux I wrote was back in March 2013 (see Dual-boot Windows 7 and Kali Linux), and that was on a computer with Leg...
How to uninstall the overlay-scrollbar in Pear Linux 6 and Ubuntu 12.10 Pear Linux is a desktop distribution based on Ubuntu Desktop. The latest edition of both distributions - Ubuntu 12.10 and Pear Linux 6, were released ...
Dual-boot Fedora 18 and Windows 7, with full disk encryption configured on both OSs How to dual-boot Fedora 18 and Windows 7 with full disk encryption (FDE) configured on both operating systems stems from a request from K. Miller. The...
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...
Managing startup applications in GNOME 3 If you wanted to set up an application or applications in GNOME 3 to launch on boot, you'll probably go looking for a module in the desktop's System S...

We Recommend These Vendors and Free Offers

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.


Leave a Comment

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

*