Compiling the latest Linux kernel

I felt like getting back into trying the latest kernel and wrote this article on how to compile the latest
Linux kernel from This was done on a machine running Fedora 20.

1. Download the sources from

# wget

2. Extract the sources

# tar xf linux-3.14.tar.xz
# cd linux-3.14

3. Copy your previous kernel config

# cp /boot/config-3.11.10-301.fc20.x86_64 .config

4. Update your existing kernel configuration with the new one.

# yes “” | make oldconfig

5. Compile the kernel

# make -j5

6. Compile the kernel modules

# make -j5 modules_install

7. Install the new kernel

# make install

8. Add the new kernel to GRUB

# grubby –add-kernel=”/boot/vmlinuz-3.14.0″ –initrd=”/boot/initrd-3.14.0″ –title=”New Kernel” –copy-default –make-default

9. Reboot and hope everything works.