fedinstall32

FedoraFedora 14 is the latest update to the Red Hat-sponsored, Linux distribution. It is one of a handful of Linux distributions that use LVM, the Linux Logical Volume Manager, as the default disk partitioning scheme. The installer creates three logical volumes by default, besides the non-LVM /boot partition. The three logical volumes, for /home, /, and swap, are the minimum recommended for a desktop installation. The problem with the default installation is that all available disk space is allocated to the logical volumes, living none for future use when it might be needed to grow a partition, or create a new logical volume. This installation guide takes you through the process of editing each logical volume to free up disk space, space that is not needed for the system to run. At the end (of this tutorial), I will show an example of how to resize (grow) a logical volumes, a basic LVM management task.

When writing these tutorials, I always like to exclude those images that are not pertinent to the subject matter. And so the first image in this tutorial is taken from the step where disk management starts. The default option is to install to Basic Storage Devices, like you would find on a personal computer. The other option is for enterprise-grade installations. Click Next to continue.

fedinstall14
Installation options

The Fedora installer offers several disk partitioning methods. The default is shown below, and would be ok if Fedora is the only OS you want on the disk. Just like the default, the other options are self-explanatory. Because the objective of this tutorial is to modify the default partitions, be sure to enable “Review and modify partitioning layout.” And to take advantage of Fedora’s one-click, full disk encryption scheme, enable “Encrypt system.” Next.

fedinstall15
Disk partition methods

These are the default partitions and logical volumes created by the installer. We have two primary partitions, one of which is for /boot, and the other is the Physical Volume, that is, the primary partition initialized for use by LVM. If you enabled the encryption option as in this example, the Physical Volume will be encrypted. The test system, which was in a virtual environment, had a disk size of 100 GB, all of which the installer allocated to /boot and the three logical volumes. This is where we begin to modify the logical volumes to free up space, leaving just enough on the logical volumes to install the system.

Related Post:  Why your computer needs a firewall enabled

You can see in this example that about 50% of the available disk space was allocated to lv_root, the root file system, and a similar percentage to lv_home. Since a default installation of Fedora 14 uses less than 2.5 GB of disk space, nothing will be adversely affected if you reduce the size of the logical volumes. To start editing the logical volumes, select each and click on the Edit button, or just double-click on the one you want to edit.

fedinstall16
Default partitions

Note: the only entry that is not editable at this step is the physical volume. Try it and you will get the alert shown below.

fedinstall23
Volume edit error message

Ok, if you selected any logical volume for editing, the following window will be opened. The first one being edited here is lv_root. The primary goal is to reduce the size, but we can also edit the name of the logical volume. I prefer the logical volume names to be without the lv_ prefix. So lv_root I would rename to just root, lv_home to home, and lv_swap to swap.

Related Post:  Install BackTrack 5 Revolution 2 on external hard drive

Knowing that a new installation of Fedora 14 can be installed on less than 2.5 GB of disk space, reducing the size of lv_root to any value above that should be fine. For this example, I have reduced it to 8 GB. 3 GB should be good too. The name of the logical volume will also be changed as suggested in the previous paragraph.

fedinstall17
Default /root logical volume

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com 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

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.
Hacking, pentesting distributions

Linux Distributions for Hacking

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

Categories
Archives

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.