Building your own kernel with the Fedora kernel configurationThere are a number of situations where you might want to do something like build a stock kernel.org kernel with the same configuration options as a normal Fedora RPM-installed kernel. Alternately, you want to compile a Fedora kernel with a slightly different set of options. These days, how to do this is slightly less than obvious and there is a gotcha or two. First, you need kernel source. Fedora no longer ships an RPM with their kernel source all set up for you, so you have two options:
Next, you need a kernel config file. The config file for a particular
kernel RPM that you have installed is (The kernels in the RPMs are not this big because the RPM build process then strips the debugging info out and puts it in the kernel debuginfo RPM.) If you are building a kernel.org kernel using a Fedora config file, there are two things to watch out for:
After that you are pretty much home free, assuming you are not rebuilding a kernel RPM. Doing that does not in any way fit into the margins of this entry. |
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |