How to get Ubuntu server working on Virtual Box.

Discussions related to using VirtualBox on Linux hosts.
Locked
aaarathibs
Posts: 3
Joined: 31. Aug 2008, 03:40

How to get Ubuntu server working on Virtual Box.

Post 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
greenpossum
Volunteer
Posts: 98
Joined: 11. Jul 2008, 08:10

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

Post 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.
aaarathibs
Posts: 3
Joined: 31. Aug 2008, 03:40

Post by aaarathibs »

Thanks, the tip worked.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

I replied to your other topic. I'm locking this one to avoid confusion.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Locked