How to boot load the kernel using EFI stub (efistub) loader?

Posted by Pro Backup on Ask Ubuntu See other posts from Ask Ubuntu or by Pro Backup
Published on 2014-08-13T14:58:27Z Indexed on 2014/08/23 10:36 UTC
Read the original article Hit count: 337

Filed under:
|
|
|

I have Ubuntu 14.04 running in UEFI mode as only operating system, no dual-boot here. The kernel version is 3.13.0-24-generic. There is an EFI partition. In this case the EFI partition is not at the default /dev/sda1 but at /dev/sda3 because I did actually convert BIOS mode to EFI mode. I have used the grub-efi-amd64 package, though that actually loads GRUB boot menu from UEFI firmware boot menu (UEFI boot loads \EFI\ubuntu\grubx64.efi).

I want to skip that double boot menu loading step, and boot faster, directly from UEFI into the kernel. The Ubuntu kernels since 12.10 have "Kernel EFI stub loader" feature.

I know I do need to copy the Ubuntu kernel to the EFI partition (possibly rename) and create an entry in UEFI boot menu (for instance using efibootmgr). Which exact terminal commands are necessary to do this?

© Ask Ubuntu or respective owner

Related posts about boot

Related posts about grub2