LPIC-1 System Architecture Practice Question
A system boots in UEFI mode, and the administrator wants to add a new kernel entry to the EFI boot manager. Which tool should be used?
⚠ Common exam trap
Test-takers frequently confuse `grub2-install` (which installs a bootloader) with `efibootmgr` (which manages UEFI boot entries), mistakenly thinking that installing GRUB is the only way to add a kernel entry in UEFI mode.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
efibootmgr
In UEFI mode, the system's boot manager is stored in NVRAM, and `efibootmgr` is the standard Linux tool for creating, deleting, and modifying boot entries in the UEFI Boot Manager. It directly manipulates the UEFI Boot Manager variables (e.g., BootOrder, Boot####) via the efivars kernel interface, allowing the administrator to add a new kernel entry without relying on a bootloader like GRUB.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
efibootmgr
Why this is correct
`efibootmgr` manipulates the UEFI firmware boot manager variables directly from Linux, creating and ordering boot entries stored in NVRAM. Since the system boots in UEFI mode, this satisfies the requirement to add a kernel entry to the EFI boot manager, unlike BIOS-era tools such as `grub-install` alone.
- ✗
grub2-install
Why it's wrong here
grub2-install writes GRUB's boot loader files to a disk or EFI System Partition; it does not create individual boot entries. It is the right tool when (re)installing the GRUB boot loader itself, not for adding a kernel entry.
- ✗
lilo
Why it's wrong here
LILO is a legacy BIOS boot loader that writes to the MBR and cannot register entries in the UEFI boot manager. It would be chosen only for a BIOS/MBR system, where its configuration file drives boot selection.
- ✗
mknbi
Why it's wrong here
mknbi builds network boot images for PXE/etherboot from a kernel and initrd, unrelated to UEFI boot variables. It would be correct when preparing a bootable image for network booting, not for registering a kernel with the EFI boot manager.
Go deeper
Related to this question
About these practice questions
One of 402 original LPIC-1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.