How to configure LVM on Pardus 2011

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:  How to get back that friendly desktop look on Mageia 2 GNOME 3

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:  With Btrfs the default on openSUSE, when will other distros follow suit

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

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
9 Comments
Inline Feedbacks
View all comments
craig
craig
10 years ago

Hi, I have a few questions. Is it necessary to create a boot partition if you’re dual booting from separate drives? I followed your Linux Mint partitioning guide and had problems. Then I went back and realized that guide was for a single drive setup. Doh!

Now, for Grub. I understand Pardus uses Grub Legacy whereas Mint uses Grub2. Any advice on where I should install Grub for Pardus? Or which bootloader I should let be the default. Would you happen to have any links to guides on adding entries to the bootloader I end up using? I have one for adding Mint to Grub Legacy but it seems a little complicated for a noob like me. Thank you for your time and your guides.

craig
craig
Reply to  finid
10 years ago

Thank you for your quick and detailed response. Unless I’m misunderstanding you, it sounds like it would be helpful to have a boot partition even with dual booting. However, when I followed your guide for partitioning Mint I got a black screen and this message: The disk drive for /boot is not ready or not present. Continue to wait; or press S to skip mounting or M for manual recovery. I waited, nothing happened. I pressed M, had no idea what to do. I pressed S and was able to login normally. It just seemed pointless to have the /boot partition or that it might cause problems in the future.

I’ll just try it with a boot partition and see what happens. I can always reinstall. I’m installing over Windows. So, I’m finally getting off the MS train. I never saw this coming. Especially since I’d never heard of Linux two years ago. Thanks again. Keep up the great work.

UNNIKRISHNAN
UNNIKRISHNAN
10 years ago

hi i tried to dual boot pardus and windows 7..
i have dual booted many linux os with windows but with pardus i cant dual boot it,..i have already installed win 7 then installed pardus..it dint work..
then i installed pardus first and win 7 later..i tried to do dual booting ,using bcd ..i created 2 options at boot..windows 7 and pardus..win 7 boots fine..but when i select pardus nothing happens..just a black screen with a blinking cursor..could u pls make a video of this and upload in you tube..

if u cant make a video then please give all the screenshots of this installation that is DUAL BOOTING WINDOWS 7 AND PARDUS.. ,,especially for selecting the partitions and using bcd..PLS HELP ME..I LOVE THAT PARDUS OS..BUT CANT REMOVE WIN 7 SINCE MY PARENTS NEED IT..

unnikrishnan
unnikrishnan
Reply to  finid
10 years ago

thanx finid for the concern and ur quick reply..

unni..

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux
Categories
Archives
9
0
Hya, what do you think? Please comment.x
()
x
Algorithm 2020

Did you get your ticket yet?

Algorithm 2022 is a 3-day conference on blockchain, cryptocurrencies and AI set for Feb. 10 – 12, 2022, in Dallas. Speakers from the US Air Force, Ministry of Digital Transformation, Ukraine, and more. click that button to learn more and get your ticket. Use BSD20 code for 20% off ticket price.