If after installing Linux Mint in EFI mode, you are unable to boot due to a
Secure Boot Violation, you can try one of the following solutions:
- Restart the installation:
- Connect to the Internet before the installation
- Do not select
Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media.
BIOSsettings of your computer.
For examples of how to disable secure boot on various computers, read Managing EFI Boot Loaders for Linux: Dealing with Secure Boot.
EFI boot order¶
If after installing Linux Mint in EFI mode, your computer skips the boot menu and boots straight into Windows (or another operating system), you probably have an issue with the boot order.
To modify the boot order:
- Boot Linux Mint in
livemode (with your USB stick or DVD).
- Open a terminal.
This command lists the available boot options and the boot order.
In the screenshot above, there are three boot options:
Mac OS Xat
The boot order is
0081. This indicates that the computer only tries to boot Mac OS and not Linux Mint.
For technical reasons Linux Mint uses
ubuntu as its EFI boot name.
- To fix the boot order, type
sudo efibootmgr --bootorder XXXX,YYYY(where
YYYYare the operating system boot options you want to boot).
In the screenshot above,
sudo efibootmgr --bootorder 0000,0081 instructs the computer to first try to boot Linux Mint (
ubuntu being the EFI boot name for Linux Mint), and then Mac OS.
- Restart the computer.
In the screenshot above
0000 is the first boot option so the computer boots on the Linux Mint grub menu. If grub fails (or if it is dismissed with the
exit command), the computer follows the boot order and then tries to boot
0081, which corresponds to Mac OS.