Compile the kernel and install the NVGFMX440 video card program in Ubuntu9.04.

Source: Internet
Author: User
Compile the kernel in Ubuntu9.04 and install the NVGFMX440 graphics program # mytgetftp: // ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2downloading...done! #Tar-jxvflinux-2.6.30.tar.bz2 ...... # cdlinux-2.6.30 # make

Compile the kernel and install the nv gf MX440 graphics program in Ubuntu 9.04.

# Mytget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2

Download ing... done!

# Tar-jxvf linux-2.6.30.tar.bz2

.....

# Cd linux-2.6.30

# Make nenuconfig

Select IDE and ATA support (I forgot to select it during the first compilation. The result is boot fialed! A look. Cough .)

The kernel is as short as possible and M is not needed.

Haha, the build font size is xwbuild1. You can customize it (in General setup ---> Local version-append to kernel release). Of course, it can be empty!

However, IDE, SCSI, USB, and SATA are required! (If not selected, mount root file system fialed! Don't drop M either !)

# Make dep

.....

# Make bzImage

This operation took 1 hour.

# Make mudules

This action takes an hour and a half... It mainly generates ko files. Is the M file you dropped in setting!

# Make modules_install

Copy ko files to the kernel folder

# Make install

Copy the kernel to the boot directory to generate system. map

# Mkinitramfs-o initrd. img-2.6.30-xwbuild1 2.6.30xwbuild1

The "xwbuild1" here is the font size! You have to fill in yours, or fialed will wait for you...

For example, my account is okkernel.

The command is mkinitramfs-o initrd. img-2.6.30-okkernel 2.6.30okkernel

Mkinitramfs-o initrd. img-2.6.30 2.6.30

# Cp initrd. img-xxxx/boot

This operation is to copy initrd. img-xxxx (your custom number) to the/boot directory. This file is very important. Without it, the kernel will still crash!

# Cd/boot/grub

# Gedit menu. lst

Find

"#### End Default Options ##"

You can see a line like this below:

Title Ubuntu 9.04, kernel 2.6.28-15-generic

Uuid 32737d24-6f4f-4caf-b586-cd3b41535796

Kernel/vmlinuz-2.6.28-15-generic root = UUID = 7a465626-bc5c-4708-800a-0c46566ba637 ro quiet splash

Initrd/initrd. img-2.6.28-15-generic

Quiet

And copy the image to the back of the image.

Title Ubuntu 9.04, kernel 2.6.30, xwsoft build

Uuid 32737d24-6f4f-4caf-b586-cd3b41535796

Kernel/vmlinuz-2.6.30xwbuild1 root = UUID = 7a465626-bc5c-4708-800a-0c46566ba637 ro quiet splash

Initrd/initrd. img-2.6.30-xwbuild1

Quiet

Then reboot, 90% of the probability can be started to the new kernel!

Uuid is the disk serial number, which can be seen on other kernels in your menu. lst!

Copy the uuid to the end of root = UUID =

And uuid!

Edit/etc/X11/default-display-manager

Change/usr/sbin/TPD to false.

Save the disk and restart it.

Go to the command line interface

Enter user name and password

Enter

Apt-get remove nvidia *

(I installed mytget, and wget is not installed)

Mytget http://cn.download.nvidia.com/XFree86/Linux-x86/96.43.13/NVIDIA-Linux-x86-96.43.13-pkg1.run

Then

Chmod 777 NVIDIA-Linux-x86-96.43.13-pkg1.run

/NVIDIA-Linux-x86-96.43.13-pkg1.run

One way yes press ENTER

Then reboot

Then you can go back to the target bucket for the special effect.

After the lecture, do not delete the original kernel boot; otherwise, the compilation will fail and the system will not be saved!

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.