Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-21-2016, 06:57 AM
|
#1
|
Member
Registered: Mar 2013
Location: Portugal
Distribution: Slackware
Posts: 98
Rep: 
|
"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?
|
|
|
12-21-2016, 07:57 AM
|
#2
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
"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?
|
|
|
12-21-2016, 10:41 AM
|
#3
|
Member
Registered: Mar 2013
Location: Portugal
Distribution: Slackware
Posts: 98
Original Poster
Rep: 
|
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.
|
|
|
12-21-2016, 11:09 AM
|
#4
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,210
|
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.
|
|
|
12-21-2016, 01:24 PM
|
#5
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by hazel
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.
|
Would specifying "kbd=pt" in the 'cmdline.txt' file before booting also achieve this? Better destructions: http://sarpi.fatdog.eu/index.php?p=preinstall
|
|
|
12-21-2016, 02:42 PM
|
#6
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,647
|
Quote:
Originally Posted by Penthux
|
No because that is not an official Kernel parameter (linux-x.x.x/Documentation/kernel-parameters.txt): it's set as a helper for the installer.
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.
Last edited by drmozes; 12-21-2016 at 02:49 PM.
|
|
|
12-21-2016, 06:07 PM
|
#7
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by drmozes
No because that is not an official Kernel parameter (linux-x.x.x/Documentation/kernel-parameters.txt): it's set as a helper for the installer.
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.
|
Ah, my bad. I must admit I've got installers on the brain lately. 
|
|
|
12-23-2016, 03:19 AM
|
#8
|
Member
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Rep:
|
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
somewhere in rc.S before the fsck stuff is done.
|
|
|
01-04-2017, 07:45 PM
|
#9
|
Member
Registered: Mar 2013
Location: Portugal
Distribution: Slackware
Posts: 98
Original Poster
Rep: 
|
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!
|
|
|
01-12-2017, 04:23 PM
|
#10
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,502
|
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 07:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|