There s no way to enter login credentials as the drivers are not loaded yet. Am I missing something?
Some BIOS is able to connect bluetooth keyboard on startup so you have keyboard to enter your password on encrypted disks.
After booting the system bluetooth will be enabled short after the display manager is running. One of my kids does have a bluetooth keyboard conected to a laptop. You just have to wait a few seconds after the login shows up and you can enter the credentials.
Bluetooth mouse or keyboard can only work if they come with an external bluetooth adapter. Those keyboard or mice do not use the on board bluetooth. They connect to their bluetooth adapter which is attached to a USB port.
I have bt adapter connected. Computer is paired with kb. All works well while logged in. If I restart. or boot from a power off, no bt to enter luks pass. Once I get past that, bt works to enter login pass. So it s only the luks section that bt does not work. Something else I noticed in the tray, concerning Bluetooth, is what is says about the connection. It shows contradicting messages.
You have to add bluetooth via dracut and regenerate initramfs.
Add a new .conf file in /etc/dracut.conf.d
for example ble.conf
insert:
add_dracutmodules+=" bluetooth "
afterwards:
sudo dracut-rebuild
Maybe there are some additional steps to figure out, including connection keys might be one of them.
Is this the bluetooth adapter which comes with the keyboard or a different one? If you use the adapter which comes with the keyboard it will also work for the luks password. But will not be able to connect other bluetooth devices with the keyboards adapter.
You can try what @svartis proposed. I have never tried this.
Aye, you are. It’s loaded at UEFI level on post. I have a Logitech MX Keys BT keyboard, and it functions perfectly for anything pre-boot (i.e. UEFI settings, boot menus, systemd boot default options).
UEFI is essentially it’s own little operating system now. An OS before your OS.. ![]()
Created new file in location stated. Ran sudo dracut-rebuild and get the following message:
$ sudo dracut-rebuild
[sudo] password for g:
Running dracut for linux-6.18.8-arch2-1
dracut[W]: If you need to use bluetooth, please include it explicitly.
Strange, did you keep the blanks around " bluetooth ", they are needed.
I think dracut doesn’t include bluetooth by default. By using “add_dracutmodules …” you’re already explicitly forcing bluetooth. Maybe that’s a general notification.
If you use this dongles and the BT keyboard is connected to them, than it would also work on the luks password. But it would not work as a “normal” BT keyboard.
Yes. I copied and pasted what you posted. Is there another way to “include it explicitly”?
In man dracut I found that there is a parameter --force-add where you can explicitly include a module while creating the initramfs. In man dracut.conf there is a hint how to include this parameter into the .conf-files. Use force_add_dracutmodules+=" <dracut modules> " e.g. for bluetooth.
Maybe that helps.

