This kernel requires an x86-64 CPU, but only detected an i686 CPU.

Trying to install kali linux or ubuntu on Oracle VirtualBox or VMware ?
but when running the virtual machine you got this message  " This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot – please use a kernel appropriate for your CPU ".
as someone asked on my Youtube Video about Installing Kali linux on VMware
this kernel requires an x86 64 cpu

1) There is many case you are receiving this message for but the most common one can be fixed from your bios settings on intel CPU you have to enable " Intel Virtualization Technology "  and on AMD CPU you have to enable "AMD V" this will simply fix this error

how to enable Virtualization Technology
  1. Power on your computer and open the BIOS by pressing the delete key or F1 key or F2 or Alt and F4 keys it depend on the system you have.
  2. Open the Processor submenu The processor settings menu may be in the Chipset, Advanced CPU Configuration or Northbridge.
  3. Enable Intel Virtualization Technology (also known as Intel VT) or AMD-V depending on the brand of the processor