parduslvm15

Pardus Pardus is a Linux distribution with roots in the National Research Institute of Electronics and Cryptology (UEKAE), Turkey. It is one of many distributions that does not have support for the Linux Logical Volume Manager (LVM). However, that is about to change because YALI, the installation program in the next stable version, Pardus 2011, will have full support for LVM. But better than having full support for LVM is the fact that LVM will be the default disk partitioning scheme.

This article presents a step by step guide on how to install Pardus 2011 on a custom LVM disk partitioning scheme.

If LVM is the default disk partitioning scheme, why would it be necessary to create a custom configuration? Because in the default installation of Pardus 2011 (beta), the installer creates just two logical volumes, one for / and the other for swap, and allocates all the available disk space to these two logical volumes. A configuration that defeats some of the benefits of LVM. The main objective of this tutorial is to show how to create not just a single logical volume (for /), but also one for /home, and to allocate just enough disk space to each (logical volume) needed to get the system installed. This would leave a significant percentage of the available disk space unallocated. After installation, the unallocated disk space will then be used to create additional logical volumes, or grow existing ones – if there is a need to.

Related Post:  So that is how SSH got assigned port 22

Note: While this tutorial is based on an installation of a beta release, I do not see any changes being made to the installer between now and when the stable version becomes available. I did not experience any issues with the installer.

Ok, let us get started already. First, grab a copy of Pardus 2011 (beta) DVD ISO image, and boot your computer from it. As is customary for all disk partitioning tutorials that I have written, the first image comes from the step where disk partitioning starts. Steps before this one bear no relevance to this tutorial and have, therefore, been omitted. In this step, you will have to select the last option, Create Custom Layout, to start. Click Next to continue.

parduslvm
Choose partition method

If the hard drive on your computer has already been initialized, the installer will present the options shown in the image below. Select the free space and click on New > Standard > Partition.

parduslvm1
Create standard partition

When setting up LVM, the first partition to create will be a non-LVM partition for /boot. And that is what we are going to create in the step. On a new installation of Pardus 2011, the installer allocates 500 MB to /boot. That seems to be the recommended size for /boot, and I see no reason not to do the same. If, however, you are installing on an old computer with very limited disk space, you can go as low as 100 MB, even 50 MB. If you go that low, keep in mind that you could face some problems when it comes time to upgrade the kernel.

Related Post:  How to configure DKIM in VestaCP for external DNS

For the /boot and the logical volumes that will be created for this test installation, the default file system type is ext4, and that is what I will stick to. The other journaling file systems supported are ext3 and xfs. The mount point for this partition is, of course, /boot. Keep in mind that the installer will always create the first partition as a primary partition, so it is not necessary to enable “Force to be a primary partition.” Click OK when you are done.

parduslvm2
Creating /boot

Now that the non-LVM partition has been created, select the free space, then click on New > LVM > Physical Volume, to create the physical volume.

parduslvm3
Create LVM partition

At this step, the file system will be pre-selected as lvmpv (physical volume for LVM), and I have elected to allocate the remaining disk space for use by LVM. “Force to be a primary partition” is unchecked by default, but I have also decided to enable it. If this option is unchecked, the physical volume will be /dev/sda5, and /dev/sda2 if it is enabled. Either way, it really does not matter. OK

parduslvm4
Create physical 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.

One Response

  1. How configure :
    1) /etc/ansible/hosts

    2) inventories/example et inventories/example.yml
    ( Les noms de fichiers doivent être les mêmes que votre environnement :
    inventories/staging and inventories/staging.yml )

    3) playbook.yml

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.

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.