Friday Feb 04, 2011

Solaris 11 Express VirtualBox VM

A couple of weeks ago I wrote about the release of the Solaris 10 09/10 VirtualBox VM. Yesterday, a VirtualBox image for Solaris 11 Express was released. Here are the quick steps to get it up and running:
  1. Download the Oracle Solaris 11 Express 2010.11 VM for Oracle VM VirtualBox.

  2. Extract the archive:
    bleonard@solaris:~/Download$ unzip OracleSolaris11Express2010_11_VM.zip 
    Archive:  OracleSolaris11Express2010_11_VM.zip
      inflating: OracleSolaris11Express2010_11.mf  
      inflating: OracleSolaris11Express2010_11.ovf  
      inflating: OracleSolaris11Express2010_11-disk1.vmdk  
      inflating: README.txt     
  3. Start VirtualBox and select File > Import Appliance. Then select the OracleSolaris11Express2010_11.ovf file that was just extracted.

  4. On the Appliance Import Wizard, feel free to bump the RAM from the default of 1024 MB if you have it to spare. I'm setting mine to 1536 MB:



  5. Click Finish and wait a few minutes while the VM is imported:



  6. Start the OracleSolaris11Express2010_11 Virtual Machine. Unlike the Solaris 10 VM, the Solaris 11 Express VM comes pre-configured, so you're immediately able to start using the system. When prompted, enter the username oracle and the password oracle:






    Note, the VirtualBox Guest Additions are pre-installed:
    oracle@solaris:~$ pkginfo -l SUNWvboxguest
       PKGINST:  SUNWvboxguest
          NAME:  Oracle VM VirtualBox Guest Additions
      CATEGORY:  application
          ARCH:  i386
       VERSION:  4.0.0,REV=r69151.2010.12.22.15.21
       BASEDIR:  /
        VENDOR:  Oracle Corporation
          DESC:  Oracle VM VirtualBox Guest Additions for Solaris guests
        PSTAMP:  vboxguest20101222152102_r69151
      INSTDATE:  Jan 10 2011 11:50
       HOTLINE:  Please contact your local service provider
         EMAIL:  info@virtualbox.org
        STATUS:  completely installed
         FILES:       50 installed pathnames
                       3 linked files
                       4 directories
                      19 executables
                   22011 blocks used (approx)
    Also, the hard disk isn't quite as generous as the 64 GB disk that ships with the Solaris 10 VM. Here we only have 20 GB:
    oracle@solaris:~$ zpool list rpool
    NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
    rpool  19.9G  4.24G  15.6G    21%  1.00x  ONLINE  -
    Finally, it would probably help to know the root password. It's ovsroot.
    oracle@solaris:~$ su 
    Password: ovsroot
    oracle@solaris:~#
    Actually, the user oracle is in the /etc/sudoers file, so you don't really need the root password:
    oracle@solaris:~$ sudo su
    
    We trust you have received the usual lecture from the local System
    Administrator. It usually boils down to these three things:
    
        #1) Respect the privacy of others.
        #2) Think before you type.
        #3) With great power comes great responsibility.
    
    Password: oracle
    root@solaris:/home/oracle# 

Wednesday Jan 19, 2011

Solaris 10 9/10 VirtualBox VM

A pre-built VirtualBox virtual machine of Solaris 10 9/10, the latest update, has recently been published. The pre-built VM gets you quickly up and running with Solaris 10. Just follow these steps:

  1. Download the Oracle Solaris 10 9/10 Virtual Machine for Oracle VM VirtualBox. It's 1.8 GBs.

  2. Extract the Archive:
  3. bleonard@solaris:~/Download/$ unzip Solaris10_9-10_VM.zip 
    Archive:  Solaris10_9-10_VM.zip
      inflating: README.txt              
      inflating: Solaris10_9-10.mf       
      inflating: Solaris10_9-10.ovf      
      inflating: Solaris10_9-10.vmdk 
    
  4. Start VirtualBox and select File > Import Appliance. Then select the Solaris10_9-10.ovf file that was just extracted.

  5. On the Appliance Import Wizard, set the Guest OS Type to Solaris modern (S10U8+). Also feel free to bump the RAM from the default of 1024 MB if you have it to spare. I'm setting mine to 1536 MB:



  6. Click Finish and wait a few minutes while the VM is imported (Note, the dialog may initially say something ridiculous like 20 hours remaining. You can safely ignore this.):



  7. Start the Solaris 10_9-10 Virtual Machine. The machine is delivered unconfigured, so on first boot you'll need to select your keyboard layout, network connectivity, security policy, name service, NFSv4 domain name, time zone and root password. Once these settings are selected the system will reboot into the Solaris 10 desktop:



    Note, the VirtualBox Guest Additions are pre-installed:
    # pkginfo -l SUNWvboxguest
       PKGINST:  SUNWvboxguest
          NAME:  Oracle VM VirtualBox Guest Additions
      CATEGORY:  application
          ARCH:  i386
       VERSION:  3.2.8,REV=r64453.2010.08.05.14.52
       BASEDIR:  /
        VENDOR:  Oracle Corporation
          DESC:  Oracle VM VirtualBox Guest Additions for Solaris guests
        PSTAMP:  vboxguest20100805145230_r64453
      INSTDATE:  Sep 14 2010 17:23
       HOTLINE:  Please contact your local service provider
         EMAIL:  info@virtualbox.org
        STATUS:  completely installed
         FILES:       51 installed pathnames
                       3 linked files
                       4 directories
                      19 executables
                   19628 blocks used (approx)
    Also, ZFS is used as the root file system with a 64 GB dynamically expanding hard disk (so it will only consume 64 GBs of your host system if you actually use that much space in the VM):
    # zpool list
    NAME    SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
    rpool  63.5G  4.57G  58.9G     7%  ONLINE  -
    
    # zfs list
    NAME                  USED  AVAIL  REFER  MOUNTPOINT
    rpool                5.10G  57.4G  32.5K  /rpool
    rpool/ROOT           3.57G  57.4G    21K  legacy
    rpool/ROOT/s10_0910  3.57G  57.4G  3.57G  /
    rpool/dump           1.00G  57.4G  1.00G  -
    rpool/export           44K  57.4G    23K  /export
    rpool/export/home      21K  57.4G    21K  /export/home
    rpool/swap            544M  57.9G    16K  -
    

