debwin29

Manual LVM configuration guide for Debian 6

On this screen, select a suitable file system type. Keep in mind that the default is ext2. I have chosen ext3, a journaling file system, just to show that it does not matter. There is a small overhead associated with using a journaling file system, but it is nothing to fret about.

Then select the mount point. This will be /boot. Click or scroll to “Done with the partition,” then click on Continue.
debwin11

With the /boot partition created, the next step is to initialize the free space for use by LVM. To do that, select the free space, then click Continue.
debwin12

The installer will want to create this as a logical partition, but choosing “Primary” will do just as well. The only difference you will notice is that the partition will be shown as /dev/sda2, the second partition of the disk, rather than /dev/sda5, the first logical partition of an extended partition. Continue.
debwin13

On this screen, select “physical volume for LVM.” If you would like to install the system on an encrypted LVM (recommended), then select that option. Then scroll down to “Done setting up the partition.” Continue.
debwin14

With the PV created, the next task is to create the Volume Group. To do that, scroll up to “Configure the Logical Volume Manager.” Continue.
debwin15

Then select “Create Volume Group.” Continue.
debwin17

Creating a VG only entails giving it a name. Any name will do. Capitalization is not required. Continue.
debwin18

Select the PV that will be used in the VG you just created. There is only one PV in this example, and that would be /dev/sda2. It would be /dev/sda5 if you created it as a logical partition. Continue.
debwin19

With the VG created and the PV assigned to the VG, now is the time to start creating Logical Volumes (LV). Only three will be created. You can create more, but for a desktop system, the three created in this tutorial will be all you need. Scroll to “Create logical volume.” Continue.
debwin20

Only one VG is available. Continue.
debwin21

Please share:

23 Responses

Add a Comment

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