problem installing virtualbox on centos with xen enabled kernel
Today, I tried to install virtualbox 4.0.4 on centOS 5.4( unfortunately that was what I got from my company
). Installation went fine, But after i created a virtual machine and tried to start it, I got this error,
Running VirtualBox in a Xen environment is not supported
The problem was with centOS install. centOS installs xen enabled kernel by default. So I installed normal kernel from repository.
yum install kernel.x86_64 kernel-devel.x86_64 kernel-headers.x86_64
We have to configure grub to boot normal kernel by default and not the xen kernel. Set the parameter “default” to point to normal kernel. Now reboot!
After the kernel is up, execute the following command,
sudo /etc/init.d/vboxdrv setup
If everything goes fine, You can now start the virtual machine.
Posted on October 31, 2011, in virtualbox, Virtualization, Xen and tagged 5.4, centos, virtualbox, xen. Bookmark the permalink. Leave a Comment.
Leave a Comment
Comments (0)