Install Oracle Enterprise Linux 5 on VirtualBox 3.2 on Windows 7 Host – Guest Additions Not Working

Oracle Enterprise Linux 5 on VirtualBox 3.2

This post is second part of  installing Oracle VM server on VirtualBox. Oracle VM manager should be installed and connected to work with Server Hypervisor  and it can be installed only  on Red Hat enterprise or Oracle Linux enterprise OS versions. Therefore, before go to server virtualization management, let me show how to install Oracle Enterprise Linux OS on VirtualBox on Windows 7 host. Unfortunately, guest additions are not working with me yet.

Our plan is to install Oracle VM server and manager on same host by using VirtualBox and play around without having two physical servers. Oracle claims that their server virtualization software is three times better than other products.

Steps to Install Oracle Enterprise Linux 5 on VirtualBox 3.2 on Windows 7 Host

1) Download the latest OS version from official site here. (It will have five parts. Each part is an installation CD. For a standard installation without selecting more options, it asked for first three CDs only. I suggest to download all five CDs)

2) Create a new virtual machine on VirtualBox with following OS type and version.

Oracle Enterprise Linux 5 on VirtualBox 3.2

3) If you can allocate memory size to 2GB, better do it, otherwise 1 GB is enough.

4) Attach the  downloaded OS ISO file to CD ROM. Select the CD1 and make it as first bootable drive.

Oracle Enterprise Linux 5 on VirtualBox 3.2

5) Switch on the virtual machine and continue the installation.

Oracle Enterprise Linux 5 on VirtualBox 3.2

6) Installation steps are very easy and straight forward. While creating the partition, select review partition or manually edit partition layout to allocate 2GB for SWAP file system.

server virtualization

server virtualization

Oracle VM manager will be requiring minimum 2GB SWAP to work properly.

7) Continue the installation; do not select any extra options if you are not going to use them.

server virtualization

8.) While the installation is going on, add the other ISO files to VirtualBox media manger and keep them ready. Select and mount the CD2 and CD3 ISO files when it pops up. Press OK once you load the correct ISO file.

mount_2nd_cd

9) After the completion, un mount the OS ISO file and restart the virtual machine.

Make sure to enable required services in Firewall settings. Once the Oracle VM manger installed on this virtual machine, it can be connected by other networked computers through web browser. So, enable http, https and other important services. I selected all.

server virtualization

10) Again, reboot and log in with user name and password you set during the initial configuration.

That’s it, now you must be able to see the Oracle Enterprise Linux OS 5 inside VirtualBox on Windows 7 computer.

I tried all possible methods to install guest additions, but all failed. Anyhow, I’m leased bother about it, because this is a server version and we are not going to increase the screen resolutions, go in to seamless mode or expect any graphical improvements.

We will install Oracle VM manager on this virtual machine and connect to Oracle VM server which we installed in earlier post as a virtual machine.

Stay tuned for further updates. If you face any difficulties on this installation, leave me a message.

Have fun

6 thoughts on “Install Oracle Enterprise Linux 5 on VirtualBox 3.2 on Windows 7 Host – Guest Additions Not Working”

  1. Dinesh,

    I went through this process last night on my own. I found your article covering it today when I was Googling some questions I had. My main question isn’t a VirtualBox question. It’s more of an OEL question. Do I have to create an Oracle account to be able to get updates or packages for OEL? I went back to my CentOS 5.5 VM and scrolled through my console command history to get the commands to attempt to facilitate installation of the Guest Additions. In CentOS 5 I used yum to add gcc, kernel-headers, & kernel-devel to allow for the Guest Additions. I tried to replicate this in OEL and it seems those packages aren’t available, or any others for that matter. I am assuming that is because I don’t have a support account set up which would then allow me to add the repositories to pull these from. I tried to add a repository manually (found a link while digging around on their site), and the update process still doesn’t find any updates.

    I love your articles. Keep up the great work. My list of VMs keeps growing with your help.

    Oh and one related question: OEL seems to have the same type of start up as CentOS 5.5, RHEL based, which takes a loooong time to get going [in VirtualBox]. Is there a reason it takes so long? My other Linux VMs start up so fast. Among my other Linux VMs which work great are Fedora 11, 12, & 13, OpenSuse 11.1 & 11.3, Ubuntu 10.04, 10.10 (Visual Studio & 64 Studio as well), LinuxMint 9 & 10, Arch 2010.05, Slackware 13.1, Peppermint One, CentOS 5.5, & gOS 3.1. Even my Solaris, OpenSolaris, and BSD VMs start quickly. I am mostly convinced I have done something wrong that is causing CentOS 5.5 and now OEL 5 to take so long to get going.

    Any insight would be appreciated. Thanks!

    • Hello

      I am trying to do the same on my laptop. I have downlaodedcOracle Linux 5.1 and I unzipped that so that the iso’s are made (total of 5). I tried to do the same as described above and I get following error. “Failed to open a session for the virtual machinne Linux. VT-x features locked or unavailable in MSR. VERR_VMX_LOCKED_OR_DISABLED”. I am going to try something else and will update.

  2. It works for me. I had to change the settings in the bios and allow the virtulization. No I will try to install Oracle 11g

  3. Hi Dinesh,

    when am trying to install Redhat Enterprise Linux 5 on Windows virtualbox, am getting “FATAL: No bootable medium found! System halted” error. Can you please let me know how to proceed further.

    Thanks,
    JK

    • when u start linux , click on devices menu, in that menu u will find cd/dvd devices, check if ur linux iso file is there and it is checked, if not then click on choose ur cd/dvd devices, and locate ur iso linux

Comments are closed.