Difficulty: Easy
Correct Answer: All of the above
Explanation:
Introduction / Context:
Before a Linux kernel can run, firmware or a bootloader must load it into memory and transfer control. LILO (Linux Loader) is a traditional Linux bootloader for x86 systems, historically popular before GRUB became dominant. Understanding LILO helps when maintaining legacy systems or studying Linux history and boot processes.
Given Data / Assumptions:
Concept / Approach:
LILO is both an acronym (Linux Loader) and a boot manager that can load Linux kernels (and other OSes) from MBR or partition boot sectors. It requires updating the boot map after configuration changes. While GRUB has largely superseded LILO due to dynamic configuration and filesystem awareness, LILO remains a valid, instructive example of bootloaders.
Step-by-Step Solution:
Verification / Alternative check:
Review standard Linux documentation (man lilo, man lilo.conf). Verify that LILO installs boot code to the MBR or partition VBR and relies on a map file to locate kernels and initial RAM disks.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to run /sbin/lilo after modifying /etc/lilo.conf, which leaves the boot map outdated. Confusing LILO with GRUB or systemd-boot; each has different configuration styles and capabilities.
Final Answer:
All of the above
Discussion & Comments