Install CentOS7 with Luks-over-LVM

General support questions
Post Reply
codeology
Posts: 4
Joined: 2017/09/25 14:51:36

Install CentOS7 with Luks-over-LVM

Post by codeology » 2017/09/25 15:08:57

Hello folks,

I wish to install CentOS7 on a Luks-over-LVM arrangement. I know how to setup Luks-over-LVM on an existing machine, but have no clue about installing a system onto it from the beginning.

Assuming I intend to use the following disk scheme:

Code: Select all

/dev/sda1 ----> /boot

Code: Select all

/dev/sda[2,3,4]  -----> LVM ----> Luks ----> / 

Code: Select all

/dev/sda5 ----> swap
Could someone teach me how to install a system and use Luks-over-LVM as the root mount point? Should I prepare the storage on another machine first? What do I need to do for the installer to recognize Luks and LVM?

Thank you all very much!

Post Reply