From Funtoo
Jump to navigation Jump to search


Loading map...
Camarillo, California, United States of America

RootFS over Encrypted LVM



This guide does not replace, but is rather intended to augment, the Funtoo Linux Installation Guide.

This is a guide to setting up your root filesystem on encrypted LVM. When possible, this guide is written for continuity with the main Funtoo installation documentation.

Preparing your disks

The following is a sample (simple) partitioning scheme. You may want to choose differently, depending on your needs.

If you are using MBR booting:

  • /dev/sda1 -- /boot partition
  • /dev/sda2 -- LUKS/LVM

If you are using UEFI booting:

  • /dev/sda1 -- /boot partition
  • /dev/sda2 -- EFI System Partition
  • /dev/sda3 -- LUKS/LVM

Encrypting your disks


The most paranoid will advise you to write random data to your disk(s) prior to encryption, especially if you have previously used the disks.
It may be a good idea to do so if you have previously had data on these disks.

Create logical volumes

Create filesystems

Preparing to chroot