Make disk and LUKS labling more clear

This commit is contained in:
exu 2024-10-13 18:17:58 +02:00
parent 7e3e702929
commit 2c43edf30a

View File

@ -71,7 +71,7 @@ Create encrypted Partition with a label. This label will later be used to identi
[shroot]
```
cryptsetup luksFormat --label=(label) /dev/(partition)
cryptsetup luksFormat --label=<label>disk /dev/(partition)
```
[/shroot]
@ -81,7 +81,7 @@ Open the partition and specify a name
[shroot]
```
cryptsetup open /dev/(partition) (name)
cryptsetup open /dev/(partition) <name>mapper
```
[/shroot]
@ -372,7 +372,7 @@ refind-install
With LUKS:
```
"Boot with standard options" "rw loglevel=3 quiet cryptdevice=LABEL=(label):(name) root=/dev/mapper/(name) rootflags=subvol=@ zswap.enabled=0"
"Boot with standard options" "rw loglevel=3 quiet cryptdevice=LABEL=<label>disk:<name>mapper root=/dev/mapper/<name>mapper rootflags=subvol=@ zswap.enabled=0"
```
With unencrypted disks, only `rw` and `root=` are required.