The Linux Kernel has some trouble starting up when you apply overclock to a non-K Skylake CPU, it requires disabling Intel power management, here is a simple guide on how to do it.
For Linux Kernel 4.8 and Below
You just need to add one boot argument to your grub configuration
- Open Terminal,
sudo nano /etc/default/grub
- Update grub configuration with
If you are unable to boot the Operating System after overclocking, you can press c on your keyboard when selecting boot options, and add
intel_idle.max_cstate=0 to boot the system, then use the above steps to add this line permanently into your configuration.
For Linux Kernel 4.8 and above (Last tested May 27, 2017)
Intel patched this issue after 4.8, so we need to recompile the Linux Kernel to boot an overclocked system.
- Kernel Configuration
- Download the newest kernel here
- Extract the kernel
tar xf /path/to/kernel.tar.xz
- Enter the kernel folder
- Use super user for convenience
- Create a default configuration file
- Use GUI to modify the configuration file
- Look for the item
- Untick the box, meaning this feature will not be compiled
- Save the configuration and exit
- Kernel Compilatoon
- To compile the kernel, use the command
make -j4, the number after j means how many compilers should run at once, it can be the amount of CPU Threads you have.
- To compile the kernel modules, use
make modules -j4, again, the number after j means the same thing as above.
- Kernel Installation
- To install the newly compiled kernel modules, use
sudo make modules_install
- To install the newly compiled headers, use
sudo make headers_install
- To install the newly compiled kernel use
sudo make install
- Update Grub After The Installation