Configure LVM in Foresight Linux

ForesightForesight is a Linux distribution built around the Conary package management system, with Gnome as the default desktop environment. Like most Linux distributions, Foresight is installed to hard disk using the traditional disk partition system. In this tutorial, we are going to provide a step-by-step guide (with screenshots) on how to configure Linux logical volume manager (LVM) in Foresight.

As a disk management tool, LVM adds a layer of flexibility to disk storage management that is not possible with the traditional method of disk partitioning. Aside from Foresight, Fedora, Mandriva Linux Free, StartCom, CentOS, Openfiler, and Debian are some of the other Linux distributions that have support for LVM. You may read about how to configure LVM in Mandriva Linux Free here.

Now to configuring LVM in Foresight.

Foresight has a graphical installer, so configuring LVM is point-and-click. We begin this tutorial at the point in the installer where the hard disk is detected. This is just three clicks into the installation process. Those screens that are not shown in this tutorial feature options that all users will not have any problems with. So with the disk detected, click “Next”.

This brings us to this screen. Our goal here is to first create a boot partition before we start configuring LVM proper, and to do just that, click on the “New” tab.


We need to create a non-LVM, primary boot partition. With reference to the options shown in the image, for mount point, choose /boot from the dropdown menu. Virtually all (Linux) distros use ext3 as the default journalized filesystem. In Foresight, the only other option available is xfs. Here, the default is a good choice. Be sure that “Force to be a primary partition” is checked. Size-wise, anywhere from 100 MB to 200 MB is enough for /boot. If you are satisfied with you creation, click on “Ok”.

With /boot created, now we can start creating the different elements that make up LVM. The first of such elements is the physical volume (PV), and to create that, select the free space remaining and click on the “New” tab. In the screen that follows, select “physical volume (LVM)” under file system type, and be sure to click the “Fill to maximum allowable space” button. The other options will be taken care of by the installer. Click “Ok”.

With /boot and a PV created, your screen should look like the one below. Next step is to create a volume group and logical volumes. With Foresight’s installer, the VG and the PVs are created from the same window. To do that, click on the “LVM” tab.

The default VG name is always “VolGroup00”. You may use that or choose any name that you are comfortable with. Then to start creating the logical volumes, click on “Add” on the lower right side of the window.

Related Posts

Why I switched from Postgres to MongoDB, then to Neo4j When you're about to start a project and are trying to make a decision on the what applications to use, one way to proceed is to find out what other p...
GPT disk partitioning guide for Chakra 2011.4 GPT is an alternate disk partition table scheme that solves two issues associated with the MBR partition table scheme. It allows the configuration of ...
Building Interactive Maps with Leaflet Leaflet is an JavaScript library for building interactive maps. RStudio released a package that allows us to build these maps in R! You can do som...
7 tips for dual-booting Linux distributions and Windows Alternates title: Tips for dual-booting Windows and Linux; tips for dual-booting Windows and Linux on a computer with 2 two hard drives; tips for dual...
Bash susceptible to environment variables code injection attack A security adversary posted at Red Hat's security blog and referenced at US-CERT has warned users of the Bash shell of a "specially-crafted environmen...
Dual-boot Windows 8 and Linux Mint 17 on a PC with 2 disks and UEFI firmware This tutorial shows how to dual-boot Linux Mint 17 and Windows 8 on a computer with two hard drives and UEFI firmware. For a guide on how to perform t...

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 *

*