Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]detached header luks on /
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
lfs0a
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2016
Posts: 136

PostPosted: Thu Mar 25, 2021 4:16 pm    Post subject: [SOLVED]detached header luks on / Reply with quote

Is anyone try to install gentoo on a detached header encrypted disk?
like below:
Code:
cryptsetup luksFormat /dev/sda --header header
cryptsetup open /dev/sda gentoo --header header
mkfs.ext4 /dev/mapper/gentoo

and then mount /dev/mapper/gentoo,and install gentoo on it,of course there is a separate /boot.

there is no UUID of /dev/sda,so there is no way to put a value to
Code:
crypt_root

any ideas?



and I try to encrypt /boot too,but with header of course,
when I at grub shell,there is a cryptomount command,when I issued:
Code:
cryptomount (hd1,msdos1)

there is nothing output,no error,no prompt,
that's weird!
anyone knows why?

Thanks in advance.









EDIT:
As of version 2.0.4 GRUB does not support LUKS2 headers; see GRUB bug #55093
and I found out initramfs can be custom,so I can package a cryptsetup in it.
consider SOLVED.
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