Ok, so /boot and the physical volume have been created. The next task is to create the volume group and logical volumes. Those will be created from the same window. To get there, select the newly created physical volume, then click New > LVM > Volume Group.
This image is just to show the options that will need to be configured at this step. The first task will be to create the volume group. Creating the volume group just involves filling out the Volume Group Name field. The system’s default volume group name is derived from the hostname of the computer. In this example, the volume group is vg_hu, and that is because the hostname is HU. You do not have to stick with the default. I normally do not. I always like to rename it.
After the volume group name, the next task is to start creating logical volumes and you do that by clicking on the Add button.
Ok, let us create the volume group. I prefer short names, nothing fancy, does not need to be. After you have named the volume group, click on the Add button to start creating the logical volumes.
This image is just to show the options that will have to be set when creating logical volumes. The options are:
- Logical Volume – this is the name of the logical volume. The system default is LogVol00. I always like to rename it after the mount point that will be assigned to the logical volume. For example, I would name the logical volume for /, root, the one for /home, home, the one for swap as swap, etc. Names like those are a lot easier to work with than LogVol00, LogVol01, etc.
- Use – this will be the mount point. You will need to select the appropriate one from the dropdown menu.
- Size – use the slider to specify the size, or just type it in the input field next to it.
- File System – this will always default to ext4, and I see no reason to change it, unless you prefer xfs, which is the other journaling file system option.
Ok, time to start creating the logical volumes. The first one will be mounted at /. What is the appropriate size to allocate to this logical volume? Here’s a hint. A new installation of Pardus 2011 takes up about 4.5 GB of disk space. Most of that is used up by the contents of /usr. So if you intend to create a single root partition (logical volume), then 5 GB is a good size. However, if you are going to create a separate logical volume for /usr, then about 2 GB should be sufficient. Because we are going to have everything but /home under /, 5 GB will be enough. As long as you allocate enough disk space to get the system installed, you should be fine.
To continue with setting up this logical volume, be sure to set the mount point as /, and leave the file system at the default, ext4. OK.
With the first logical volume created, click on the Add button to create the next one. This step will have to be repeated to create all the remaining logical volumes.