Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "User:Dwhitese"

From Funtoo
Jump to navigation Jump to search
 
Line 12: Line 12:
= RootFS over Encrypted LVM =
= RootFS over Encrypted LVM =
== Introduction ==
== Introduction ==
{{Note| This guide does not replace, but is rather intended to augment, the [[Funtoo Linux Installation]] Guide. }}
{{Note|
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.  
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.  
Line 29: Line 30:


== Encrypting your disks ==
== Encrypting your disks ==
{{Note| 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.<br>
{{Note|
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.<br>
It may be a good idea to do so if you have previously had data on these disks.}}
It may be a good idea to do so if you have previously had data on these disks.}}



Latest revision as of 21:43, August 23, 2016


Location

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


RootFS over Encrypted LVM

Introduction

   Note

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

   Note

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

Configuration