diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69ffadddc..ac148749a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,10 @@ +April 5th, 2002 [gerard]: Chapter 06 - Configuring +Keyboard: explained you can also compile the keymap directly into the +kernel which has additional benefits. + April 5th, 2002 [gerard]: Upgraded to lfs-bootscripts-1.9 diff --git a/chapter06/config-keyboard.xml b/chapter06/config-keyboard.xml index 7e2aa388f..9f61aefb6 100644 --- a/chapter06/config-keyboard.xml +++ b/chapter06/config-keyboard.xml @@ -16,5 +16,21 @@ example, if you have a Dutch keyboard, you would run: ln -s i386/qwerty/nl.map.gz defkeymap.map.gz +An second option to configure your keyboard's layout is to compile +the keymap directly into the kernel. This will make sure that your +keyboard always works as expected, even when you have booted into +maintenance mode (by passing `init=/bin/sh' to the kernel) in which case +the bootscript that normally sets up your keymap isn't run. + +If you didn't create the defkeymap.map.gz file and going with the +default US keymap, then again you don't have to do anything. The kernel +compiles a suitable keymap by default that'll work just fine for +you, so skip the next command. + +Run the following commands to accomplish that: + +loadkeys -m /usr/share/kbd/keymaps/defkeymap.map.gz > \ +   /usr/src/linux/drivers/char/defkeymap.c + diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml index f3a6b14d6..03ed18088 100644 --- a/chapter07/chapter07.xml +++ b/chapter07/chapter07.xml @@ -5,6 +5,7 @@ &c7-introduction; &c7-usage; &c7-setclock; +&c7-loadkeys; &c7-sysklogd; &c7-hostname; &c7-hosts; diff --git a/index.xml b/index.xml index dbada3cf5..07640f029 100644 --- a/index.xml +++ b/index.xml @@ -341,6 +341,7 @@ +