Fixed luks naming scheme
This commit is contained in:
parent
93eab81341
commit
ebe54eb884
2 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ To:
|
||||||
And configure `/etc/kernel-hooks.d/secureboot.conf` for cmdline and secureboot.
|
And configure `/etc/kernel-hooks.d/secureboot.conf` for cmdline and secureboot.
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdline="rw rd.luks.name=<uuid>=root root=/dev/vg1/root{n} modules=ext4 quiet splash rd.lvm.vg=vg1"
|
cmdline="rw rd.luks.name=<uuid>=luks root=/dev/vg1/root{n} modules=ext4 quiet splash rd.lvm.vg=vg1"
|
||||||
|
|
||||||
signing_cert="/usr/share/secureboot/keys/db/db.pem"
|
signing_cert="/usr/share/secureboot/keys/db/db.pem"
|
||||||
signing_key="/usr/share/secureboot/keys/db/db.key"
|
signing_key="/usr/share/secureboot/keys/db/db.key"
|
||||||
|
|
|
@ -31,8 +31,8 @@ Then to create the filesystem on the efi partition.
|
||||||
And the encrypted filesystem on the root partition.
|
And the encrypted filesystem on the root partition.
|
||||||
|
|
||||||
```
|
```
|
||||||
# cryptsetup luksFormat /dev/<disk2> --type luks2 --label luks
|
# cryptsetup luksFormat /dev/<disk2> --type luks2
|
||||||
# cryptsetup open --type luks /dev/<disk2> pv1
|
# cryptsetup open --type luks /dev/<disk2> luks
|
||||||
```
|
```
|
||||||
|
|
||||||
Now to create a new LVM volume group:
|
Now to create a new LVM volume group:
|
||||||
|
|
Loading…
Reference in a new issue