Ubuntu10.04 if you use the official kernel to install the video card, an error may occur when you use the nvidia restricted driver. The nvidia. ko error occurs. This problem has been solved by Fedora for a long time and has only arrived at Ubuntu. The prompt is that Ubuntu has enabled the kernel nvidia driver module and blocked the nouveau module. Work required before Compilation: # apt-getinstallfakerootbuild-essential # apt-get
If you use the official kernel to install a video card on Ubuntu 10.04, an error occurs when you use the nvidia driver. The nvidia. ko error occurs.
This problem has been solved by Fedora for a long time and has only arrived at Ubuntu. The prompt is that Ubuntu has enabled the kernel nvidia driver module and blocked the nouveau module.
Work required before Compilation:
# Apt-get install fakeroot build-essential
# Apt-get install crash kexec-tools makedumpfile kernel-wedge
# Apt-get build-dep linux
# Apt-get install libncurses5 libncurses5-dev
Download the kernel:
Http://www.kernel.org/pub/linux/kernel/v2.6/
I chose 2.6.33.3, which is the same as the original author.
Compile:
# Make localmodconfig can be used for simplified compilation. It is configured according to the mod used by your current system. During the process, a series of options are displayed, I select all n and finally generate. config I encountered a dot error, but I did not compile the image.
After the. config file is generated, remember to block the module nouveau, which is in uppercase * NOUVEAU. www.linuxidc.com can be edited by gedit to change m to n and y to n.
# Cd/usr/src/linux-2.6 ***
# Fakeroot make-kpkg-initrd-append-to-version =-orange0.1 kernel-image kernel-headers
If an error occurs and you need to install make-kpkg, the system will prompt you to install the software named build-essetial.
Install the generated file:
# Cd .. Two dep files are generated
# Install dpkg-I *
# Mkinitramfs-o/boot/initrd. img-2.6.33.3-orange0.1 2.6.33.3-orange0.1
# Update-grub complete boot update
Restart the host
# Uname-r check