I want to use the following command, which is for Ubuntu and Debian users:
chmod 600 MOK.priv
However, I am using Fedora 27 and it does not work for me there since I get Command not found.... Does anyone know the equivalent in Fedora 27?
I want to run this whole thing, but on Fedora:
$ sudo -i # mkdir /root/module-signing # cd /root/module-signing # openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=YOUR_NAME/" [...] # chmod 600 MOK.priv
The reason why I want to run the above is because I want to install VirtualBox 5.2 on Fedora 27 by using these instructions: https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/#
However, when I get to the command
/usr/lib/virtualbox/vboxdrv.sh setup as shown below to rebuild the kernel modules after I have installed VirtualBox I get the following:
# /usr/lib/virtualbox/vboxdrv.sh setup vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
So I get failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why..
But I guess I have to make another thread about it.