Quote:
Originally Posted by miev
Maybe I try to build a new kernel for 15.0. Never done that. Any suggestions / best practices. How to start? At least some hint which one to choose from kernel.org.
|
A good start would be the configuration file of the Slackware 15.0 kernel which you can get with a command like:
Code:
cat /proc/config.gz | gzip -d - > .config
Put that .config file in the top level directory of your new linux kernel source tree and start by running:
An alternative start for you .config file might be the kernel configuration files from Slackware current.
After that, you can apply any patches if you want to and make your own customizations to the kernel configuration with:
or
if you are running X (preferably as a normal user)
Once you have the kernel that configuration as you want it it is time to build the kernel:
...and the kernel modules:
Install the new modules with:
Code:
make modules_install
and install the newly built bzImage in your bootloader. You might need some extra steps to update an initrd if you start with the generic kernel configuration rather than the huge kernel configuration.
This method allows your newly built kernel to live side by side with the stock kernel if you configure your bootloader to choose between them. You can also study the build scripts in
http://ftp.slackware.com/pub/slackwa...15.0/source/k/ (or your favorite mirror) if you prefer to build Slackware packages with your custom kernel.
If I wanted to update the kernel on my Slackware 15.0 system I would probably go for the latest 6.12.26 longterm version. But your choice of kernel version completely depends upon your reason for trying a newer kernel.
regards Henrik