Where is the Linux kernel stored?

Study for the OSCP Linux Exam. Use our flashcards and multiple-choice questions to test your skills. Each query comes with detailed hints and explanations to enhance your preparedness. Get ready to conquer the exam!

Multiple Choice

Where is the Linux kernel stored?

Explanation:
The kernel image and its boot files are kept in the /boot directory. This location holds the compressed kernel binary (like vmlinuz-<version>) and related items such as the initial ramdisk (initramfs) and System.map, which the bootloader uses to start the system. The bootloader, for example GRUB, reads these files from /boot during startup and loads the kernel into memory. In contrast, /root is the root user’s home directory, /home stores regular users’ home directories, and /var contains variable data like logs and caches, none of which are where the kernel image resides.

The kernel image and its boot files are kept in the /boot directory. This location holds the compressed kernel binary (like vmlinuz-) and related items such as the initial ramdisk (initramfs) and System.map, which the bootloader uses to start the system. The bootloader, for example GRUB, reads these files from /boot during startup and loads the kernel into memory. In contrast, /root is the root user’s home directory, /home stores regular users’ home directories, and /var contains variable data like logs and caches, none of which are where the kernel image resides.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy