C H A P T E R  2

Software Installation

This chapter includes the following sections:

This chapter includes information on installing an operating system on your workstation, if you do not have a preinstalled operating system.

Diagnostics software is also included on the Sun Java Workstation W1100z and W2100z Supplemental CD. Instructions for using the diagnostics software can be found in the Sun Java Workstation W1100z and W2100z User Guide, 817-6585-xx.


Preparing for Installation

Refer to FIGURE 2-1 for information on the process flow for installing an operating system on your workstation.


FIGURE 2-1 Installation Process Flow Diagram

Figure shows the process flow for setting up the workstation software.


Erasing the Primary Boot Hard Disk

If you do not have enough space on the boot partition to install an operating system, there is an option on the Sun Java Workstation W1100z and W2100z Supplemental CD V1.2 (705-1059-12 or later) main menu, which enables you to erase other installed operating systems to make room for the new installation.



caution icon

Caution - Choosing the Erase Primary Boot Hard Disk option from the Supplemental CD will erase all partitions on the hard drive, with the exception of the diagnostic partition. All user data will be lost. Make sure to back up all data on the hard drive before performing this action.



After you have backed up all data that you want to save on the hard drive, select the following option from the Supplemental CD main menu:

3. Erase Primary Boot Hard Disk

This will erase all partitions currently located on the primary hard drive, except for the diagnostic partition. The diagnostic partition, if one if present, will remain untouched.


Installing the Operating System

If your Sun Java Workstation W1100z and W2100z system does not have a preinstalled operating system, you will need to install an operating system of your choosing.

The following operating systems are supported at the time of this document release:

Instructions for installing these operating systems can be found in the media sets that come with the operating system software.

The Solaris 9 x86 HW Operating Environment (4/04), or latest version, is included on a DVD shipped with the Sun Java Workstation W1100z or W2100z. Ensure that you use the version of Solaris 9 x86 that comes with the workstation, because it includes the drivers necessary for running Solaris 9 on the Sun Java Workstation W1100z or Sun W2100z.

If you want to run Red Hat Enterprise Linux 3 WS on the Sun Java Workstation W1100z or W2100z, you can order it from the from the following web site:

http://wwws.sun.com/software/linux/index.html

Support for additional operating systems will be available after the initial release of the Sun Java Workstation W1100z and W2100z. Refer to one of the following URLs for information on the operating systems currently supported:

http://www.sun.com/w1100z

http://www.sun.com/w2100z



Note - The diagnostic partition is preinstalled on the Sun Java Workstation W1100z and W2100z at the factory. If, for some reason, the diagnostic partition has been removed from the workstation, refer to the Sun Java Workstation W1100z and Sun W2100z User Guide, 817-6585-xx, for information on how to reinstall the diagnostic partition from the Sun Java Workstation W1100z and Sun W2100z Supplemental CD.




Running the up2date Utility

If you are installing the Red Hat Enterprise Linux 3 WS software, run the up2date utility after installing the operating system and before installing the video drivers from the Sun Java Workstation W1100z and W2100z Supplemental CD.

Red Hat Enterprise Linux 3 WS AMD64 Update 1 is required for proper operation of the latest NVIDIA display drivers.



Note - If you have already installed the NVIDIA drivers, you will need to reinstall them after running up2date, because the kernel will be updated.




Installing Drivers and Mounting the Diagnostic Partition

After installing the operating system, run the installation script found on the Sun Java Workstation W1100z and W2100z Supplemental CD to install the drivers that correspond your operating system.

The drivers for Java Desktop System, Release 2, and the script needed to install Window XP drivers are only available on the Supplemental CD version 1.2 (part number 705-1059-12) or later. If you have an earlier version of the CD, you can download the Supplemental CD v1.2 ISO image from the following web site:

http://www.sun.com/desktop/workstation/w1100z/downloads.html

