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
645ba95989
commit
601f61fefa
@ -51,7 +51,9 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||||||
cryptdevice_params = [
|
cryptdevice_params = [
|
||||||
"cryptdevice=UUID={!s}:{!s}".format(partition["luksUuid"],
|
"cryptdevice=UUID={!s}:{!s}".format(partition["luksUuid"],
|
||||||
partition["luksMapperName"]),
|
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"]
|
kernel_params = ["quiet"]
|
||||||
|
Loading…
Reference in New Issue
Block a user