"Give root password for maintenance or press CTRL+D to continue" problem enter root password
Hello,
I had seen this message a lot of times on Slackware and now in SlackwareARM: "Give root password for maintenance or press CTRL+D to continue" When I enter the root password it doesn't work! Never worked! I think is a problem with my keyboard layout. Maybe isn't configured at that time. In Slackware isn't a big problem. I always have USB pen drive with Slackware on it, with me. I boot from the USB pen drive and use fsck and problem solved. But in SlackwareARM I can't do this! Or at least I don't know how to do it. There is any way to solve this? Or I have to search a way to boot from an USB pen drive in my RPi just to solve this sort of things? |
"Give root password for maintenance or press CTRL+D to continue"
What was going on with your system when this message appeared. Was system in X, command line, booting? |
Sorry about the lack of details!
It is a problem with fsck at boot. It started booting and checking one of my sdcard partitions but it didn't finished. And I received that message. I entered the root password and nothing happened! In Slackware I already experienced the same problem with fsck. And I use a Slackware Install USB pen drive. In SlackwareARM I removed the card and made the fsck in other computer using a micro SD card reader. I think the problem is that the keyboard layout is not configured at the time. And because of that I can't enter my root password correctly. BTW: This RPi is a RPi 3. |
I notice that you're Portuguese. Presumably you use a native keymap, but at this stage the startup scripts are expecting a standard US keyboard. I can think of two possible ways round this:
1) Set the console keymap to be US but use Portuguese in X, where I assume you do most of your work. 2) Learn the US mapping of your root password and use that. |
Quote:
|
Quote:
Also the key map is not loaded by rc.keymap until rc.M - fsck is run in rc.S. You could boot back in to the installer to fix this. |
Quote:
|
On slackwarearm rc.keymap is executed from rc.M and it defaults to UK map while the fsck stuff is done from rc.S.
I suppose you could force a Code:
/usr/bin/loadkeys pt.map |
The easiest solution that I could find:
Get an US keyboard and plug it on a USB port just for this! Unplugged it after the fsck is done! |
and there are quite handy USB to wireless keyboards that fit in a pocket these days ;)
with a sweep-pad even! |
All times are GMT -5. The time now is 12:58 AM. |