Boot options for rEFInd

This commit is contained in:
exu 2024-08-21 20:49:22 +02:00
parent 5564623244
commit cee18abc8c

View File

@ -369,10 +369,21 @@ refind-install
`/boot/refind_linux.conf` `/boot/refind_linux.conf`
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):(name) root=/dev/mapper/(name) rootflags=subvol=@ zswap.enabled=0"
``` ```
With unencrypted disks, only `rw` and `root=` are 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 to single-user mode" "rw root=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX single"
"Boot with minimal options" "ro root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
```
#### Manual boot stanza #### Manual boot stanza
Assuming you use a `/boot` partition containing the `EFI` directory and linux kernels. Assuming you use a `/boot` partition containing the `EFI` directory and linux kernels.