Make disk and LUKS labling more clear
This commit is contained in:
parent
7e3e702929
commit
2c43edf30a
@ -71,7 +71,7 @@ Create encrypted Partition with a label. This label will later be used to identi
|
|||||||
[shroot]
|
[shroot]
|
||||||
|
|
||||||
```
|
```
|
||||||
cryptsetup luksFormat --label=(label) /dev/(partition)
|
cryptsetup luksFormat --label=<label>disk /dev/(partition)
|
||||||
```
|
```
|
||||||
|
|
||||||
[/shroot]
|
[/shroot]
|
||||||
@ -81,7 +81,7 @@ Open the partition and specify a name
|
|||||||
[shroot]
|
[shroot]
|
||||||
|
|
||||||
```
|
```
|
||||||
cryptsetup open /dev/(partition) (name)
|
cryptsetup open /dev/(partition) <name>mapper
|
||||||
```
|
```
|
||||||
|
|
||||||
[/shroot]
|
[/shroot]
|
||||||
@ -369,14 +369,14 @@ refind-install
|
|||||||
|
|
||||||
`/boot/refind_linux.conf`
|
`/boot/refind_linux.conf`
|
||||||
|
|
||||||
With LUKS:
|
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.
|
With unencrypted disks, only `rw` and `root=` are required.
|
||||||
Make sure to include additional kernel options like `zswap.enabled=0` if required.
|
Make sure to include additional kernel options like `zswap.enabled=0` if required.
|
||||||
|
|
||||||
```
|
```
|
||||||
"Boot with standard options" "rw root=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
|
"Boot with standard options" "rw root=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
|
||||||
|
Loading…
Reference in New Issue
Block a user