Compare commits
No commits in common. "7ee1bc099d70561ca8a78ba361118230632ed59a" and "93eab813411a0de6a5ecaa8c8cf6677a180005a7" have entirely different histories.
7ee1bc099d
...
93eab81341
2 changed files with 5 additions and 5 deletions
|
@ -89,7 +89,7 @@ To:
|
|||
And configure `/etc/kernel-hooks.d/secureboot.conf` for cmdline and secureboot.
|
||||
|
||||
```
|
||||
cmdline="rw rd.luks.name=<uuid>=luks root=/dev/vg1/root{n} modules=ext4 quiet splash rd.lvm.vg=vg1"
|
||||
cmdline="rw rd.luks.name=<uuid>=root root=/dev/vg1/root{n} modules=ext4 quiet splash rd.lvm.vg=vg1"
|
||||
|
||||
signing_cert="/usr/share/secureboot/keys/db/db.pem"
|
||||
signing_key="/usr/share/secureboot/keys/db/db.key"
|
||||
|
|
|
@ -31,14 +31,14 @@ Then to create the filesystem on the efi partition.
|
|||
And the encrypted filesystem on the root partition.
|
||||
|
||||
```
|
||||
# cryptsetup luksFormat /dev/<disk2> --type luks2
|
||||
# cryptsetup open --type luks /dev/<disk2> luks
|
||||
# cryptsetup luksFormat /dev/<disk2> --type luks2 --label luks
|
||||
# cryptsetup open --type luks /dev/<disk2> pv1
|
||||
```
|
||||
|
||||
Now to create a new LVM volume group:
|
||||
|
||||
```
|
||||
# vgcreate vg1 /dev/mapper/luks
|
||||
# vgcreate vg1 /dev/mapper/pv1
|
||||
```
|
||||
|
||||
To create partitions inside the volume group:
|
||||
|
@ -61,4 +61,4 @@ for i in root{n} var{n} tmp{n} nix{n} home{n}; do
|
|||
> done
|
||||
```
|
||||
|
||||
Other filesystems can also be used but `ext4` is the standard for most Linux distrobutions.
|
||||
Other filesystems can also be used but `ext4` is the standard for most Linux distrobutions.
|
Loading…
Reference in a new issue