/ 中存储网

告诉你Ubuntu 10.04&10.10安装最新kernel 2.6.37&2.6.3

2015-05-12 14:12:56 来源:中存储网

Ubuntu 11.04将会使用kernel 2.6.38作为默认的内核。

Ubuntu 10.04LTS
安装kernel 2.6.38

sudo add-apt-repository ppa:kernel-ppa/ppa
sudo apt-get update
sudo apt-get install linux-headers-2.6.38-1-generic linux-image-2.6.38-1-generic

安装 kernel 2.6.37

sudo add-apt-repository ppa:kernel-ppa/ppa
sudo apt-get update
sudo apt-get install linux-headers-generic-lts-backport-natty linux-image-generic-lts-backport-natty

Ubuntu 10.10安装Kernel 2.6.37
1.下载最新的内核www.kernel.org(当前最新是kernel2.6.37),保存到主目录(/home/user/ 或~/)

2.解压软件包:
tar xvf linux-2.6.37.tar.bz2

3.使用默认的.config 文件:
sudo cp /boot/config-2.6.32-21-generic ~/linux-2.6.37

4.make & install:

cd ~/linux-2.6.37

make menuconfig

make

make modules_install

make install

5.创建 initrd:

sudo update-initramfs -k -c 2.6.37

6.升级grub:

sudo update-grub

7.重启

8.升级Nvidia驱动

sudo sh -c "echo 'deb 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 nvidia-current-modaliases nvidia-settings