Page 1 of 1

How to get Ubuntu server working on Virtual Box.

Posted: 31. Aug 2008, 03:46
by aaarathibs
Thanks in advance. I am new to installing Linux.
I need a Ubuntu LAMP server running on my laptop and I have following setup.

1) Hardware:
HP Pavilion dv6500 laptop
CPU : Intel Core 2 Duo T7100 1.80 Ghz
RAM : 2GB ram

Software:
Host OS : Windows Vista 32 bit OS.

Virtual OS :
Sun xv Virtual Box (Ver 1.6.4)
and has created a portion of 8GB hard disk and 512 MB RAM for the Ubuntu Linux OS.

I downloaded
ubuntu-8.04.1-server-i386.iso and Installed.
Installation went perfect. But when i restarted, I got an error:

This kernel requires the following feature not present on the CPU : 0:6
unable to boot - please use a kernel appropriate your cpu


so I searched internet and saw some people having issues in Core 2 Duo CPU and they had suggested use the other image on the website
ubuntu-8.04.1-server-amd64

Now when I try to boot from this CD, i get the following error :-(

"This Kernel requires an x86-64 cpu, but only detected an i686 cpu. unable to boot - please use a kernel appropriate your cpu"

So now i have tried both the images on the website. I was not able to figure out where to download the alternative platform CD

I even tried to see if there is anything in grub menu that will help.

But I am a newbie so no idea how to get a new kernel for my laptop. Hopefully some one will give me an iso image that work and everything needed in there.
Any other Linux server that has
LAMP (more interested in P- Perl )

Please Help.
Thanks
Arati

Re: How to get Ubuntu server working on Virtual Box.

Posted: 31. Aug 2008, 04:26
by greenpossum
Actually you are in the wrong forum, because your host is Windows.

But the short answer to your first question is "turn on PAE in the VM settings".

The full answer is this is probably in the FAQ, as no doubt some regulars will point out.

Posted: 31. Aug 2008, 16:08
by aaarathibs
Thanks, the tip worked.

Posted: 31. Aug 2008, 18:13
by TerryE
If you just want a LAMP environment you should be using the JeOS build and not the std server build. JeOS is a server build optimised for VM appliance: no frills, kernel tuned to VMware/Vbox type VMMs (uniprocessor, no need for PAE, ACPI, etc.) It works really well under VBox. I recommend it. It is so lean that you don't even get LAMP on it, but do a
  • sudo apt-get install lamp openssh build-essential linux-headers-$(uname -r)
(The last two are so you can build the kernel. You can remove them after you've installed Guest Additions.)

You need to download PuTTY because the normal way to work with a server (especially an appliance) is truly headless; you just use PuTTY to connect to the server using ssh.

If you search for posts by Little Girl; she has a walk through installing ubuntu server std, if you are interested.

Posted: 31. Aug 2008, 19:27
by Sasquatch
I replied to your other topic. I'm locking this one to avoid confusion.