Compile kernel notes under Ubuntu7.10

Source: Internet
Author: User
Because the instructor's lab report is not targeted at Ubuntu7.10, my basic operations are not the same as those of the Teacher. However, in other words, the kernel version is a floating cloud version, so the final result is the same. Here I will talk about how I did it. I previously installed the release version is debian, now since the selected linux experiment, simply installed in the notebook ubuntu7.10, because of the use of ubuntu7.10 dumo installation, so like gcc, or libncurses5-de

Because the instructor's lab report is not for Ubuntu 7.10, my basic operations are not the same as those of my teachers. However, in other words, the kernel is actually a floating cloud version, so the final result is the same. Here I will talk about how I did it.

I used to install debian as the release version. Now that I have selected a linux experiment, I simply installed ubuntu 7.10 on my laptop. Because ubuntu 7.10 is installed by a fool, it is like gcc, or libncurses5-dev and other packages are not installed, So first you need to add the 88 Source:

Add to etc/apt/sources. you can download the update software from the source in the lst file, because linux is actually highly dependent on the network, which is also the root of it.

Apt-get install build-essential

Apt-get install libncurses5-dev

Next we need a copy of the kernel source code. I actually use the 2.6.22.12 kernel under www.kernel.org. the kernel of my own release version is 2.6.22.14.

Then, extract the package to the home/nike directory, cp the config file under boot to the file I extracted, and rename it. config is actually using the original Kernel configuration file. After the compilation is complete, a new boot/config file is generated here.

Then make menuconfig is used. Of course, sudo is used here, or su is used directly.

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.