Boot Linux with Skylake Non-K Overclock Applied

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

  1. Open Terminal, sudo nano /etc/default/grub
  2. Add intel_idle.max_cstate=0 in GRUB_CMDLINE_LINUX_DEFAULT
  3. Update grub configuration with sudo update-grub

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
  1. Download the newest kernel here
  2. Extract the kernel tar xf /path/to/kernel.tar.xz
  3. Enter the kernel folder cd /path/to/extracted/kernel
  4. Use super user for convenience sudo su
  5. Create a default configuration file make localyesconfig
  6. Use GUI to modify the configuration file make xconfig
  7. Look for the item intel_idle
  8. Untick the box, meaning this feature will not be compiled
  9. Save the configuration and exit
  • Kernel Compilatoon
  1. 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.
  2. To compile the kernel modules, use make modules -j4, again, the number after j means the same thing as above.
  • Kernel Installation
  1. To install the newly compiled kernel modules, use sudo make modules_install
  2. To install the newly compiled headers, use sudo make headers_install
  3. To install the newly compiled kernel use sudo make install
  • Update Grub After The Installation
  1. sudo update-grub

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.