When running a variation of RedHat in VirtualBox, you might encounter the following error:
Kernel panic – not syncing: Attempted to kill init! exit code=0x00007f00
This is due to the VirtualBox blocking your host’s perfectly capable CPU from being exposed. Here is a workaround by spoofing your CPU profile:
In the command prompt, type the following:
VBoxManage modifyvm "your_vm_name" --cpu-profile "Intel Core i7-6700K"Here, I chose “Intel Core i7-6700K”, but you can choose any CPU profile from VirtualBox’s list of accepted profiles. To see the complete list, enter the command:
VBoxManage list cpu-profilesIf VBoxManage is not in your environment variables, you’ll get the error:
‘VBoxManage’ is not recognized as an internal or external command,
operable program or batch file.
In that case, key in the command:
cd "C:\Program Files\Oracle\VirtualBox"Then continue to enter the VBoxManage commands mentioned above.
