You are not logged in.
Hi,
This has been a real head scratcher, but essentially I'm trying to disable password echo. My setup is using LUKS2,dracut, systemd-boot, GPT auto partition mounting, unified kernel image
My google fu has been failing and trying to determine why the luks options are being ignored.
https://wiki.archlinux.org/title/Dm-cry … sword_echo
/etc/dracut.conf.d/10-cmdline.conf:
`kernel_cmdline="rootflags=subvol=@ quiet rd.luks.options=timeout=10s,discard,password-echo=no,tries=2"` The options are showing up in the logs, but haven't been able to figure this out yet
Sep 21 19:09:18 kernel: Command line: rootflags=subvol=@ quiet rd.luks.options=timeout=30s,discard,password-echo=no,tries=2
Sep 21 19:09:22 systemd-tty-ask-password-agent[417]: Password query on /dev/tty1 finished successfully.
Sep 21 19:09:22 systemd-cryptsetup[415]: Set cipher aes, mode xts-plain64, key size 512 bits for device /dev/gpt-auto-root-luks.Any help or suggestions are much appreciated.
Last edited by smigtech (2023-10-06 18:57:20)
Offline
I've solved this issue.
you must specify
rd.luks.name=<UUID>=root# (or whatever you want to call your /) root=/dev/mapper/root # (or the name you called it)then the luks options will work
Offline
Since you are using systemd-boot and uki, the system can auto mount root if you set the partition type to Linux Root, and probably your system is x86-64, so type Linux Root (x86-64).
In other words, if you are using the mkinitcpio hook systemd instead of udev and sd-encrypt instead of encrypt, changing the partition type will make the systemd auto mount the root without any cmdline for it to happen. But since you are using btrfs you will also to set the @ (or whatever your root subvolume is to be the default for that btrfs partition).
Resources:
https://www.freedesktop.org/wiki/Specif … tionsSpec/
https://www.walian.co.uk/ (the tutorial where I learnt it from)
https://bbs.archlinux.org/viewtopic.php?id=289103 (a post I made asking help about it, and it might bring some extra insight)
Offline
Since you are using systemd-boot and uki, the system can auto mount root if you set the partition type to Linux Root, and probably your system is x86-64, so type Linux Root (x86-64).
In other words, if you are using the mkinitcpio hook systemd instead of udev and sd-encrypt instead of encrypt, changing the partition type will make the systemd auto mount the root without any cmdline for it to happen. But since you are using btrfs you will also to set the @ (or whatever your root subvolume is to be the default for that btrfs partition).
Resources:
https://www.freedesktop.org/wiki/Specif … tionsSpec/
https://www.walian.co.uk/ (the tutorial where I learnt it from)
https://bbs.archlinux.org/viewtopic.php?id=289103 (a post I made asking help about it, and it might bring some extra insight)
Hey man, I didn’t ask for this.. lol I had no issues with booting my system.
Offline
I know, I just thought it might be useful to you, sorry!
Offline