mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut… (#265)
* add rd.luks.uuid to GRUB_CMDLINE (fixes unbootable system with dracut --nohostonly, and doesn't affect any other initramfs generators) * typo
This commit is contained in:
parent
d54ec4a9ff
commit
7e74d48fb6
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||
cryptdevice_params = [
|
||||
"cryptdevice=UUID={!s}:{!s}".format(partition["luksUuid"],
|
||||
partition["luksMapperName"]),
|
||||
"root=/dev/mapper/{!s}".format(partition["luksMapperName"])
|
||||
"root=/dev/mapper/{!s}".format(partition["luksMapperName"]),
|
||||
# Fix for unbootable system with dracut --nohostonly
|
||||
"rd.luks.uuid={!s}".format(partition["luksUuid"])
|
||||
]
|
||||
|
||||
kernel_params = ["quiet"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue