Change ubuntu12.04 to 3.4.6 Kernel

Source: Internet
Author: User

Download the kernel source code 3.4.6 from kernel.org to/home/musictom/downloads.

Extract

Tar-xvfj linux-3.4.6.tar.bz2

CD linux-3.4.6

Make menuconfig

After configuration according to your needs

Make

Sudo make install

Sudo make modules_install

Ln-S/boot/vmlinuz-3.4.6/vmlinuz-3.4.6

Mkinitramfs-O/boot/initrd. img-3.4.6/lib/modules/3.4.6
Ln-S/boot/initrd. img-3.4.6/initrd. img-3.4.6
Gedit/boot/GRUB/menu. lst
Add the following content:

Title Linux kernel 3.4.6
UUID bdce929d-3c0b-4f10-aeb7-76b0fb8b62cd
Kernel/vmlinuz-3.4.6 root = UUID = 1d668bc0-d6b1-4798-8173-b05b65e925e7 Ro quiet splash
Initrd/initrd. img-3.4.6
Quiet

Save and restart, and then enable terminal.

Uname-R

The result is 3.4.6.

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.