Yesterday, I tried to upgrade my version of Ubuntu from 17.10* to 18.04 LTS. The update has been achieved correctly except for some elements.
One of these elements is the installation of Nvidia drivers with secure boot.
I tried several things to install nvidia drivers (version 396) with secure boot but it seems that it is not working at the moment...
Finally, I found a workaround: I disabled secure boot. But this is just a trick to solve the problem of the nvidia driver installation...
So I want to know if it is possible to have nvidia drivers working with secure boot.
The procedure that I used when secure boot is activated (Which does not work):
Commands used for the installation:
sudo apt update
sudo apt upgrade
sudo ubuntu-drivers autoinstall
During the installation process when secure boot is enabled the installation phase is stuck with MOK private key. a trick to overcome that is explained in this thread.
But for me, the solution does not work. So I need to interrupt the script and run the update & software application. After a while, a dialogue box appears asking me a password for MOK key.
So I complete the dialogue box and reboot the PC but when secure boot is enabled, the x server settings are still empty.
Thanks in advance for your answers.
ubuntu-drivers autoinstall
but in my case it does not work. But never mind, I have the nvidia driver installed so everything goes well. – Loic L. Jun 20 '18 at 10:01ubuntu-drivers
tries to disable SB, but it is much easier to disable it in BIOS. You can try to sign the driver, but it is not worth the effort IMHO. – Pilot6 Jun 20 '18 at 14:18