Keyboard isn't working when it comes to enter the password for encrypted root The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsHow can I activate extra-verbose mode (debugging mode) during Debian boot?Inittab seems to ignore remount,rw /How to set keyboard layout used to enter password on an encrypted filesystem?ERROR: Root device mounted successfully, but /sbin/init does not existSet up bluetooth keyboard to enter disk encryption passwordHow to Modify Android Boot Sequence in Order to Boot From an SD CardHow to change the order of HOOKS in debian iniramfs configuration?luks encrypted root partition and swiss keyboardDebian fails to prompt for encrypted disk password on bootHow to boot into root btrfs file system with minimal initramfs without udev hook?Cannot start archlinux after update: Cannot find uuid
Presidential Pardon
Why are PDP-7-style microprogrammed instructions out of vogue?
What do I do when my TA workload is more than expected?
60's-70's movie: home appliances revolting against the owners
Button changing its text & action. Good or terrible?
How to read αἱμύλιος or when to aspirate
Can each chord in a progression create its own key?
Huge performance difference of the command find with and without using %M option to show permissions
What happens to a Warlock's expended Spell Slots when they gain a Level?
Is every episode of "Where are my Pants?" identical?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Why can't wing-mounted spoilers be used to steepen approaches?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Can withdrawing asylum be illegal?
How did the crowd guess the pentatonic scale in Bobby McFerrin's presentation?
Match Roman Numerals
Can the DM override racial traits?
Word for: a synonym with a positive connotation?
Does Parliament hold absolute power in the UK?
Can we generate random numbers using irrational numbers like π and e?
Mortgage adviser recommends a longer term than necessary combined with overpayments
What's the point in a preamp?
Keyboard isn't working when it comes to enter the password for encrypted root
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsHow can I activate extra-verbose mode (debugging mode) during Debian boot?Inittab seems to ignore remount,rw /How to set keyboard layout used to enter password on an encrypted filesystem?ERROR: Root device mounted successfully, but /sbin/init does not existSet up bluetooth keyboard to enter disk encryption passwordHow to Modify Android Boot Sequence in Order to Boot From an SD CardHow to change the order of HOOKS in debian iniramfs configuration?luks encrypted root partition and swiss keyboardDebian fails to prompt for encrypted disk password on bootHow to boot into root btrfs file system with minimal initramfs without udev hook?Cannot start archlinux after update: Cannot find uuid
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Hello I installed Debian, the entry in the NVRAM made by the installer isn't working so I boot it with refind using the following kernel parameters :
rw nomodeset root=/dev/mapper/cryptroot initrd=/initrd-ver.img cryptdevice=/dev/nvm0n1p4:cryptroot
Problem is that when it comes for asking to unlock the disk the keyboard isn't working (won't accept any input).
The keyboard is a USB keyboard with embbeded firmware (Strix Tactic Pro).
How do I do ? I've been thinking to change the hooks in the initramfs system and put the keyboard hook at the beginning but I have no idea what to do since the initramfs thing seems so much difficult and the documentation for it very obscure contrary to the archlinux /etc/mkinitcpio.conf / mkinitcpio -p linux
that I got to work easily thanks to their great wiki.
Could someone explain me how to activate the keyboard when the system prompt for the password to unlock encrypted partition or how to rebuild an initrd.img file with the keyboard hook that allows the keyboard to work at prompt?
After 1min or 2min of idle it starts to work alone, but if you want to inform me about the debian initramfs system and hooks or tell me why it is so slow for the keyboard to get responsive you're welcome.
debian boot keyboard initramfs
add a comment |
Hello I installed Debian, the entry in the NVRAM made by the installer isn't working so I boot it with refind using the following kernel parameters :
rw nomodeset root=/dev/mapper/cryptroot initrd=/initrd-ver.img cryptdevice=/dev/nvm0n1p4:cryptroot
Problem is that when it comes for asking to unlock the disk the keyboard isn't working (won't accept any input).
The keyboard is a USB keyboard with embbeded firmware (Strix Tactic Pro).
How do I do ? I've been thinking to change the hooks in the initramfs system and put the keyboard hook at the beginning but I have no idea what to do since the initramfs thing seems so much difficult and the documentation for it very obscure contrary to the archlinux /etc/mkinitcpio.conf / mkinitcpio -p linux
that I got to work easily thanks to their great wiki.
Could someone explain me how to activate the keyboard when the system prompt for the password to unlock encrypted partition or how to rebuild an initrd.img file with the keyboard hook that allows the keyboard to work at prompt?
After 1min or 2min of idle it starts to work alone, but if you want to inform me about the debian initramfs system and hooks or tell me why it is so slow for the keyboard to get responsive you're welcome.
debian boot keyboard initramfs
What kind of keyboard is it? A basic USB keyboard or something else?
– Gilles
Mar 17 '16 at 23:10
@Gilles it's a usb keyboard with embbeded firmware (strix tactic pro)
– ChiseledAbs
Mar 18 '16 at 8:28
Do you know if it needs some special driver support in Linux? It's rare for a keyboard to need that (most work with a standard USB keyboard driver), so maybe Debian's scripts aren't set up for it, and they show the prompt before making sure that the extra keyboard driver is initialized.
– Gilles
Mar 18 '16 at 16:16
@Gilles well I don't know, I don't think so since it's working fine in the UEFI
– ChiseledAbs
Mar 18 '16 at 17:28
User's added some info that might help solve this, at this related post @Gilles
– forgotstackxpassword
Mar 24 '16 at 20:27
add a comment |
Hello I installed Debian, the entry in the NVRAM made by the installer isn't working so I boot it with refind using the following kernel parameters :
rw nomodeset root=/dev/mapper/cryptroot initrd=/initrd-ver.img cryptdevice=/dev/nvm0n1p4:cryptroot
Problem is that when it comes for asking to unlock the disk the keyboard isn't working (won't accept any input).
The keyboard is a USB keyboard with embbeded firmware (Strix Tactic Pro).
How do I do ? I've been thinking to change the hooks in the initramfs system and put the keyboard hook at the beginning but I have no idea what to do since the initramfs thing seems so much difficult and the documentation for it very obscure contrary to the archlinux /etc/mkinitcpio.conf / mkinitcpio -p linux
that I got to work easily thanks to their great wiki.
Could someone explain me how to activate the keyboard when the system prompt for the password to unlock encrypted partition or how to rebuild an initrd.img file with the keyboard hook that allows the keyboard to work at prompt?
After 1min or 2min of idle it starts to work alone, but if you want to inform me about the debian initramfs system and hooks or tell me why it is so slow for the keyboard to get responsive you're welcome.
debian boot keyboard initramfs
Hello I installed Debian, the entry in the NVRAM made by the installer isn't working so I boot it with refind using the following kernel parameters :
rw nomodeset root=/dev/mapper/cryptroot initrd=/initrd-ver.img cryptdevice=/dev/nvm0n1p4:cryptroot
Problem is that when it comes for asking to unlock the disk the keyboard isn't working (won't accept any input).
The keyboard is a USB keyboard with embbeded firmware (Strix Tactic Pro).
How do I do ? I've been thinking to change the hooks in the initramfs system and put the keyboard hook at the beginning but I have no idea what to do since the initramfs thing seems so much difficult and the documentation for it very obscure contrary to the archlinux /etc/mkinitcpio.conf / mkinitcpio -p linux
that I got to work easily thanks to their great wiki.
Could someone explain me how to activate the keyboard when the system prompt for the password to unlock encrypted partition or how to rebuild an initrd.img file with the keyboard hook that allows the keyboard to work at prompt?
After 1min or 2min of idle it starts to work alone, but if you want to inform me about the debian initramfs system and hooks or tell me why it is so slow for the keyboard to get responsive you're welcome.
debian boot keyboard initramfs
debian boot keyboard initramfs
edited Mar 18 '16 at 16:15
Gilles
547k13011131629
547k13011131629
asked Mar 17 '16 at 10:31
ChiseledAbsChiseledAbs
88431432
88431432
What kind of keyboard is it? A basic USB keyboard or something else?
– Gilles
Mar 17 '16 at 23:10
@Gilles it's a usb keyboard with embbeded firmware (strix tactic pro)
– ChiseledAbs
Mar 18 '16 at 8:28
Do you know if it needs some special driver support in Linux? It's rare for a keyboard to need that (most work with a standard USB keyboard driver), so maybe Debian's scripts aren't set up for it, and they show the prompt before making sure that the extra keyboard driver is initialized.
– Gilles
Mar 18 '16 at 16:16
@Gilles well I don't know, I don't think so since it's working fine in the UEFI
– ChiseledAbs
Mar 18 '16 at 17:28
User's added some info that might help solve this, at this related post @Gilles
– forgotstackxpassword
Mar 24 '16 at 20:27
add a comment |
What kind of keyboard is it? A basic USB keyboard or something else?
– Gilles
Mar 17 '16 at 23:10
@Gilles it's a usb keyboard with embbeded firmware (strix tactic pro)
– ChiseledAbs
Mar 18 '16 at 8:28
Do you know if it needs some special driver support in Linux? It's rare for a keyboard to need that (most work with a standard USB keyboard driver), so maybe Debian's scripts aren't set up for it, and they show the prompt before making sure that the extra keyboard driver is initialized.
– Gilles
Mar 18 '16 at 16:16
@Gilles well I don't know, I don't think so since it's working fine in the UEFI
– ChiseledAbs
Mar 18 '16 at 17:28
User's added some info that might help solve this, at this related post @Gilles
– forgotstackxpassword
Mar 24 '16 at 20:27
What kind of keyboard is it? A basic USB keyboard or something else?
– Gilles
Mar 17 '16 at 23:10
What kind of keyboard is it? A basic USB keyboard or something else?
– Gilles
Mar 17 '16 at 23:10
@Gilles it's a usb keyboard with embbeded firmware (strix tactic pro)
– ChiseledAbs
Mar 18 '16 at 8:28
@Gilles it's a usb keyboard with embbeded firmware (strix tactic pro)
– ChiseledAbs
Mar 18 '16 at 8:28
Do you know if it needs some special driver support in Linux? It's rare for a keyboard to need that (most work with a standard USB keyboard driver), so maybe Debian's scripts aren't set up for it, and they show the prompt before making sure that the extra keyboard driver is initialized.
– Gilles
Mar 18 '16 at 16:16
Do you know if it needs some special driver support in Linux? It's rare for a keyboard to need that (most work with a standard USB keyboard driver), so maybe Debian's scripts aren't set up for it, and they show the prompt before making sure that the extra keyboard driver is initialized.
– Gilles
Mar 18 '16 at 16:16
@Gilles well I don't know, I don't think so since it's working fine in the UEFI
– ChiseledAbs
Mar 18 '16 at 17:28
@Gilles well I don't know, I don't think so since it's working fine in the UEFI
– ChiseledAbs
Mar 18 '16 at 17:28
User's added some info that might help solve this, at this related post @Gilles
– forgotstackxpassword
Mar 24 '16 at 20:27
User's added some info that might help solve this, at this related post @Gilles
– forgotstackxpassword
Mar 24 '16 at 20:27
add a comment |
1 Answer
1
active
oldest
votes
I know this is a 2 years old question. OP probably has moved on and doesn't need the answer anymore.
I had the same problem with my laptop running Debian Stretch, and I ended up here because I was searching it on Google. After trial and error, I've found the root cause of the problem and fixed it. I hope this answer can help other people who is searching similar issue and comes across here
TL;DR: sudo rm /etc/initramfs-tools/conf.d/driver-policy && sudo update-initramfs -u
The reason is because during the Debian installation, the installer ask you would you like to include most drivers in your initramfs or only the needed drivers, and I selected only needed.
It worked fine, until I get an USB keyboard and external monitors. I have two passwords during boot, one set in the UEFI/BIOS to boot the laptop, another is for the Debian LUKS encrypted root. Although the USB keyboard worked fine for the laptop boot password set in the UEFI/BIOS, it cannot be used to enter the password to unlock the encrypted root partition. I had to open the lid and use the keyboard on the laptop to enter the 2nd password.
It turns out that the USB keyboard driver (or maybe all USB drivers, since during the Debian installation, I didn't have any USB devices connected to the laptop) is not included in the initramfs, therefore the USB keyboard cannot be used before the root partition is unlocked.
So, change the MODULES=dep
to MODULES=most
and update the initramfs should fix it. The MODULES=most
should exist in /etc/initramfs-tools/initramfs.conf
, and override by /etc/initramfs-tools/conf.d/driver-policy
created by the Debian installer. Therefore, simply remove the file and update initramfs will fix it.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f270402%2fkeyboard-isnt-working-when-it-comes-to-enter-the-password-for-encrypted-root%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I know this is a 2 years old question. OP probably has moved on and doesn't need the answer anymore.
I had the same problem with my laptop running Debian Stretch, and I ended up here because I was searching it on Google. After trial and error, I've found the root cause of the problem and fixed it. I hope this answer can help other people who is searching similar issue and comes across here
TL;DR: sudo rm /etc/initramfs-tools/conf.d/driver-policy && sudo update-initramfs -u
The reason is because during the Debian installation, the installer ask you would you like to include most drivers in your initramfs or only the needed drivers, and I selected only needed.
It worked fine, until I get an USB keyboard and external monitors. I have two passwords during boot, one set in the UEFI/BIOS to boot the laptop, another is for the Debian LUKS encrypted root. Although the USB keyboard worked fine for the laptop boot password set in the UEFI/BIOS, it cannot be used to enter the password to unlock the encrypted root partition. I had to open the lid and use the keyboard on the laptop to enter the 2nd password.
It turns out that the USB keyboard driver (or maybe all USB drivers, since during the Debian installation, I didn't have any USB devices connected to the laptop) is not included in the initramfs, therefore the USB keyboard cannot be used before the root partition is unlocked.
So, change the MODULES=dep
to MODULES=most
and update the initramfs should fix it. The MODULES=most
should exist in /etc/initramfs-tools/initramfs.conf
, and override by /etc/initramfs-tools/conf.d/driver-policy
created by the Debian installer. Therefore, simply remove the file and update initramfs will fix it.
add a comment |
I know this is a 2 years old question. OP probably has moved on and doesn't need the answer anymore.
I had the same problem with my laptop running Debian Stretch, and I ended up here because I was searching it on Google. After trial and error, I've found the root cause of the problem and fixed it. I hope this answer can help other people who is searching similar issue and comes across here
TL;DR: sudo rm /etc/initramfs-tools/conf.d/driver-policy && sudo update-initramfs -u
The reason is because during the Debian installation, the installer ask you would you like to include most drivers in your initramfs or only the needed drivers, and I selected only needed.
It worked fine, until I get an USB keyboard and external monitors. I have two passwords during boot, one set in the UEFI/BIOS to boot the laptop, another is for the Debian LUKS encrypted root. Although the USB keyboard worked fine for the laptop boot password set in the UEFI/BIOS, it cannot be used to enter the password to unlock the encrypted root partition. I had to open the lid and use the keyboard on the laptop to enter the 2nd password.
It turns out that the USB keyboard driver (or maybe all USB drivers, since during the Debian installation, I didn't have any USB devices connected to the laptop) is not included in the initramfs, therefore the USB keyboard cannot be used before the root partition is unlocked.
So, change the MODULES=dep
to MODULES=most
and update the initramfs should fix it. The MODULES=most
should exist in /etc/initramfs-tools/initramfs.conf
, and override by /etc/initramfs-tools/conf.d/driver-policy
created by the Debian installer. Therefore, simply remove the file and update initramfs will fix it.
add a comment |
I know this is a 2 years old question. OP probably has moved on and doesn't need the answer anymore.
I had the same problem with my laptop running Debian Stretch, and I ended up here because I was searching it on Google. After trial and error, I've found the root cause of the problem and fixed it. I hope this answer can help other people who is searching similar issue and comes across here
TL;DR: sudo rm /etc/initramfs-tools/conf.d/driver-policy && sudo update-initramfs -u
The reason is because during the Debian installation, the installer ask you would you like to include most drivers in your initramfs or only the needed drivers, and I selected only needed.
It worked fine, until I get an USB keyboard and external monitors. I have two passwords during boot, one set in the UEFI/BIOS to boot the laptop, another is for the Debian LUKS encrypted root. Although the USB keyboard worked fine for the laptop boot password set in the UEFI/BIOS, it cannot be used to enter the password to unlock the encrypted root partition. I had to open the lid and use the keyboard on the laptop to enter the 2nd password.
It turns out that the USB keyboard driver (or maybe all USB drivers, since during the Debian installation, I didn't have any USB devices connected to the laptop) is not included in the initramfs, therefore the USB keyboard cannot be used before the root partition is unlocked.
So, change the MODULES=dep
to MODULES=most
and update the initramfs should fix it. The MODULES=most
should exist in /etc/initramfs-tools/initramfs.conf
, and override by /etc/initramfs-tools/conf.d/driver-policy
created by the Debian installer. Therefore, simply remove the file and update initramfs will fix it.
I know this is a 2 years old question. OP probably has moved on and doesn't need the answer anymore.
I had the same problem with my laptop running Debian Stretch, and I ended up here because I was searching it on Google. After trial and error, I've found the root cause of the problem and fixed it. I hope this answer can help other people who is searching similar issue and comes across here
TL;DR: sudo rm /etc/initramfs-tools/conf.d/driver-policy && sudo update-initramfs -u
The reason is because during the Debian installation, the installer ask you would you like to include most drivers in your initramfs or only the needed drivers, and I selected only needed.
It worked fine, until I get an USB keyboard and external monitors. I have two passwords during boot, one set in the UEFI/BIOS to boot the laptop, another is for the Debian LUKS encrypted root. Although the USB keyboard worked fine for the laptop boot password set in the UEFI/BIOS, it cannot be used to enter the password to unlock the encrypted root partition. I had to open the lid and use the keyboard on the laptop to enter the 2nd password.
It turns out that the USB keyboard driver (or maybe all USB drivers, since during the Debian installation, I didn't have any USB devices connected to the laptop) is not included in the initramfs, therefore the USB keyboard cannot be used before the root partition is unlocked.
So, change the MODULES=dep
to MODULES=most
and update the initramfs should fix it. The MODULES=most
should exist in /etc/initramfs-tools/initramfs.conf
, and override by /etc/initramfs-tools/conf.d/driver-policy
created by the Debian installer. Therefore, simply remove the file and update initramfs will fix it.
answered Oct 29 '18 at 9:23
MicroAleXMicroAleX
101
101
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f270402%2fkeyboard-isnt-working-when-it-comes-to-enter-the-password-for-encrypted-root%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What kind of keyboard is it? A basic USB keyboard or something else?
– Gilles
Mar 17 '16 at 23:10
@Gilles it's a usb keyboard with embbeded firmware (strix tactic pro)
– ChiseledAbs
Mar 18 '16 at 8:28
Do you know if it needs some special driver support in Linux? It's rare for a keyboard to need that (most work with a standard USB keyboard driver), so maybe Debian's scripts aren't set up for it, and they show the prompt before making sure that the extra keyboard driver is initialized.
– Gilles
Mar 18 '16 at 16:16
@Gilles well I don't know, I don't think so since it's working fine in the UEFI
– ChiseledAbs
Mar 18 '16 at 17:28
User's added some info that might help solve this, at this related post @Gilles
– forgotstackxpassword
Mar 24 '16 at 20:27