From the course: Advanced Linux: The Linux Kernel
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Explore kernel config files - CentOS Tutorial
From the course: Advanced Linux: The Linux Kernel
Explore kernel config files
- [Instructor] Let's look more closely at the kernel config files and config file configuration variables. So normally, you'll be using the .config file, which is in the top level directory for the kernel source code. So you can overwrite that with another one if you have an alternative one, for example. And if you wanted to configure a kernel and then communicate to somebody else how your kernel was configured, you could give them a copy of that .config file. And in fact, there's a lot of example or useful config files in the kernel source tree. And even distros typically will give you the config file for your kernel. So the distro usually provides in the /boot directory, the config file for that kernel. So there's a config file for each kernel that you have installed. So you could copy that config file, calling it .config and run make menuconfigure or xconfig and you'd start out with the kernel you're configuring…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.