Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring grub for multiple encrypted disks using luks/lvm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
turbosloot
n00b
n00b


Joined: 24 Dec 2017
Posts: 1

PostPosted: Mon Dec 25, 2017 1:16 am    Post subject: Configuring grub for multiple encrypted disks using luks/lvm Reply with quote

I am at the grub config step in a laptop install with two separate SSDs
I have formatted them under separate physical and logical volumes with lvm and encrypted using luks
The guide I am using does not specify what should be done for a second disk

This is what I have in the grub config so far:
Code:
GRUB_PRELOAD_MODULES=lvm
GRUB_ENABLE_CRYPTODISK=y
GRUB_DEVICE=/dev/ram0
GRUB_CMDLINE_LINUX="crypt_root=/dev/sda4 real_root=/dev/mapper/crypt-root rootfstype=ext4 dolvm quiet splash"


crypt_root is /dev/sdb2 and real_root is /dev/mapper/cryptb-files for the second SSD
How should I add this second encrypted logical volume to the grub config?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum