Install patches for the N-card to install the new core. For details, refer. The environment of my experiment is 6 of Ubuntu9.04.
N card to install new core needs to add patches, can refer to https://bugs.launchpad.net/ubuntu/+source/nvidia-common/+bug/384639/comments/8
Prerequisites:
Work is completed under the terminal,
You need to use the root permission. I modified the root password and then su ran it to the root user,
Of course, sudo can also be added before each sentence.
The experiment environment is Ubuntu 9.04 64-bit. If you are a 32-bit version, pay attention to the file name.
Step 1: Install the package required to compile the kernel
It sounds complicated. You only need to enter four package names.
Apt-get install build-essential kernel-package libncurses5-dev libqt3-mt-dev
Of course, you still need a lot. apt-get will fix it for you.
Step 2: Download the kernel source program and decompress it
: Http://www.kernel.org/
The link that says [the latest stable version of The Linux kernel is:] That line F is
Of course, you can use
Wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.1.tar.bz2
I compiled the kernel from 2.6.30 to 1. I will use this as an example.
And put it in the/usr/src directory, and then decompress
Tar xf linux-2.6.30.1.tar.bz2
The current tar can automatically determine the compression format, which is really convenient!
Step 3: Compile and Package
In fact, you only need one sentence!
Go to the/usr/src/linux-2.6.30.1 directory and enter
Make-kpkg -- initrd -- revision = 20090707 kernel_image
-- The revision parameter is followed by a small version of the compiled file.
Linux-image-2.6.30.1_20090707_amd64.deb this file
Note: many problems will be raised at the beginning of compilation! Select whether to compile something,
Basically, they are all the latest devices.
I press enter directly. (I plan to have a good time)
It takes 2-3 hours to test the machine performance.
Step 4: Install
First go back to the upper-level directory, and then get it done in one sentence!
Dpkg-I linux-image-2.6.30.1_20090707_amd64.deb
Okay. Restart the machine and try again.