LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-14-2020, 06:00 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
What's wrong with this console config file?


Details: LFS 10.0, sysvinit version. Everything works at boot except the console! The console init script gives me a FAIL message. Virtual consoles are set up in spite of this, but with a US keyboard. I'm sure I've made an elementary mistake somewhere.
Code:
# Begin /etc/sysconfig/console

UNICODE="1"
KEYMAP="en_GB-utf8"
FONT=LatGrkCyr-12x22

# End /etc/sysconfig/console

Last edited by hazel; 09-14-2020 at 06:02 AM.
 
Old 09-14-2020, 08:25 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,599

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546

My guess is that KEYMAP isn't a language thing and should instead be set to "uk".

A quick search supports that - this Arch wiki page says "The naming conventions of console keymaps are somewhat arbitrary, but usually they are based on: [639-1 Language codes, Country codes, Keyboard layouts]" and says you can use "localectl list-keymaps" to list available ones. Later on in the page it uses KEYMAP=uk in an example.

 
1 members found this post helpful.
Old 09-14-2020, 08:32 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
OK, done. I'll see if it worked next time I boot it.
 
Old 09-14-2020, 09:33 AM   #4
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
These are some available keymaps for uk:
Code:
atari-uk-falcon
dvorak-uk
mac-uk
sunt5-uk
sunt6-uk
uk
 
Old 09-15-2020, 10:54 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Thank you boughtonp! That did the trick.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which config: config.amd64-none_amd64 OR config.amd64_rt_amd64 mzsade Debian 2 11-27-2016 09:19 PM
Login's Access restrictions - wrong examples in the config file? BlackRider Slackware 11 09-20-2012 05:27 AM
rsync uses wrong directory, has wrong size but right file count? brianpbarnes Linux - Software 1 02-23-2009 05:48 PM
cant conect to w2k shutting down ipchains works whats wrong with config file ? dewcansam Linux - Networking 2 10-27-2006 05:59 AM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration