I have ubuntu 14.04 and I have a project where ill be modifying the kernel (something to do with its scheduler).
Our project supervisor told us to use kernel 3.14 specifically from kernel.org . I couldn't find any tutorial on how to compile and boot kernel downloaded from kernel.org .
I have found this https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide?action=show&redirect=KernelTeam%2FKernelGitGuide and it seems you have to use only kernels from Ubuntu kernel repositories - is that right?
thanks for the help
I compile my kernels on my Ubuntu machine like this:
1)
mkdir kernel-build
2)
cd kernel-build/
3)
sudo apt-get install libncurses5-dev
4)
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz
5)
tar -xJvf linux-3.14.tar.xz
6)
cd linux-3.14
7)
cp /boot/config-`uname -r` .config
8)
yes "" | make oldconfig
8.1) is optional:
make menuconfig
9)
make -j`getconf _NPROCESSORS_ONLN` bzImage modules
10)
sudo make modules_install install
11)
sudo reboot
This should be enough.
EDIT: step 3 is if you need to disable some modules, which means that you can skip step 8.1 , if you do not know what are you doing.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.