Notes for compiling and using the new kernel in ubuntu7.10
Source: Internet
Author: User
First, use the following method to compile the kernel: Compile the kernel and driver: Install the sound card and video card driver: (optional) & gt; apt-getinstallalsa-source (it may be recommended to install kernel-source-2.4. ** select not to install this kernel-2.4. ** this command will generate an alsa-driver.tar.bz2 file in the directory. & Gt; cd/usr/src & gt; The tarxvjfalsa-driver.t first uses the following method to compile the kernel:
Compile the kernel and driver:
Install sound card and video card driver: (optional)
> Apt-get install alsa-source
(It may be recommended that you install kernel-source-2.4. ** and choose not to install this
Kernel-2.4 .**)
This command generates a alsa-driver.tar.bz2 file under the directory.
> Cd/usr/src
> Tar xvjf alsa-driver.tar.bz2
This command will generate the alsa-driver directory under the/usr/src/modules directory
> Dpkg-reconfigure
(Select the sound card on your machine)
Because my video card is nvidia, I will only introduce how to install the nvidia driver.
> Apt-get install nvidia-new-kernel-source
> Cd/usr/src
> Tar xvzf nvidia-new-kernel-source.tar.gz
The nvidia-new-kernel directory is generated under the/usr/src/modules directory.
Note: The initrd option is used to generate initrd. img. Additional-core2-smp and
1.0 can be any other string.
If everything goes well, the command will generate three deb files in the/usr/src directory after it is completed,
Kernel-image-2.6.17-ck1_1.0_i386.deb, nvidia-kernel-****. deb
And alsa-****. deb
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