Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] in einer custom-initramfs die keymap auswählen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2229
Location: My own world! I and Gentoo!

PostPosted: Tue Jun 05, 2018 1:16 pm    Post subject: [solved] in einer custom-initramfs die keymap auswählen Reply with quote

Hallo zusammen,
ich bin leider etwas eingerostet und hab nicht mehr ganz im Sinn wie ich bei einer simplen busybox initramfs die keymap auf was deutsches stellen kann...
Mein bisheriger Ansatz sah vor dass die vorhandene keymap (/usr/share/keymaps/i386/qwertz/de-latin1.map.gz) in der initramfs mit drin landet und anschließend live von loadkeys in ein binär-Format für loadkmap gebracht wird... aber irgendwie will das nicht so ganz... beim Boot wird zwar gemeldet dass ein umgewandeltes mapping geladen werden soll... aber beim darauffolgenden cryptsetup funktioniert garnichts.

Code:
#/usr/src/initramfs/initramfs_list
file /etc/keymap-de-latin1.map.gz       /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz 644 0 0

und in der init
Code:
#/usr/src/initramfs/init
gzip -d /etc/keymap-de-latin1.map.gz
loadkeys -b /etc/keymap-de-latin1.map > keys.map
loadkmap keys.map


Kann mir einer helfen? was übersehe ich... oder mache ich falsch?

Vielen Dank schonmal.

Edith:
Jetzt wird klarer... erstmal hab ich einen Tippfehler. und dann sehe ich dass der loadkmap zusätzliche Files includieren will, die er nicht bekommen kann, da die fehlen.

Edith2:
Habe jetzt die map-file vorher umgewandelt und die der initramfs mitgegeben und ein einfaches loadkmap keymap-de.map hinzugefügt -.-
Sorry Leute. Ist nun solved.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum