6 Installing an OS on Simics
6.1 Installing Solaris on Simics
Solaris can be installed directly on the simulated machine in Simics.
Solaris can be obtained from Sun's web-site at
http://www.sun.com/software/solaris/binaries/get.html in the
form of ISO images.
To simplify the installation process, some scripts are supplied with the
Simics distribution for the chili machine:
where <version> is 8, 9 or 10. The scripts
will answer all questions automatically to create a standard workstation
6.1.1 Installation, step by step
This section describes how to install Solaris using the command-line
Select the install script to use, depeding on Solaris version to install,
for Solaris 10, chili-sol9-cd-install.simics
for Solaris 9, or chili-sol8-cd-install.simics
for Solaris 8.
Set the path to the CD images in the simics script. The line
$cdrom_path[$idx] = ("sol-10-u2-ga-sparc-v" + $idx + ".iso")
should be changed to reflect the location and name of the CD images
for the installlation. It can either be ISO image files, or
a CD-ROM device file (Linux and Solaris host only).
Start the first installation script, for example:
$ ./simics targets/fiesta/chili-sol10-cd-install.simics
and wait for it to complete. This may take several hours, depending on the
performance of the host machine.
When the script stops, the installation is ready. The newly
created disk image has the following file name:
To boot a machine with the newly installed Solaris OS, run the
chili-common.simics and make sure that the variable
$os is set to "solaris10",
"solaris9" or "solaris8" depending on
the operating system version installed). Add a line like the following first
in that simics script:
$os = "solaris10"
An optional last step is to compress the disk image with the
craff utility to save some disk space.