fix config and comment

This commit is contained in:
Maciej Lebiest 2021-06-29 17:33:30 +02:00 committed by GitHub
parent 6f18c9388e
commit b8e04a3334
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,9 +219,9 @@ For setting up different locale than pl check official guide
>>GRUB_ENABLE_CRYPTODISK=y >>GRUB_ENABLE_CRYPTODISK=y
### Find UUID (PARTUUID for /dev/sdX2) of crypto partition so we can add it to grub config ### Find UUID (PARTUUID for /dev/sdX2) of crypto partition so we can add it to grub config
>blkid >blkid
### Now set this line including proper UUID in place of "UUID": ### Now set this line including proper UUID in place of "<device-UUID>":
>/etc/default/grub >/etc/default/grub
>>GRUB_CMDLINE_LINUX="cryptdevice=UUID:MainPart:allow-discards >>GRUB_CMDLINE_LINUX="cryptdevice=UUID=\<device-UUID>:MainPart:allow-discards
### allow-discards is only for ssd ### allow-discards is only for ssd
### Generate key so grub don't ask twice for password on boot ### Generate key so grub don't ask twice for password on boot