2

I recently installed Ubuntu 16.04 LTS with Secure Boot on. I did not understand the relevance of it at the time. Should I turn it off to prevent future problems, or is it ok to leave it on?

Thank you

3 Answers 3

4

If your computer is operating correctly, I wouldn't change a thing.

Secure Boot is usually only an issue if you try to load a 3rd party kernel module. For example, if you need to compile and install a wireless networking driver, it won't load and drive your device if Secure Boot is enabled. Here is an example of a relevant question: How do I get a Realtek RTL8723BE wireless card to work?

Important: For new Ubuntu kernels installed on a system with Secure Boot on UEFI, the unsigned kernel module may not load.

There are many other examples aside from wireless.

Here is another very helpful question and answer: Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade?

3

If your installation works fine and you are not using any 3rd party kernel drivers, like e.g. the proprietary Nvidia graphics drivers or Broadcom wireless drivers, there's nothing speaking against having Secure Boot on.

Secure Boot is a feature of UEFI that requires the system's boot files to be digitally signed, which would prove that they are genuine and trustworthy. Ubuntu has a signed boot loader and kernel by default, so it should work fine with Secure Boot. However, if you need to install DKMS modules (3rd party kernel modules that need to get compiled on your machine), these do not have a signature, and thus can not be used together with Secure Boot.

See Why disabling "Secure Boot" is enforced policy when installing 3rd party modules for some more details about these DKMS modules.

Anyway, as I stated in the beginning, as long as everything works and you don't need to turn it off, there's no harm in leaving it on. After all, it protects your system against changed, malicious boot loaders.

2
  • 1
    I am using a nvidia graphics card on my computer, but it is still functioning properly with secure boot on. I even recently downloaded an update for it. This was the thing I was more confused about.
    – coolro
    Apr 22, 2018 at 21:25
  • 2
    I suspect that a driver from the Ubuntu repositories was installed. If so, it was 'signed' and doesn't interfere with Secure Boot.
    – chili555
    Apr 22, 2018 at 23:16
0

Any computer which an attacker has physical access can be tampered in less than 5 minutes, having it secure boot or not. An attacker can inject a keylogger directly to the board or CPU by using a special device.

Also Secure Boot disables the use of kernel modules, and it's incompatible with most Linux distributions.

As result what I do is keeping it turned off, and instead pasting a secure sticker on the case in a quite noticeable place.

That along with keeping the UEFI password protected by a simple six digits PIN, and configured to only boot from the internal storage.

https://sc01.alicdn.com/kf/HTB1.5dUav9TBuNjy0Fcq6zeiFXa3.jpg

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .