I have ubuntu 14.04.1 running with 3.13.0-93-generic kernel after a recent upgrade. UEFI is enabled from the begining. However I can see that some modules (e.g. virtualbox, DKMS) are not working and asking for disabling UEFI. My question is, if I disable UEFI from BIOS what will happen to the booting? Will is boot or not? It is a single OS system. Can someone explain exactly what will happen? I can't just disable the UEFI before knowing the consequences as it is a production system. Please help.

  • Another approach, not requiring removal of secure boot, here.
    – emagar
    Jun 2 '17 at 20:30

The problem is not the boot mode (BIOS/CSM/legacy vs. EFI/UEFI); it's Secure Boot. With Secure Boot active, Ubuntu 16.04 requires that all kernel modules be cryptographically signed; however, third-party kernel modules, such as those for VirtualBox, are not signed in this way. Thus, Secure Boot prevents their being loaded.

Note that Secure Boot is an optional feature of UEFI, so you won't run into this problem with a BIOS-mode boot. That said, switching from an EFI-mode boot to a BIOS-mode boot to get around this problem is overkill and is likely to lead to follow-on problems.

Fortunately, it's possible to disable Secure Boot. The details of how to do this vary greatly from one computer to another, so I can't write a simple description of how to do this that's universally applicable. This page of mine, though, presents several examples of how to disable Secure Boot, so you may want to check it out.

  • Thank you Rod for the valuable information. However I am scared about the possible consequences after I change from UEFI to normal BIOS mode. Will it affect the existing running system? Is there any possibilities that the OS won't boot at all? Will reverting back to UEFI allow it to boot back up in case it has boot failure by the previous step? Aug 23 '16 at 4:47
  • Please re-read my answer. I recommended against switching from EFI-mode to BIOS-mode booting. See this page of mine for details of why. Note that boot loaders are written for one boot mode (BIOS or EFI), not for both, so if you switch the computer's boot mode, your OSes will stop booting until you install new boot loaders. Disabling Secure Boot is an entirely different proposition, with much less risk of catastrophic consequences.
    – Rod Smith
    Aug 23 '16 at 13:15

You can disable it on most Toshiba laptops by pressing f2 while booting, this will let you enter the settings area, go to security and disable the secure boot, make sure you save and exist f10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.