You are not logged in.

#1 2018-01-02 18:30:09

Rainswift
Member
Registered: 2018-01-02
Posts: 2

Deleted the content of /var/lib/xkb

So I deleted everything inside it by mistake and now my keyboard is not working when I start x server. Currently I can use the terminal by booting from arch iso. I've also been trying to set the keymap layout to us but no luck. How can I fix this mess?

Offline

#2 2018-01-02 18:41:25

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Deleted the content of /var/lib/xkb

Welcome to the arch linux forums Rainswift. Pacman#Pacman_crashes_during_an_upgrade Steps 1, 2, 3, possibly 4 then change 6 to

pacman --root /mnt -Qo /var/lib/xkb |  pacman --root /mnt --cachedir=/mnt/var/cache/pacman/pkg -S -

Offline

#3 2018-01-02 19:07:52

Rainswift
Member
Registered: 2018-01-02
Posts: 2

Re: Deleted the content of /var/lib/xkb

loqs wrote:

Welcome to the arch linux forums Rainswift. Pacman#Pacman_crashes_during_an_upgrade Steps 1, 2, 3, possibly 4 then change 6 to

pacman --root /mnt -Qo /var/lib/xkb |  pacman --root /mnt --cachedir=/mnt/var/cache/pacman/pkg -S -

Thank you for the fast reply, however I have a problem with step 3, when trying to mount proc I get "mount: /dev/sda3: can't find I /etc/fstab"
It is indeed empty, and I can't generate it

Offline

#4 2018-01-02 19:49:35

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Deleted the content of /var/lib/xkb

What was the exact command you used for step 3 mount should not be looking in the fstab because you should be passing both a source and a target to mount
Reformatting what mount should be seeing should be something like the following where it would mount none / dev/sda3 to /mnt/proc but it will not actually use none / dev/sda3 because the type is set to proc

mount -t proc none /mnt/proc 
mount -t sysfs none /mnt/sys

Offline

Board footer

Powered by FluxBB