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 Blockchain technology will change online and offline gambling

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 install Jitsi in Fedora

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 run network ads?  Yep, no more ads from the usual suspects that track and annoy 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 or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

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

Upcoming events

9 Responses

  1. 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.

    1. A boot partition is not necessary if 2 hard drives are involved, and, afaik, it does not matter which distro is on sda or sdb. Note that a boot partition makes boot recovery operations a bit easier, so it is not only when dual-booting that you need a separate partition for /boot.

      If you install Pardus on sda, and Mint on sdb, by default, Mint’s installer will install GRUB 2, Mint’s boot loader, in the MBR of sda, with an entry for Pardus added automatically to the boot menu. This is the easiest way. No modifications to GRUB files needed. The reverse is also true, if you install Mint on sda and Pardus on sdb.

      When dual-booting with 2 hard drives, however, I find that it is better to install each distro’s boot loader in the MBR of its own hard drive. That way, if something goes wrong with one drive, you can always boot from the other without messing with anything. And you do not have to bother about editing any GRUB files because the last distro you install will automatically add an entry for the other in its GRUB menu.

      But since the boot menu of the first distro, the one on sda, will not have an entry for the distro on sdb, you may update GRUB, when logged int the first distro. That should cause it to probe the drives and add an entry for the distro on the second drive in its menu.

      I’ll post a detailed tutorial on dual-booting 2 Linux distros on separate hard drives this Saturday.

      1. 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.

  2. 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..

Leave a Reply

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

Get the latest

On social media
Via my newsletter

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.