Ubuntu10.04 kernel 2.6.33 compilation (success)

Source: Internet
Author: User
Tags custom name
This article assumes that you have a certain understanding of the Linux system, have a certain degree of computer knowledge, the article mentioned is a simplified step to the ROOT user sudo-s installation and compilation software GCC library sudoapt-getinstallbuild-essentialbin86kernel-packagelibqt3-headerslibqt3-mt-devwgetlibncurses5libncurses5-dev into the downloaded kernel unzip

This document assumes that you have a certain understanding of the Linux system and have a certain degree of computer knowledge, and describes how to convert the simplified steps to the ROOT user.
Sudo-s
Install and compile the GCC Library
Sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev

Go to the downloaded kernel unzip download: http://www.kernel.org/
Cd

Kernel configuration
Make menuconfig

The second includes the second compilation.
Make-kpkg clean
Custom name (lower case, number)
Sudo make-kpkg-initrd -- append-to-version = custom name kernel_image kernel-headers
Then wait for a long time, and the computer will be faster (I spent 30 minutes)

There are two DEB packages in the directory.

The Linux-headers developer is useful.

Let alone another one.

Double-click the installation command.

Sudo dpkg-I Linux-image-package name

View my results

Dpkg-shlibdeps: warning: dependency on libncurses. so.5 cocould be avoided if '/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464/usr/src/Linux-headers-2.6.33inspiron1464/scripts/kconfig/conf' were not uselessly linked against it (they use none of its symbols ).
Test! -E debian/control ~ | Rm-f debian/control ~
Dpkg-gencontrol-isp-DArchitecture = amd64- pLinux-headers-2.6.33inspiron1464 \
-P/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464/
Create_md5sums_fn () {cd $1; find.-type f! -Regex './DEBIAN /.*'! -Regex '. /var /. * '-printf' % P \ 0' | xargs-r0 md5sum> DEBIAN/md5sums; if [-z "DEBIAN/md5sums"]; then rm-f "DEBIAN/md5sums"; fi ;}; create_md5sums_fn/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464
Chown-R root: root/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464
Chmod-R og = rX/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464
Dpkg-build/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464 ..
Dpkg-deb: building package 'linux-headers-2.6.33inspiron1464 'in' ../Linux-headers-2.6.33inspiron1464_2.6.33inspiron1464-10.00.Custom_amd64.deb '.
Cp-pf debian/control. dist debian/control
Make [2]: Leaving directory '/home/heray/Downloads/Linux-2.6.33 ′
Make [1]: Leaving directory '/home/heray/Downloads/Linux-2.6.33 ′
Root @ heray-laptop:/home/heray/Downloads/Linux-2.6.33 #

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.