Anaconda, the Fedora system installation program, is one of the easiest and most feature-rich graphical installation programs available on any distribution. The default partitioning scheme, which uses LVM, the Linux Logical Volume Manager, should be good enough for most systems, especially for standalone Fedora installations.

But sometimes, you might find yourself in a situation where you want to dual-boot an existing installation of Fedora with another operating system or distribution, long after the first installation. If you used the default partitions created by Anaconda, that process becomes very difficult.

That is because with Anaconda’s LVM-based disk partitioning scheme, all available disk space are allocated to the LVM Physical Volume, which makes it impossible to recover space from the system for installing another distribution.

That is why it is very important to plan for the future, when installing Fedora. In this article, a step-by-step guide on how to create an LVM-based disk partitioning scheme for Fedora 17, the latest edition, while making an allowance for another distribution on the same hard drive, is presented.

If you are not familiar with LVM and with disk partitioning in Linux, it is highly recommended that you read guide to disks and disks partitions in Linux and introductory articles to LVM here.

Since the installation process is the same across all the Fedora 17 editions, this tutorial can be used to create manual LVM partitions for the main Fedora 17 edition, which uses the GNOME 3 desktop environment, and any of the Fedora 17 Spins.

The partitions created by default for installing a Fedora 17 system are shown in the image below. You can see that there are two primary partitions, one of which is a boot partition (/dev/sda1) and the other (/dev/sda2), the LVM Physical Volume. In addition, there are three logical volumes (see the top of section of the image). They are: lv_root, lv_home and lv_swap. Notice that there are no free space available. That is because as stated earlier, Anaconda allocates all available disk space to the partitions and logical volumes.
Anaconda Default Partition

Related Post:  Cinnamon 1.6 review

The partitions and logical volumes shown above are the minimum required for installing Fedora or any other distribution that has support for LVM. So what we are going to do here, is create the same partitions and logical volumes as shown in the image above, but leave some free space in case you need to install another distribution on the same hard drive. A process known as dual-booting.

If you have not done so already, download an installation image of Fedora 17 from here. Transfer it to a suitable media and boot the computer from it. Start the installer and click through the first steps until you get to the one shown in the image below. Select Create Custom Layout, then click Next.
Anaconda Partition Methods

That should get you to this window, where the detected hard drive(s) are listed. This system has been selected to show the free space. To start creating partitions, select the free space and click Create.
Anaconda Partitions

As on a default installation, two primary partitions and three logical volumes will be created. The first primary partition, which is a Standard partition, will be mounted at /boot, that is, it is the boot partition, where all boot-related programs will be located. The second primary partition will be the LVM Physical Volume, under which the three logical volumes will be created.

Related Post:  How to enable auto-login and create a guest user account on Fedora 14

The default option on this window is Standard, which is what we want. Click Create.
Anaconda Create Standard Partition

On the next window, shown here, there are three options that we have to modify. They are: Mount Point, File System Type, and Size (in megabytes). For the boot partition, the mount point will, of course, be /boot. While the default file system type on Fedora and virtually all Linux distributions is Ext4, there are other options. However, you do not have to bother about those other options. Aside from physical volume (lvm) and swap, which we will be using further later, you do not need to bother about the rest, at least for this tutorial.
Anaconda Filesystem Options

When the right options for the boot partition have been selected, the window should look just like the one shown here. Notice that for the size, 500 MB was allocated. That is the default size allocation for a boot partition on most Linux distributions. If you do not have a lot of disk space to spare, you can go lower than that. As low as, say, 100 MB. OK.
Anaconda Create Boot Partition

With the boot partition out of the way, select the free space on the main window, and click Create. That should bring up the same window you saw earlier. Since the next partition is a primary partition for LVM, select LVM Physical Volume. Create.
Anaconda Create LVM Volume


Share on facebook
Share on twitter
Share on pinterest
Share on linkedin

Hola! Did you notice that no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Leave a Reply

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

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.


The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.