Solaris 11 Express Interactive Installation

One thing I didn't note in my previous entry on the Solaris 11 Express 2010.11 release is that there are some new developments in installation since the last available builds of OpenSolaris.  This post just discusses the interactive installation options, while a subsequent entry will discuss the Automated Installer.

Before digging into the details, it's probably useful to explain the philosophy of the interactive installers a bit for those encountering them for the first time, as it is somewhat of a departure from Solaris 10 and prior.  Our basic guiding principle is probably best summarized as, "Get the system installed and get out of the way."  To elaborate a bit, the idea is to collect a minimal amount of configuration required to make the installed system functional, execute the install quickly, and let the user get on with using the system.  That means that a lot of the configuration you might have been asked about in past Solaris releases, such as Kerberos or NFS domains, or installing additional, layered software, are just not present.  You're asked only to select a disk, partition it a bit if you want, provide timezone and locale, and create a user account.  You're also not prompted to interactively select the software to be installed.  Instead, the software that's present on the media is what's installed, providing a useful starting point at first boot.  From there, you can use tools like the pkg CLI or the Package Manager GUI to customize software to your heart's content, all installed from the convenience of a software repository on the network.

There are several reasons why we think this shift is appropriate.  First, many of the configuration settings that were prompted for in the past were of interest to only small minorities of users.  That means we were making it harder for the majority, which is almost always a bad choice.  Second, we've put in a concerted effort over the past 5+ years to make Solaris configured more correctly to start with, and more capable of self-configuring, so that more users get the best results, not just those who can figure out the right knobs to twist.  The end results should be better for all of us in the Solaris ecosystem, as behavior will be more consistent and predictable.  Finally, in terms of software selection, we've reached the point where the commonly-available media format (DVD) just isn't large enough to incorporate all the software we want to provide as part of the product - we've just plain outstripped the rate of improvement in software compression technology.  It's well past time that we oriented Solaris towards a network-centric software delivery paradigm.

Text Installer

The most obvious difference to OpenSolaris users is the addition of the Text Installer, a curses-based interactive UI designed to run comfortably on all those servers out there that have only serial consoles.  Those that were following the OpenSolaris development train did see a late preview of this from the project team back around build 134, but S11 Express is the first release that includes this installer.  This now means that there is an interactive install option for SPARC users, as the GUI install is offered only on the x86 live CD.

Philosophically, this UI shares a fair amount with the GUI: it's a fairly streamlined experience that doesn't allow customization of the software payload, but does allow a little more freedom in disk configuration (most notably, the ability to preserve existing VTOC slices).  Like the GUI, the installation is a direct copy of the media contents, so what is included on the media defines the installation.

Initially, we've opted to include this installer only on a new, separate ISO download, identified as Text Install on the downloads page.  This image might be more accurately called "Server Install", as that's what it really is meant to be: a generic server installation that includes most, if not all, of the Solaris server elements, but omits the GNOME desktop and related applications.  If this is the image you downloaded and installed but you really wanted the GNOME desktop (easy to do since it's the first image on the page), then the easy solution is to install the package set that appears on the live CD media; you can accomplish that with the command pkg install slim_install, slim_install being the IPS group package that we use to define the live CD contents.  Incidentally, the group package that defines the text install media contents is the server_install package.

One thing that server administrators will undoubtedly find missing is the ability to directly configure the network as part of the install; right now it defaults to the automatic configuration technology we call Network Auto-Magic (or NWAM).  We do plan to extend the text installer to also provide static network configuration, so you'll be able to supply an IP address and nameservice configuration directly, rather than having to do this post-installation.

GUI Installer

The GUI installer has undergone some small changes from the versions provided with OpenSolaris.  If the last time you used it was with OpenSolaris 2009.06, the biggest difference is that it provides support for extended partitions, which provides a little more flexibility in dealing with the limitations of the x86 partitioning scheme and eases co-existence with other OS's in multi-boot configurations.  The other change here, more subtle, is that the UI no longer separately prompts for the root password.  Instead, the password for the root role is set to the same password as the initial user account (which is now required, where it was optional during OpenSolaris releases).  The root password is created as expired, however, so first time you su to root, you'll be prompted to change the password.  Finally, the initial user account is no longer assigned the Primary Administrator profile to enable administrative access.  Instead, the user account retains access to the root role, and is also given all access to sudo.  The text installer does allow independent setting of the root password at this release, but we expect to align it with the GUI in a future build.


Nice to be seeing milestones for 11 reached.

I have a rather simple question though. Why was sudo favoured over pkexec?

Posted by Sergio Schvezov on November 22, 2010 at 02:26 AM EST #

Sergio, the advantage of sudo vs. pfexec at this release is that sudo requires the user to authenticate himself with his password, where pfexec does not, so it's somewhat more secure against keyboard session hijacking. The authentication capability is being added to pfexec in later builds and we may make changes to utilize it for future releases, but sudo was the better choice at this time.

Posted by Dave Miner on November 22, 2010 at 03:30 AM EST #

I have a question about Solaris 11 express 201011. I did not see any chance to choose serial console redirection.(e.g. ttya)How do I choose console redirection? Thank you.

Posted by Charles on November 30, 2010 at 08:42 PM EST #

Charles, you're right, that's an oversight on the text installer media; the automated installer does have this, but it needs to be added to the interactive media as well. You should be able to enable it, though, by hitting escape to reach the GRUB menu, then pressing 'e' to edit the default menu entry, then another 'e' to edit the kernel$ line. Appending '-B console=ttya' to the entry, then hitting Enter and pressing B to boot should start booting with console redirection.

Posted by Dave Miner on December 01, 2010 at 03:44 AM EST #

Thank you for kindly reply.I am able to enable console redirection now.

Posted by Charles on December 01, 2010 at 01:48 PM EST #

I just want to know if we can use Oracle Solaris Express 11 for free like the Open Solaris or we have to suscribe the support ?

thank you

Posted by Rusty on December 08, 2010 at 10:54 PM EST #

Rusty, you should read the license agreement on OTN before downloading, but the quick summary is that if you're going to use it for production, you must buy a support agreement.

Posted by Dave Miner on December 09, 2010 at 02:03 AM EST #

Post a Comment:
Comments are closed for this entry.

I'm the architect for Solaris deployment and system management, with a lot of background in networking on the side. I spend a lot of my time currently operating Solaris Engineering's OpenStack cloud. I am co-author of the OpenSolaris Bible (Wiley, 2009). I also play a lot of golf.


« January 2017

No bookmarks in folder


No bookmarks in folder