You are not logged in.
Pages: 1
I'm trying to login and my keyboard doesn't seem to work, but the keys I have binded in the /etc/vconsole.conf work and I can write in the GRUB boot params.
How can I change the keymap to us as a parameter?
Offline
the keys I have binded in the /etc/vconsole.conf work and I can write in the GRUB boot params
Apologies if I am misunderstanding but vconsole.conf has no effect at the GRUB boot screen, it is read by systemd.
You should probably share the content of that file.
EDIT: to answer your question: https://wiki.archlinux.org/title/GRUB/T … early_boot
Last edited by Head_on_a_Stick (2025-02-03 21:26:23)
Jin, Jîyan, Azadî
Offline
stbug wrote:the keys I have binded in the /etc/vconsole.conf work and I can write in the GRUB boot params
Apologies if I am misunderstanding but vconsole.conf has no effect at the GRUB boot screen, it is read by systemd.
You should probably share the content of that file.
EDIT: to answer your question: https://wiki.archlinux.org/title/GRUB/T … early_boot
I don't have any problem in the GRUB root screen, the problem is when I login, thats why I wanted to set the keymaps there
Offline
Please share the full content of /etc/vonsole.conf, thanks.
And please don't full-quote unnecessarily, it makes the thread harder to follow.
Jin, Jîyan, Azadî
Offline
Please share the full content of /etc/vonsole.conf
(I didn't know haha)
Well now I fixed it in another way but here is the /etc/vconsole.conf I had
# Written by systemd-localed(8) or systemd-firstboot(1), read by systemd-localed
# and systemd-vconsole-setup(8). Use localectl(1) to update this file.
FONT=$HOME/fonts/neep-iso8859-1-10x20.psf
KEYMAP=/usr/local/share/kbd/keymaps/personal.mapOffline
Now, this is not changing the GRUB params, but it worked to change the keymaps (I got this answer from ChatGPT, so I wouldn't recommend it)
Firstly, I had to boot from a Live USB to Arch (thankfully, I hadn't erase it from when I installed it) and from there I logged in to my account
mount /dev/nvme0n1p3 /mnt # Mount my root partition
mount /dev/nvme0n1p1 /mnt/boot # Mount my boot partition
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /run /mnt/run
mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
# If you have systemd:
mount --bind /dev/pts /mnt/dev/pts
mount --bind /dev/shm /mnt/dev/shm
chroot /mnt /bin/bashThat's how I logged in and then I changed the /etc/vconsole.conf to the us keyboard.
This time, I copied the content of this keymap in my personal one Keyboard configuration
Last edited by stbug (2025-02-03 23:08:09)
Offline
The thing is, I couldn't do it without the Live USB
Does anyone know how can I change the keymap parameter for that current session from the GRUB boot menu?
Not change the GRUB keymap, just that Arch Linux session
Offline
I got this answer from ChatGPT, so I wouldn't recommend it
Probably best to remove that nonsense. You don't need to chroot with the API filesystems mounted to edit a file...
Jin, Jîyan, Azadî
Offline
You don't need to chroot with the API filesystems mounted to edit a file...
Ah, so what's the steps that I shouldn't have done? The part of mounting the root partition? (I don't know what do you mean with API filesystem)
Offline
Yes, just mounting the partition would be enough to be able to access the file and edit it.
EDIT: https://systemd.io/API_FILE_SYSTEMS/
Last edited by Head_on_a_Stick (2025-02-04 07:30:39)
Jin, Jîyan, Azadî
Offline
Include the following in the vconsole.conf file :-
KEYMAP=uk
XKBLAYOUT=gb
XKBMODEL=pc105Change the keymap, layout and model to your circumstance. Reboot.
Or you could also perform the same by entering the following :-
sudo localectl set-x11-keymap gb pc105Again, change the relevant keymap and model to your circumstance. Reboot
Last edited by GrimBandito (2025-02-04 11:05:00)
Offline
Change the keymap, layout and model to your circumstance. Reboot.
The thing is, how could I do that if I can't login because of my keymap?
Like, I already solved the problem but it required the USB and I don't see that as a solution really
Offline
Pages: 1