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.

About Ravi Teja G

I am a linux aspirant from India looking forward to a happy and bright future.

Posted on October 31, 2011, in virtualbox, Virtualization, Xen and tagged , , , . Bookmark the permalink. Leave a Comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.