DebianLenny0 %-100% Kernel-Linux Release Technology-Debian information. The following is a detailed description. Debian Lenny Compile kernel from source
Install Kernel
Install the required items for normal compilation.
# Apt-get install build-essential
# Apt-get install libncurses5-de
Reference:
Http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html
(I don't like the debian standard kernel Installation Method in some articles on the Internet, because I often switch between different releases to compile and install the kernel, so I like the following method I usually use)
1: Get Latest Linux kernel code
# Cd/tmp
# Wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2
### Note: Replace x. y. z with actual version number.
2: Extract tar (.tar.bz2) file
# Tar-xjvf linux-2.6.25.tar.bz2-C/usr/src
# Cd/usr/src
3: Configure kernel
# Make menuconfig
4: Compile and Install kernel
# Make
# Make modules_install
# Make install
5: Create an initrd image
View the information of your version. Here I compile the compatible kernel, which is shown as follows:
# Ls/lib/modules/
2.6.18-6-686 2.6.23-uk0.2.1 2.6.24-1-686
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.