New to linux, just switched from Windows 10, I’m currently trying to download drivers for my veikk drawing tablet
when running make or sudo all install clean to close out the instillation requirements i’m met with this.
make -C /lib/modules/5.13.15-1-MANJARO/build M=/home/josh/veikk-linux-driver modules
make[1]: *** /lib/modules/5.13.15-1-MANJARO/build: No such file or directory. Stop.
make: *** [Makefile:8: all] Error 2
the fix for this is to turn off secure boot, well that’s already been done. so solution 2 is to run
sudo apt install mokutil openssl
cat >>/tmp/x509.conf <<EOF
[ req ]
default_bits = 4096
distinguished_name = req_distinguished_name
prompt = no
string_mask = utf8only
x509_extensions = extensions
[ req_distinguished_name ]
O = Example, Inc.
CN = Example, Inc. Kernel signing key
emailAddress = jdoe@example.com
[ extensions ]
basicConstraints=critical,CA:FALSE
keyUsage=digitalSignature
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid
EOF
sudo openssl req -x509 -new -nodes -utf8 -sha256 -days 99999 -batch -config /tmp/x509.conf -outform DER -out pubkey.der -keyout priv.key
sudo mokutil --import pubkey.der
then running make sudo make install. But i run into an error with these last three steps
“EFI variables are not supported on this system”.
I’ve looked into the solutions for this, make sure all the boot settings are uefi and not legacy.
do
sudo modprobe efivarfs
chroot into the mounted root partition, which at this point i find out my partition isn’t mounted for whatever reason, find a fix which for some reason only temporarily mounts my partition.
run
chroot /mnt
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
which then just gives me “mount point does not exist.”
I’ve spent two days on this with of which feels like there should be a simple solution. Please tell me there is.