Install Latest Solaris 11.4 on VirtualBox by Pre-Installed Image

Are you thinking to have Solaris Operating System on your Windows computer? Here is an easy solution. Oracle provides their Solaris OS x86 version as the pre-installed image for VirtualBox platform, we can utilize it and get a working latest Solaris 11.4 on a normal computer either a desktop or laptop.

We have listed several pre-installed Linux and Windows images here. Alternatively, you can download the ISO file of the Solaris OS and perform the full installation if you like to learn every installation steps. But for a quick setup, we will download the pre-installed template which is available at Oracle website and import into VirtualBox.

Prerequisites:

  • A computer with more than 2GB RAM and enough disk space, let’s say around 50GB.
  • Latest Oracle VirtualBox software
  • Solaris 11.4 VM Template from Oracle (You need to have an Oracle account which is free to create)

Solaris on VirtualBox – Installation Steps:

1) Make sure you have the latest VirtualBox on your computer. Your computer can be Windows, Linux or macOS.

2) Download the Solaris VM template here. It is approximately 3.3GB size and you need to have Oracle account to download the file. The Oracle account is free to create.

Download The File

3) After finishing the download of Solaris OVA file, open VirtualBox and select Import Appliance option. This will allow you to browse the OVA file.

Import Option

4) Next screen will show the details from the template. Still, these settings can be customized. For example, we can increase the processor core or RAM size and the location of the virtual machine that will be imported now.

Customize The Option

5) Once you press Import, the process will begin. Wait for some time to complete. It is definitely shorter than doing the entire installation process from scratch.

Ongoing Import

6) Here is the imported VM in my VMs list.

Imported VM

7) Power on the VM to see the magic.

8) The first screen will ask to set up initial settings to use the system. This is a one-time setup we need to perform.

Initial Settings

9) Select the appropriate options and press F2 to select and continue to the next screen.

10) I selected the DHCP network, you can manually assign static IP if you want. If you are setting up this server for a proper testing environment with some more clients, then you must assign static IP for better communication and configuration.

Select DHCP Option

11) Set the root password which is mandatory. You can create another user account here. That is optional. My intention is to use the root account as the default user, so I left it.

Set Root Password

12) If all initial settings are correct, you will reach the summary page with your inputs. The system will write the settings and restart.

13) Login with the root credentials (root/password you configured earlier).

First Login Screen - working Solaris on VirtualBox

14) Perform another GNOME initial settings since this build comes with the GNOME theme.

15) You will get the working desktop once the setup is done. Here you can try the Solaris (UNIX) commands for your learning and testing purpose.

Install/Update VirtualBox Guest Additions on Solaris

This image already has the VirtualBox guest additions, that’s why you got the proper working display, network and screen size adjustments without any additional installations. But you may get the warning message saying that the Guest additions are out of date.

Obviously the guest additions installed on this image may not match the VirtualBox version you have. So, it is better to install or upgrade to the latest version.

16) Before starting the installation steps, I noticed that this virtual machine does not have a CD ROM drive. So, we need to add an optical drive to the VM. Then only the guest additions ISO file can be mounted to the optical drive.

17) Shutdown the VM to add an optical drive. Go to virtual machine settings and click on storage. Add an optical drive as below.

Add Optical Drive

18) Once it is added successfully power on the virtual machine. Remember, we have done these steps because this particular pre-built VM doesn’t have an optical drive. If your virtual machine is having the CD drive, you can skip these steps.

19) After a few testings, I found out that the VirtualBox guessing additions on Solaris can’t be upgraded straight away. We need to uninstall the existing guest additions, then install the latest version.

If you try to install the latest version top of the existing older version, it will not be updated. Instead, you will get the message saying “No changes were made to the system”.

Uninstall VirtualBox Guest Additions in Solaris:

20) Make sure you have root access. Enter the following command.

 pkgrm SUNWvboxguest 

 

Remove Guest Additions

Type y to continue the uninstallation.

You will see the successful uninstallation once it is done properly. Now we are good to install the latest version.

21) Click on ‘Devices’ and select ‘Insert Guest Additions CD image’ as below. We added a CD Optical drive to this virtual machine earlier to mount this ISO file.

Install Guest Additions

22) Access the mounted CD drive (the ISO file) from the terminal or any relevant program.

Access CD Drive From Terminal

23) Execute this command once you are inside the CD drive which contains the VirtualBox guest additions files.

Install Latest Guest Additions By Terminal

 pkgadd -G -d ./VBoxSolarisAdditions.pkg 

 

Type y to continue the installation. The successful installation message will appear and ask to re-login. It is always better to restart the virtual machine to get things to work properly after VirtualBox guest additions installation.

24) After the restart, everything should work well. To verify whether the latest guest additions installed properly or to see the version number, I decided to run the pkgrm command without executing it. Type:

 pkgrm SUNWvboxguest 

 

But, type n for the confirmation prompt.

Confirm The Version

25) Take a snapshot of the virtual machine. That will save you in future.

Now we have a fully working Solaris OS on our Windows or Linux or macOS computer. We do not need to have a server to test the Solaris OS. The x86 version is quite good to get hands-on experience by virtualization software Oracle VirtualBox. If you find this article useful, please leave your comments and share with others.

If any of the above solutions did not fix the Windows PC issues, we recommend downloading the below PC repair tool to identify and solve any PC Issues.

Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

1 thought on “Install Latest Solaris 11.4 on VirtualBox by Pre-Installed Image”

Comments are closed.