Ubuntu10.04 compile and install the latest version 2.6.37 Kernel

Source: Internet
Author: User
To study the implementation of the cgroup mechanism in the latest kernel version, I compiled and installed the latest kernel 2.6.37 in Ubuntu10.04. The process is as follows: Kernel 3. Use the. config file cp that comes with the system.

To study the implementation of the cgroup mechanism in the latest kernel version, I compiled and installed the latest kernel 2.6.37 in my Ubuntu 10.04. The process is as follows:

1. Download source code
Download the 2.6.371_kernel code (linux-2.6.37.tar.bz2) on www.kernel.organd place it in the main directory.

2. Extract
Tar xvf linux-2.6.37.tar.bz2

3. Use the built-in. config file.
Cp/boot/config-2.6.32-21-generic ~ Linux-2.6.37

4. Configure, compile, and install
Cd ~ Linux-2.6.37

Make menuconfig

Make

Make modules_install

Make install

5. Generate initrd
Sudo update-initramfs-k-c 2.6.37

NOTE: If mkinitramfs is used, the following error will be reported after restart:

FATAL: cocould not load/lib/modules/.../modules. dep

6. Update the grub Startup Menu
Sudo update-grub

7. Update the graphics card driver
An error occurred when the nvidia graphics card driver was restarted, reporting that ubuntu is running in Low-definition mode, followed by various failed to load.

Solve driver update problems through ppa (personal package archive https://launchpad.net/ubuntu/+ppas)

Sudo sh-c "echo 'dest' http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu lucid main'>/etc/apt/sources. list"
Sudo sh-c "echo 'deb-src http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu lucid main'>/etc/apt/sources. list"

Sudo apt-get update
Sudo apt-get install nvidia-current-modaliases nvidia-settings

The latest kernel version has been installed.

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.