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.