Saturday, June 29, 2013

Installing Oracle VM Server 3.2.2 (AMD x64)

I thought it was time to take a look at Oracle Linux to get a bit more hands-on before launching into some work based on this platform. I signed up for an Oracle id to access the software delivery cloud and started downloading ISOs. After some background reading I discovered that I wanted (for x86, 64bit):
  • Oracle VM Server: the hypervisor (based on Xen)
  • Oracle Linux: the OS (essentially Red Hat)
  • Oracle VM Manager: something to let you start and manage VMs on your hypervisor
  • Oracle VM Templates: various. Oracle VMs pre-built with Oracle products such as their database and middleware apps.
For the installation, I chose to boot off a USB pen drive (the VM Server boot image is only about 256MB), which I created whilst booted into Win7 using Rufus (see comment below about getting 'Boot error' below using Universal USB Installer to create bootable USB sticks).

In my Awared BIOS, F12 brings up the boot options menu during start-up/POST and you can select USB-HDD to boot into the OVM Server installer. Up came the Oracle VM Server splash screen and I hit enter to install at the boot prompt.

boot:
mboot.c32: not a COM32R image

Searching around on the 'net there are various remedies for this, including updating the /isolinux/isolinux.cfg file. I found this to not be helpful. Instead, download the syslinux distribution (I used 4.04) and copy /pathtosyslinux/com32/mboot/mboot.c32 to /oraclevmserverpath/isolinux/mboot.c32. Reboot and you should be able to start up the installer.

I won't drain the installer steps as they are pretty self explanatory but a few quick notes:

  • on a basic PC setup, just create a 1GB logical partition to install Oracle VM Server under a single root file system using gparted or similar user friendly tool in a distro of your choice before you get started as the installer's text-based partitioning tool is clunky.
  • the installer asks for an iso file to retrieve packages. This didn't make a lot of sense to me since the packages appear to be available in the USB Oracle VM Server storage created from Oracle's ISO image. I just copied the ISO file onto the USB stick under /images specified the device (eg /dev/sdc5) and directory (ie /images) and the installer was able to locate the required files to complete the installation.
  • if using manually allocated IPs (not DHCP), think about setting up the IP and DNS entries ahead of time.
  • if you have a multi-boot system, don't install boot loader in MBR, just the partition in which you install the OS. Run update-grub as appropriate once the installation is complete to add the installation to your grub boot menu.
  • It's worth noting that I also tried to create various USB boot drives from a number of linux distros which would all generate get the message 'Boot error' when attempting to boot off a USB-HDD option via the BIOS. After wasting a lot of time investigating whether something was wrong with my BIOS firmware or settings, I discovered that using Universal USB Installer was the cause. I was made more nervous as there are a lot of reports of the GA-890FXA-UD5 F6 motherboard installed in my PC having USB-HDD boot issues however there seems to be some relationship to how the USB stick is prepared.

No comments:

Post a Comment