You also need to run this script to mount the diagnostic partition for Red Hat Linux, Solaris, or Java Desktop System, if you have created a new diagnostic partition (see the Sun Java Workstation W1100z and W2100z User Guide, 817-6585-xx, for information on how to create a diagnostic partition). The diagnostic partition cannot be mounted on a Windows XP workstation.

This section contains the following subsections:

Red Hat Linux Operating System Driver Installation

To installing the video drivers and mount the diagnostic partition when running a Red Hat Linux operating system:

1. Log in to the Sun Java Workstation W1100z or W2100z as superuser.

2. Insert the Sun Java Workstation W1100z and W2100z Supplemental CD into the
CD/DVD-ROM drive.

3. Open a terminal window and type the following command:

# mount -o ro /dev/cdrom /mnt/cdrom

This mounts the Supplemental CD to /mnt/cdrom

4. Change to the /mnt/cdrom/drivers/linux/red_hat directory by typing the following command:

# cd /mnt/cdrom/drivers/linux/red_hat

5. Run the installation script by typing the following command:

# ./install.sh

This script will not execute if the X server is running.

6. If the script exits and you get an error message, you will need to perform the following steps to disable the X server:

a. Type init 3 at the system prompt.

b. Login as superuser.

c. Repeat Step 4 and Step 5.

7. Eject the CD after the driver installation is completed.

8. Reboot the workstation.

Solaris Operating System Driver Installation

To install the drivers and mount the diagnostic partition when running the Solaris operating system:

1. Log in to the Sun Java Workstation W1100z or W2100z as superuser.

2. Insert the Sun Java Workstation W1100z and W2100z Supplemental CD into the
CD/DVD-ROM drive.

The CD is automounted by the Solaris operating system.

3. Change to the /cdrom/cdrom0/drivers/sx86 directory by typing the following command:

# cd /cdrom/cdrom0/drivers/sx86

4. Run the install script by typing the following command:

# ./install.sh

5. Reboot the workstation.

Java Desktop System Release 2 Driver Installation

Java Desktop System, Release 2 for SUSE Linux

To install the drivers and mount the diagnostic partition when running the Java Desktop System, Release 2 (which includes SUSE Linux):

1. Log in to the Sun Java Workstation W1100z or W2100z as superuser.

2. Insert the Sun Java Workstation W1100z and W2100z Supplemental CD into the
CD/DVD-ROM drive.

3. Open a terminal window and type the following command:

# mount -o ro /dev/cdrom /mnt/cdrom

This mounts the Supplemental CD to /mnt/cdrom

4. Change to the /mnt/cdrom/drivers/linux/suse directory by typing the following command:

# cd /mnt/cdrom/drivers/linux/suse

5. Run the installation script by typing the following command:

# ./install.sh

6. Reboot the workstation.

Sun Java Desktop System, Release 2 for Solaris 9 x86 Platform Edition

If you are installing the drivers for the Java Desktop System for Solaris, follow the instructions in Solaris Operating System Driver Installation. The install script for the Solaris Operating System will also install the Java Desktop System drivers.

Windows XP Operating System Driver Installation

Windows XP Professional retail media does not contain the necessary SCSI, network, AMD chipset (including audio), and accelerated NVIDIA Quadro display drivers for proper operation on the Sun Java Workstation W1100z or W2100z. Windows XP can not be installed on a Sun Java Workstation W2100z without at least providing the Adaptec SCSI drivers during the installation process.

The Sun Java Workstation W1100z or W2100z Supplemental CD V1.2 (705-1059-12) or later contains an experimental script, which allows you to create a new Windows XP CD that includes the needed drivers. After the new CD is created, you can boot the CD and install Windows XP normally. This new CD automatically installs the SCSI and network drivers, which removes the need to use a USB floppy and a diskette to install the SCSI drivers.

The remaining AMD and NVIDIA drivers are left on the CD in the \Drivers directory for ease of installation after Windows XP has been installed.

