I want to use a UK keyboard mapping but the section of the rc.sysinit script copied below does not work. This is because it is run before the /usr partition has been mounted. Therefore the test [ ... -d "/usr/lib/kbd/keymaps" ] always fails. The solution is simply to move this whole section to later in the script, after all partitions have been mounted read-write. # Load keymap KEYMAP= if [ -f /etc/sysconfig/console/default.kmap ]; then KEYMAP=/etc/sysconfig/console/default.kmap else . /etc/sysconfig/keyboard if [ -n "$KEYTABLE" -a -d "/usr/lib/kbd/keymaps" ]; then KEYMAP=$KEYTABLE fi fi if [ -n "$KEYMAP" ]; then # Since this takes in/output from stdin/out, we can't use initlog echo -n "Loading default keymap" loadkeys $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null && \ success "Loading default keymap" || failure "Loading default keymap" echo fi
This is fixed in 6.1; it will only load the keymap if it's in /etc/sysconfig/console, and it will load it later in the keytable init script.