FS#4271 - in rc.sysinit, loadkeys should be used before /sbin/sulogin -p
Attached to Project:
Arch Linux
Opened by Wael Nasreddine (Gandalf) - Saturday, 25 March 2006, 14:34 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 25 March 2006, 14:56 GMT
Opened by Wael Nasreddine (Gandalf) - Saturday, 25 March 2006, 14:34 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 25 March 2006, 14:56 GMT
|
Details
Hello,
Today a regular fsck went on boot ( I use ext3 and it's set to 30 mounts ), the filesystem check failed and i got stucked there because rc.sysinit did not load my french keys and i don't know the combination for my password on an english keyboard (contain special characters) So i had to go through Arch CD in order to fsck.ext3 my root partition and been able to boot again... An alternative solution i found is to use Grub edit in order to find the combination of my password and write it... Can loadkeys be executed before the login?? Thx |
This task depends upon
My native language is Ukrainian but I never use cyrillic chars in passwords for compatability reasons.
Judd u're right about not moving all keys to somewhere else, but u can mount it temporary in order to set the keyboard and load it into memory...
In your case, that wouldn't work though. Your fsck failed, which means it probably wouldn't have mounted properly anyway.
If you can find out how Ubuntu does it, I'd be interested to know.
Thx :)
Anyway, they're not needed in early userspace, I think. The best option so far would be to move the entire /usr/share/kbd tree out of /usr and into /. But that doesn't seem like an ideal solution either. It'd be nice to move only the keymaps/consolefonts that are actually going to be used, but that could get tricky. IIRC, some keymaps can include other ones, so then we'd be stuck parsing the keymap files, which could be an error-prone process.
for usage of mkinitcpio look here:
http://wiki.archlinux.org/index.php/Configuring_mkinitcpio