lfs0a Tux's lil' helper
Joined: 19 Oct 2016 Posts: 136
|
Posted: Thu Mar 25, 2021 4:16 pm Post subject: [SOLVED]detached header luks on / |
|
|
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
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. |
|