From the course: Linux: Kernels and Logging for System Administration
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Linux kernel directory structure - Linux Tutorial
From the course: Linux: Kernels and Logging for System Administration
Linux kernel directory structure
- [Instructor] Knowing where in the directory structure the kernel-specific files reside can be helpful in understanding your Linux system. The kernel resides in /boot of your system drive. If you do a long list on /boot, you will see files with long cryptic names. Type into a terminal sudo ls -l /boot and hit enter. The files with vmlin is in the name are the compressed Linux kernels. Also in this directory are a RAM disc that match the kernel versions. A RAM disc is a formatted disc that is loaded into RAM that contains drivers and other things that the kernel needs to start the OS. Also, inside this directory is the grub2 directory. List this directory by bringing your line back and adding /grub2 to the end. In this directory is the grub.cfg file responsible for providing the boot menu and executing the kernel. I won't go into how this file is created in this video, but we'll cover it separately. There is a direct interface to the kernel itself provided by a virtual file system…