💾BONUS: logical partition

Logical partition: It occupies a portion of the primary/extended partition or the whole of it, which has been formatted with a specific type of file system (in our case we will use ext4) and has been assigned a unit, so the operating system recognizes the logical partitions or its file system. There can be a maximum of 23 logical partitions in an extended partition, however, Linux, the OS we are currently working with, reduces it to 15, more than enough for this project.

We will start creating this:

  1. Once we have completed the previous step, the partition should already appear. Now we must create a logical partition with all the available space on the disk, which has no mount point and is encrypted. To do this, we select the free space where we want to create it.

    Partitions disk configuration on Debian

  2. We create a new partition.

    Partitions disk configuration on Debian

  3. We select the maximum size.

    Partitions disk configuration on Debian

  4. We select the type of partition, in this case logical.

    Partitions disk configuration on Debian

  5. We will modify the mount point.

    Partition disks configuration on Debian

  6. We will choose the option not to mount it.

    Partition disks configuration on Debian

  7. We finish configuring the current partition.

    Partition disks configuration on Debian

  8. We accept the confirmation message.

    Partition disks configuration on Debian

  9. We create the encrypted volumes.

    Partition disks configuration on Debian

  10. We select which partition we want to encrypt.

    Partition disks configuration on Debian

  11. We finish configuring the current partition.

    Partition disks configuration on Debian

Last updated

Was this helpful?