foresight, Tutorials/Tips

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...
Install Mageia 1 on an encrypted LVM file system Mageia is a new Linux distribution formed by former employees and contributors of Mandriva, a Linux software provider and publisher of a line of Linux...
Getting Started with Swift on Linux When I wrote my first line of Swift code I immediately had visions of being able to use this beautiful programming language for more than just iOS and...
Manual disk partitioning guide for Deepin 2014 Deepin 2014 is the latest edition of Deepin, a Linux desktop distribution based on Ubuntu. Deepin 2014 is the first version of the distribution that c...
Install appmenu-qt, HUD-like application, on Linux Mint 12 KDE Many articles have already been written about Ubuntu's HUD, or Head-Up Display, a feature that is expected on future versions of the popular distribut...
Dual-boot Ubuntu 11.10, Windows 7 on a PC with 2 hard drives You will find in this article, a step-by-step guide on how to dual-boot Ubuntu 11.10 and Windows 7 on a computer with two hard drives. If you are look...

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 *

*