For specific and current information, see the description at the top of the script which is located in /drivers/utilities/XpReburn on Supplemental CD V1.2 (705-1059-12) or later.



Note - The Supplemental CD does not mount the diagnostic partition for Windows XP as it does for other operating systems.



To install Windows XP using the Sun Java Workstation W1100z and W2100z Supplemental CD, you will need the following:

To create a Windows XP CD with the Sun Java Workstation W1100z and W2100z drivers:

1. On a Solaris x86, Solaris SPARC or Red Hat Enterprise Linux 3 system, insert the Sun Java Workstation W1100z and W2100z Supplemental CD.

2. As super user, create a temporary directory with at least 1.2 Gbyte of space.

For example:

# mkdir /files

3. Copy the XpReburn script to that directory.

For example:

# cp /drivers/utilities/XpReburn /files

4. Eject the Supplemental CD and insert your retail Windows XP 32 Professional CD.

5. Run the XpReburn script.

If you want the script to automatically burn a new CD, add the -b option to the command.

For example:

# ./files/XpReburn [-b]

The script will display the driver files it expects to be in the current directory. When all four driver files have been downloaded into that directory, the script creates a new ISO image and then optionally burns that ISO image onto a CD if the system has a CD burner.

After the CD has been created, you can install Windows XP Professional on either the Sun Java Workstation W1100Z or W2100z. After installation is complete, install the AMD driver pack and the NVIDIA drivers from the installers located in the \Drivers directory.

Refer to the description at the top of the script file for details and the latest information.


Java Desktop System Installation or Recovery

This section contains the following subsections:

If you have the Java Desktop System, Release 2 for Linux or the Java Desktop System, Release 2 for Solaris 9 x86 Platform Edition preinstalled on you Sun Java Workstation W1100z or W1100z, you will have DVDs or CDs included with the systems to aid in recovery, in case you need to reinstall the Java Desktop System.

If you do not have the Java Desktop System Release 2 media, you can download the software from the following web site:

http://wwws.sun.com/software/javadesktopsystem/get/index.html

The next subsections describe how to install the Java Desktop System from DVD or CDs. If you download the Java Desktop System from the web site, there are instructions on the web site for downloading and installing the Java Desktop System. Additional information on installing the Java Desktop System, including installation from a network, refer to the full Java Desktop System installation documentation at:

http://docs.sun.com/db/doc/817-7658

Installing the Java Desktop System for Solaris Systems

This section describes how to install the Java Desktop System from the product DVD.



Note - You must first install the Solaris 9 Operating System 9/04 on x86 platforms on your Sun Java Workstation W1100z or Sun Java Workstation W2100z. See Installing the Operating System or the documentation that applies to the version of Solaris you are using at http://docs.sun.com/



Perform the following steps to install the Java Desktop System:

1. From the Solaris Login screen, choose Options, then Sessions, then Common Desktop Environment (CDE) and log into the system as super user.

2. Once you are logged in, open the DVD tray, insert the product DVD, then close the DVD tray.

After a few seconds, the DVD file manager is displayed.



Note - If the DVD file manager displays, go to Step 4. If the file manager does not display, follow the instructions in Step 3.



3. If the DVD file manager window fails to open, perform the following steps:

a. From the CDE Front Panel, choose File, then Removable Media Manager.

b. Double-click on the DVD icon to open the file manager.

If the file manager fails to open, you may need to stop and restart Volume Management.

Enter the following commands in a terminal window:

# /etc/init.d/volmgt stop

# /etc/init.d/volmgt start

4. Double-click on the JavaDesktop folder.

5. Double-click on install-jds icon in the JavaDesktop folder.

6. Follow the on-screen instructions to view the license.

7. Type accept in the current UI language at the prompt. If you do not type accept, you cannot continue with the installation.

The installer checks your system and then begins to install the Java Desktop System, Release 2 software.

