4

This question is regarding efistub booting.

I would like load the stock pre-compiled Ubuntu kernel directly from UEFI firmware its boot menu, using efiboogmgr.

Since which Ubuntu version can this be done without the need for a separate bootloader?

Pro Backup
  • 3,210
  • 3
  • 25
  • 33

1 Answers1

5

12.10 and newer

All Ubuntu kernels built since kernel 3.3.0 have included the EFI stub loader feature in the kernel. That means all Ubuntu releases since 12.10.

Background

Kernel build configuration can be checked with command f.e.

  • zcat /proc/config.gz | grep EFI_STUB, or
  • for release 18.0 and later with cat /boot/config-$(uname -r) | grep EFI_STUB
Pro Backup
  • 3,210
  • 3
  • 25
  • 33
  • 1
    On ubuntu 18.0 you have to cat /boot/config-5.0.0-23-generic | grep EFI_STUB – user10607 Sep 01 '19 at 08:43
  • @user10607 What is the 18.0 output of zcat /proc/config.gz | grep EFI_STUB? – Pro Backup Sep 01 '19 at 12:14
  • 1
    config.gz does not exist on my system. There are multiple locations for kernel config information. See https://superuser.com/questions/287371/obtain-kernel-config-from-currently-running-linux-system – user10607 Sep 01 '19 at 16:45