Tuesday Nov 16, 2010

Video Tutorial: Installing Solaris 11 Express in VirtualBox

Jim Laurent has put together a nice 12 minute screencast on installing Solaris 11 Express in VirtualBox, including how to setup shared folders with the host OS.

The video also covers an important tip, which is that the root password is expired at install time and must be immediately changed. Otherwise, GUI tools prompting for the root password will not work. You can read the details in the release notes: Gksu Does Not Report Expired Password.

Friday Apr 03, 2009

Two sessions about OpenSolaris and VirtualBox

My colleague Brian Leonard presented about OpenSolaris and VirtualBox at Community One East. The OpenSolaris session is called "Moving to OpenSolaris" and explains some of the basics of using OpenSolaris for people who are new to OpenSolaris.[Read More]

Tuesday Jan 13, 2009

Screencast: Installing OpenSolaris in VirtualBox

I was talking to a teacher before the Christmas break who was interested in replacing Windows with OpenSolaris in his elementary school lab. He knew very little about OpenSolaris and was considering using VirtualBox to take it for a spin. There's lots of good documentation on installing OpenSolaris in VirtualBox, but sometimes folks just like to watch the process.

The 12 minute screencast below covers all the steps, from getting the software to installing the VirtualBox guest additions.


Click the image to play the screencast


Monday Dec 15, 2008

OpenSolaris, Sun Web Stack and VirtualBox debut at Devoxx

As Devoxx founder Stephan Janssen told me last week: "Even though you're an evangelist, the committee reviewed your talk and thought it would be of interest".

[Read More]

Tuesday Nov 11, 2008

Sharing Folders from VirtualBox on a Mac OS Host

As of VirtualBox 2.0.4, shared folders are still not supported for Solaris guests. However, you can still share data with your host operating system using SMB. In this example I'll explain how to set up the share on Mac OS and access it from OpenSolaris.[Read More]

Thursday Oct 23, 2008

VirtualBox Rollback

As a software developer, I use VirtualBox to test how my applications look, feel and behave across different operating systems and/or browser combinations.

However, how do you keep the virtual machine clean? Over time it will become as friendly to your application as your host operating system. VirtualBox does have a Snapshot feature. However, if you have multiple machines, it could be tedious to roll them back individually. A better option in this case is to use a ZFS snapshot. By putting VirtualBox in its own ZFS file system, you can take a snapshot whenever you like, and then roll back to your clean slate once testing is complete. Here's how I set it up:

[Read More]

Tuesday Aug 12, 2008

Sound in VirtualBox from MacOS X Host

Earlier today Gregg pointed me to New OSS Drivers Fix Sound Issues in OpenSolaris on Mac OS X - and lo and behold - they do - at least in VirtualBox

[Read More]

Monday Jul 21, 2008

Triple Boot, Part 4: Windows via VirtualBox

After setting up my triple-boot system, I was not content.  I want access to Windows Vista and Ubuntu 8.04 without having to restart my system. 

[Read More]

Wednesday Jul 16, 2008

Triple Boot, Part 3: Install OpenSolaris

Installing OpenSolaris 2008.05 is very similar to the process I used for installing Ubuntu 8.04: download the .iso image file, burn it to a CD, and then boot the CD. 

[Read More]

Triple Boot, Part 2: Install Ubuntu

Installing Ubuntu is not too hard: download the ISO image file, burn it to a CD, and then boot the CD. [Read More]

Triple Boot, Part 1: Planning

Brian wrote up his experience getting OpenSolaris 2008.05 to work in a dual-boot environment with OS X.  There are also some excellent resources available in the Getting Started With OpenSolaris 2008.05 documentation. But none of those described exactly what I wanted : a triple-boot system with Windows Vista, OpenSolaris 2008.05, and Ubuntu 8.04. This series of blog entries will describe the process I used to get all three installed and working on my system.[Read More]

Tuesday Jul 08, 2008

VirtualBox and the ZFS Demonstration Tutorial

The ZFS Demonstration Tutorial is an excellent resource, however, many are probably put off by the requirements necessary to complete it. The good news is that VirtualBox makes this REAL easy.

[Read More]

Thursday Jun 26, 2008

Sharing Folders

A key piece of software for many OpenSolaris 2008.05 users is VirtualBox.  Some use it to run OpenSolaris as a guest operating system, others install VirtualBox on OpenSolaris in order to run other operating systems as guests. I'll be writing more about VirtualBox in future posts and there is now a blog devoted to collecting posts about VirtualBox.

There are some limitations to be aware of, particularly when running OpenSolaris as a guest operating system under VirtualBox.  The biggest one for me is that in the current release of VirtualBox (1.6.2), there is no support for sharing folders with an OpenSolaris guest.

When OpenSolaris is the host operating system, however, VirtualBox does support sharing folders with a variety of guest operating systems, as Angel Camacho points out in this post.  

About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today