GCFA · Question #295
Which of the following files in LILO booting process of Linux operating system stores the location of Kernel on the hard drive?
The correct answer is A. /boot/map. In the LILO boot process, /boot/map is the map file that records the physical disk addresses of the kernel image so the bootloader can locate and load it at boot time.
Question
Which of the following files in LILO booting process of Linux operating system stores the location of Kernel on the hard drive?
Options
- A/boot/map
- B/boot/boot.b
- C/etc/lilo.conf
- D/sbin/lilo
How the community answered
(40 responses)- A75% (30)
- B8% (3)
- C5% (2)
- D13% (5)
Why each option
In the LILO boot process, /boot/map is the map file that records the physical disk addresses of the kernel image so the bootloader can locate and load it at boot time.
The /boot/map file is generated by the lilo command and contains the precise disk block addresses of each kernel listed in the configuration, enabling LILO to find and load the kernel without relying on the filesystem at boot time.
/boot/boot.b is LILO's first-stage boot sector code that is written to the MBR or partition boot record, not a file that stores kernel locations.
/etc/lilo.conf is the human-readable configuration file specifying kernel paths and options, but it is read by the lilo installer, not used at boot time to locate the kernel on disk.
/sbin/lilo is the LILO installer executable that reads lilo.conf and writes the map file, not a file that stores kernel locations.
Concept tested: LILO bootloader map file and kernel location
Source: https://man7.org/linux/man-pages/man8/lilo.8.html
Topics
Community Discussion
No community discussion yet for this question.