Below post will describe how can we make Custom Partition in Linux using Logical Volume Manager. Benefit of having LVM is – we can later on increase the size of our Physical Volume so we no need to worry about the space now.
Just to show /boot partition can not be in LVM i selected Swap name and gave size 200MB, later on we will change it to /boot. So it will look like below.
Now select the Free Size and click on “Create”, pop up will come up – then select “LVM Physical Volume” and Press “Create”:
File System Type – should be “physical volume(LVM)” and give “Fill to maximum allowable size” to this and press OK.
It will be displayed like below:
Click Create – Give Volume Group Name – VOLGroup00 and Physical Extent is 4 MB, in our case it will solve the purpose.
Now click on Add and Create Partition for SWAP and select almost double of RAM – however not necessary. Press OK.
SWAP partition over Logical Volume has been created, we can easily extend it later on. That is what we are going to get if we need to.
Finally it will look like below:
So we will get the below error as we did not create /boot partition separately and Kernel will decide that /root partition will itself contain /boot- though its not possible to have /boot partition in Logical Volumes.
So press ok and select the SWAP partition we created above and gave 200 MB.Change the – Mount Point to /boot and File System Type – ext4. Press OK. Make sure it should be – Force to be a Primary Partition.
Hope it helps..