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

Zentyal installation guide Zentyal, the Linux distribution formerly known as eBox Platform, is a server distribution which can be used as a network gateway, unified threat manag...
Is your browser safe against tracking? Use Panopticlick to find out Worried about privacy, about the websites you visit tracking you, whether you accept their cookies or not? Panopticlick to the rescue! Panopticl...
GRUB-Install errors while attempting to dual-boot Windows 10 and Linux distributions Since Windows 10 was released, I've made several attempts to set up dual-boot systems between it and a few Linux distributions (Fedora 22, Ubuntu 15.0...
Configure OSSEC to not email alerts on IPTables denied messages The tl;dr of this article is: It shows how to configure OSSEC, a host-based intrusion detection system, to not send email alerts whenever IPTables rej...
The ideal value of listen.backlog when setting PHP-FPM pm = ondemand I recently wrote about the impact that setting how PHP-FPM's process manager controls child processes from dynamic (pm = dynamic) to ondemand (pm = on...
Dual-boot Windows 7 and Kali Linux This article is a step-by-step guide on how to dual-boot Windows 7 and Kali Linux on a single hard disk drive (HDD). Kali Linux is what used to be Bac...

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 *

*