How to fix : this kernel requires an x86-64 CPU but only detects an i686 CPU

Endrit Qerreti

Endrit Qerreti

In this tutorial, you will learn how to fix this kernel requires an x86-64 CPU but only detects an i686 CPU when booting Android ISO on Virtualbox. If you are trying to boot android ISO on virtualbox and you get this error, it basically means the cpu type that this virtual machine is using is not supported.

This error can be fixed easily by setting the correct CPU type when booting up Android x86 ISO on virtualbox.

Launch Virtualbox

Launch Virtualbox, and go to the machine that you created for Android ISO, next you need to right click over the machine name, and go to Settings, as shown in the image below.

🗒️
Note: Make sure the machine is not running when changing the settings

Set correct CPU Architecture

Next, once settings window opens, you need to go on General settings which is located at the top left of the sidebar

Now you need to set Type to "Linux" and Version to "Other Linux (64-bit)" and save the settings by clicking the OK button.

🗒️
Note: We are using Android 64bit version. To be able to use 64 bit version of Android ISO your cpu must be 64bit too. If you don't see the 64bit option listed on type or version on Virtualbox, then you probably have a 32bit CPU and you need to use the 32bit version Android ISO.

Start VM

Onc you set the correct CPU type, start the vm and the error should be gone. If the error continues even after changing the cpu type settings, try to recreate the virtual machine using this setting for cpu.

Conclusion

In this tutorial, we explained step by step how to fix the error "this kernel requires an x86-64 CPU but only detects an i686 CPU" which happens when the cpu type is not supported by Android or when like in our case the wrong type of CPU was being used on Virtualbox as CPU when booting Android x86.