Install a new Linux Kernel (3.10.56) in Guest OS (Dom U)

These days I want to install a new Linux kernel in Guest Operating System.

The original version of Guest OS is 2.6.32, but I need a kernel version 3.10.

I have tried several ways and following steps is just one of methods which can

work:

1. We should download a linux kernel (3.10.56) from kernel.org, after downloading

linux-3.10.56.tar.xz, using command tar -xf linux-3.10.56.tar.xz can get resource

code directory.

2. The key point is to modify the .config file, of course, we can change this file

using command make menuconfig.  We should first enter the menu Processor type

and features, then enter the menu Linux Guest Support, and the last step is to 

enable all the options belonging this menu.

3. After exiting this menuconfig and saving the changes, we should using the follwoing

commands to recompile and install the new kernel.

make -j  4 (4 is number of cores in this computer)

make modules

make modules_install

make install

4. Then reboot the computer and select the new kernel to load. 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。