Last night, the hands of the cheap, in the Ubuntu virtual machine in the update, the results of the last night and finally into the system.
Bloggers after Baidu no fruit, then had to reinstall the virtual machine, and then recompile the kernel (the third time%>_<%).
1. Latest stable kernel from kernel.org up and down: linux-4.0.tar.xz
2. Copy the package to the development directory and unzip:
# sudo CP./downloads/linux-4.0.tar.xz/usr/src
# CD/USR/SRC
# sudo xz-d linux-4.0.tar.xz
# sudo tar-xvf Linux-4.0.tar
3. Configure the kernel:
# CD./linux-4.0
# sudo apt-get install Libncurses5-dev
# sudo make Menuconfig
Then configure the various default values ...
4. Write a batch file in the current directory for compiling:
# sudo nano hehe
The contents are:
#! /bin/sh
sudo make
sudo make Modules_install
sudo make install
Last Ctrl+o Save, ctrl+x exit Edit
5. Start compiling:
# sudo sh hehe
Set Virtual machine Disable Auto lock screen, wait for compilation result ...
When we dig in the dark, we must strive to tears for knowledge.
--Alain de Botton
Linux Kernel Compiling