By Simon Coter-Oracle on Apr 02, 2016
Between the others, Oracle VM 3.4 introduce the option to install the Server on an EFI system.
Following steps will show how-to install Oracle VM Server 3.4.1 on a VirtualBox VM EFI based; these steps could be interesting also because new modern HW is EFI based and newest models does not accept anymore to have legacy-BIOS available.
First of all we have to create one VM dedicated to the installation; here you can find all the options selected and configuration in place:
General => Basic
- Name: <desired VM name>
- Type: Linux
- Version: Oracle (64-bit)
System => Motherboard
- Base Memory: <desired memory amount>
- Boot Order: <leave default>
- Chipset: <leave default>
- Pointing Device: <leave default>
- Extended Features: <all selected> - see EFI
System => Processor
- Processor(s): <choose desired number of vcpu>
- Execution Cap: <choose desired vcpu capacity>
- Extended Features: <enabled>
System => Acceleration
- Paravirtualization Interface: Legacy
- Hardware Virtualization: <all selected>
Storage => Storage Tree
- Controller: SATA
- 1 vdisk dedicated to Oracle VM Server installation (I suggest 100GB dynamic vdisk)
- virtual cd-rom with Oracle VM Server 3.4 ISO connected
Now you can proceed to install Oracle VM Server; installation is very easy and there is no particular option to select.
Once installed you'll see that the system, at first reboot, will automatically start the Oracle VM Server dom0; the problem really happens if you are going to stop the VM.
In fact, once the VM stopped, if you are going to start it you'll see that the UEFI Interactive Shell v2.0 will be presented:
To correctly boot Oracle VM Server 3.4.1 we need to specify the grub-efi configuration file with:
Once Oracle VM Server 3.4 has completed the boot process we can now work to have it automatically booting.
To have it, execute following steps:
- Create "startup.nsh" file (default executed on UEFI VirtualBox VM) with:
- echo "\EFI\redhat\grubx64.efi" > /boot/efi/startup.nsh
- ls -l /boot/efi/startup.nsh
From now on, Oracle VM Server will automatically boot on this VirtualBox EFI system without any kind of interaction.