VirtualBox’ing Ubuntu Linux

If you’re expecting a long hack about how to get it working sorry you won’t find it here. Ubuntu just works in VirtualBox except for one not so obvious error message on first boot.

I couldn’t get a screenshot for some reason but the error message you will get on first boot of any ubuntu distro (desktop or server) in VirtualBox is:


Starting up ...
This kernel requires the following features not present on the CPU:
0:6
Unable o boot - please use a kernel appropriate for your CPU.

Huh? Yeah me too. I’ve encountered this issue before I just forgot the fix so I had to google it (again). The fix is:

  1. Power-off or shutdown the running virtual machine instance
  2. Select the “Settings” menu option from the context-menu on your VM instance (mine is called hardy lts in the screenshot)
  3. Then from the General tab pane select “Advanced” tab pane
  4. Enable PAE/NX

VirtualBox fixer upper

That’s it! You now have a useable ubuntu virtual machine running in OS X. yay. This is listed as a “Known Issue” on the ubuntu wiki

Disclaimer: Steps may vary on your guest OS. eg. it might require 50+ clicks and a cold boot when using winblows :P

Published in:  on February 9, 2009 at 10:24 pm Comments (2)
Tags: , ,

The URI to TrackBack this entry is: http://phpslacker.com/2009/02/09/virtualboxing-ubuntu-linux/trackback/

RSS feed for comments on this post.

2 Comments Leave a comment.

  1. Actually I use VirtualBox to do programming in Ubuntu and many other distros. Its actually just as simple as you say in Windows (I use Windows Vista). I noticed you didn’t talk about installing the Addons which if your planning to run Ubuntu for long periods of time comes in handy as it get a bit faster plus you can use seamless mode.

    • Hey Alpha_Cluster. The post was merely meant to describe the fix for ubuntu installs on first boot BUT hey you just mentioned addons in your comment so I don’t have to any longer. Cheers :-)


Leave a Comment