8. When the installation is complete, choose File, then Eject and close the installer terminal window.

9. Reboot your workstation.

10. From the Login screen, choose Options, then Sessions, then Java Desktop System, Release 2 to log into the Java Desktop System.

Installing the Java Desktop System for SUSE Linux

This section describes how to install the Java Desktop System using the CDs included with your Java Desktop System installation package.

Perform the following steps:

1. Insert the Java Desktop System, Release 2 CD 1 into the CD-ROM drive.

The system starts to boot and displays the following list of options:

2. To perform a new installation of the Java Desktop System, use the arrow keys to highlight the Installation option, then press Enter.

The Configurator presents a Software Evaluation Agreement dialog.

3. Click on Accept to continue with the installation.

You cannot continue with the installation if you do not click on Accept.

4. From the Language Selection dialog, select a language, then click on Accept.

The Configurator analyzes your system.

Select this option if SUSE Linux is not installed on your system or if you want to replace an installed version of Linux.

Select this option if you want to upgrade an installed version of SUSE Linux. This option preserves configuration settings from your existing system whenever possible.

Select this option if you have an installed version of SUSE Linux that you cannot reboot. You can use this option to try to fix the reboot problem manually.

Select this option if you want to abort the installation.

5. Select New installation and click OK.

The Configurator displays the following Software Options:

6. Select the appropriate option and click on Accept.

You are presented with the Installation settings for your system.

For example:

If you click on Partitioning to modify the default settings, the Configurator checks your hard disk and displays the following options:

Select Accept Proposal as is and click on Next.



Note - If you want to create a dual boot system, partitioning is an essential part of the installation procedure. See Guidelines for Partitioning for more information.



If you click on Software, the Configurator displays the following software options:

Select the appropriate option and click on Accept.

If you click on Booting, the Configurator displays the following boot options:

Select the appropriate option and click Accept, or accept the booting option proposed by the Configurator.

7. Click on Accept to continue with the installation.

8. Click on Yes, install to commit the installation and all the choices made so far.

A message informs you that the Configurator is preparing your hard disk. When the installation begins, a screen is displayed with the following panes:

Displays the name, description and size of the installation package and a status bar showing percentage completion of the installation.

Displays the status of the percentage download completed from the CD and the estimated time remaining to complete the download.

Displays a log of activity for all the packages currently being installed on your system.

After the system reboots, a dialog requests you to insert CD 2.

9. Insert CD 2 and click OK.

When the packages from CD 2 are installed, a dialog requests you to insert CD 3.

10. Insert CD 3 and click OK.

When all the packages from CD 3 are successfully installed, the Configurator prompts you to enter a password for root (super user), the system administrator.



Note - Make a note of the root password for future references. You only need to log in as root for system administration purposes.



11. Enter a password for the root user.

12. Reenter the password for verification and click on Next.

You are then prompted to add a new user. This option is optional in a network environment.

13. Enter the First name, Last name, User login, and Password for the user you want to add and click on Next. A new user account is created with the details you enter.

The Configurator starts to initialize the Desktop Settings as follows:

14. Select the Graphical desktop environment and click on Accept.

For a standalone non-networked installation, the Configurator tries to detect local printers only.

15. Click Yes if you have a local printer attached to your system. Otherwise, click on Skip detection.

The Configurator writes the system configuration and displays the Installation Settings for the following hardware devices:

16. To change any of the Installation Settings, click on Change. Click on Next to accept the settings.

A message is displayed that the configuration is saved successfully and the system automatically reboots.

17. Eject the DVD.

18. At the login screen, log in with the username and password that you set up for the new user.

You can now use the Java Desktop System.

The following desktop objects are displayed:

Refer to the Java Desktop System Release 2 User Guide for help to get you started using the Java Desktop System on a Linux system.

Guidelines for Partitioning

TABLE 2-1 contains recommended guidelines for partitioning your disk:


TABLE 2-1 Partitioning Guidelines

