/etc/vconsole.conf disappeared?
I just noticed that I had no /etc/vconsole.conf in my filesystem. I noticed because the dm-crypt password didn't work until I tried typing it with an en qwerty layout.
Pacman rebuilt the initial ramdisk few hours ago (probalby because of updating `cryptsetup (2.2.1-1 -> 2.2.2-1)`).
The previous time mkinitcpio ran, it correctly built a system with my keyboard layout, so vconsole.conf must have been ther. It was two days ago right after I installed Arch. Installing plasma-meta triggered it. I'm fairly sure that I didn't rebuild an initramfs from a live system or from a different root after that point.
/etc/ is in my root filesystem, using ext4 and encrypted with dm-crypt, on an NVMe drive.
I checked my shell history and I couldn't find any command that might have removed /etc/vconsole.conf. The only command I ran that might be related is localectl set-x11-keymap.
Is it possible that some command or program deleted it?
Is it possible that ext4 randomly lost it? This is my main fear. I don't want to risk losing data without even noticing.
Anybody has any other theory? How can I verify what could have happened?
About this post
- Posted
- Archived
- Score
- 7 · 100% up
- Kind
- Text
- ID
- drijik
5 comments
did you have /etc/vconsole.conf before ?
I believe so: the previous time I rebuilt the initramfs (two days ago), dm-crypt was using my layout.
It reads the keyboard layout from /etc/vconsole.conf, since I'm using the
sd-vconsolemkinitcpio hook.sd-vconsole
Adds the specified keymap(s) from /etc/vconsole.conf to the initramfs. If you use system encryption, especially full-disk encryption, make sure you add it before the encrypt hook.
Form : https://wiki.archlinux.org/index.php/Mkinitcpio
i don't know if that help you.
Deleted before we saved it.
No idea. It's here in my system.