Partition

Size

Type

Notes

/

5 Gbyte (3 Gb1 yte minimum)

Primary

Install the entire Java Desktop System operating system onto a single partition. This method provides sufficient space for you to install a later release of the Java Desktop System without the need to repartition the disk.

swap

Double the size of the RAM (128 MB minimum)

Swap

You can increase or reduce the size of the swap partition as necessary.


Resizing Your Partition

The Configurator presents the following options when resizing your partition:

Perform the following steps to resize a partition:

1. From the Installation Settings dialog, select Partitioning, select Base partition setup on this proposal option, then click on Next.

2. Highlight the partition that you want to resize, then click on Resize.

3. Use the slider to set how much space you want to allocate to your Windows partition and your Linux partition, then click OK.



Note - The minimum allocation of space for Linux is 3024 MB.



4. Click on Next to save the partition table and return to the Installation Settings screen.

Creating a Custom Partition Table

If the partition recommended by the Configurator is unsuitable for the Java Desktop System installation, you might need to create a custom partition table.

Perform the following steps to create a custom partition table:

1. Back up any files you want to keep.



Caution - This procedure overwrites your existing operating system partition.



2. From the Installation Settings dialog, select Partitioning, select Create custom partition option, then click Next.

3. Select Custom partitioning, for experts, then click Next to launch the Expert Partitioner dialog.

4. Select the device that refers to the disk where you want to install the application.

For example /dev/hda, then click Delete to erase all partitions on that disk.

5. Click Create to create a new partition and select the Primary option.

6. In the pop-up window, set the Start Cylinder size to 0, set the End Cylinder size to + 5 GB and set the mount point to / .

7. Click Create to create a new partition and select the Extended option.

The pop-up window must contain all the correct settings. For example, the Start Cylinder value must be one more than the End Cylinder value of hda1 and the End Cylinder value can be the same as the End Cylinder value for /dev/hda.

Creating an extended partition that covers the remainder of the disk forces all other partitions to be created within that extended partition.

8. Click Create to create a new partition.

9. Select Swap from the menu beneath the Format option.

10. Specify the size of the swap partition using the + syntax in the End field.

For example, if your system has 256 MB RAM, you would have 512 MB of swap memory, which is expressed as + 512 MB.

11. Click Create to create a new partition.

A new partition to occupy the remainder of the disk is configured.

12. Set the Mount Point to /usr.

13. Click Next to save the partition table and return to the Installation Settings screen.

 

Java Desktop System Post Installation Procedures

This subsection describes post-installation procedures that you can perform after you install the Java Desktop System, Release 2.

Checking for and Installing System Updates

The Java System Update Service (Java SUS) enables you to perform the following actions:

To launch the Java SUS application, choose Launch, select Applications, select Utilities, then select Online Update.

Refer to the Java System Update Service User's Guide for more information. This guide is available at http://docs.sun.com.

Configuring the Xorg Xserver

Before you start to configure your Xorg Xserver, you need to know the following

Configuring the Xorg Xserver on Solaris Systems

To configure the Xorg Xserver for the Solaris 9 Operating System 9/04 on x86 platforms, perform the following steps.

1. Log in as super user to a command line Login session.

2. Run the following command to start the Xorg Xserver configuration:

# /usr/X11R6/bin/xorgconfigure

3. Follow the instructions that appear on your screen.

Respond to all prompts and follow through the configuration decisions that you need to make.

You can reconfigure the Xserver back to its default values as follows:

1. Log in as super user to a command line Login session.

2. Execute the following command:

# /usr/X11R6/bin/X -xconfigure

3. Copy the generated /xorg.conf.new file to /etc/X11/xorg.conf as follows:

# cp /xorg.conf.new /etc/X11/xorg.conf

Configuring the Xorg Xserver on Linux System

Use the YaST2 configuration tool for configuring the Xorg Xserver on Linux systems.