C H A P T E R  2

Software Installation

This chapter includes the following sections:

This chapter includes information about installing an operating system on your workstation, if you do not want to use the preinstalled Solaris 10 Operating System.

Diagnostics software is also included on the Sun Ultra 20 Workstation Supplemental CD. Instructions for using the diagnostics software are provided in the Sun Ultra 20 Workstation User Guide, 819-2146.


2.1 Preparing for Installation

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


FIGURE 2-1 Installation Flow Diagram

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


2.1.1 Erasing the Primary Boot Hard Disk

If you do not have enough space on the boot partition to install an operating system, the Erase Primary Boot Hard Disk option on the Sun Ultra 20 Workstation Supplemental CD main menu enables you to erase other installed operating systems to make room for the new installation.



caution icon

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



To erase the primary boot hard disk:

1. Back up all data that you want to save on the hard drive.

2. Insert the Supplemental CD into the workstation.

3. When the main menu appears, select the following option from the Supplemental CD main menu:

3. Erase Primary Boot Hard Disk

This option erases all partitions currently located on the primary hard drive, except for the diagnostic partition. The diagnostic partition, if it is present, remains untouched.

2.1.2 Setting up the BIOS for Operating System Installation

If you plan to install an operating system onto the Sun Ultra 20 Workstation, you need to make sure that the BIOS is set up correctly before installing the software. See the section below that matches the operating system you plan to install.

2.1.2.1 Setting up the BIOS for Windows XP or Solaris 10

The default for the Installed O/S option is Others. If the default has not been changed, you do not need to perform this setup for Windows XP or Solaris 10 operating systems.

If the BIOS Installed O/S option has been changed from the default, do the following for Windows XP or Solaris 10 operating systems:

1. Power on the workstation and press the F2 key at the Sun logo screen to enter the BIOS Setup menu.

2. Select the Advanced BIOS Features menu.

3. Change the Installed O/S option to Others.

4. Press the F10 key to save your changes and exit the BIOS.

2.1.2.2 Setting up the BIOS for a Linux Operating System

For Linux operating systems (RedHat Enterprise Linux 3 and 4 and SUSE Linux Enterprise System SP1) do the following:

1. Power on the workstation and press the F2 key at the Sun logo screen to enter the BIOS Setup menu.

2. Select the Advanced BIOS Features menu.

3. Change the Installed O/S option to Linux.

4. Press the F10 key to save your changes and exit the BIOS.


2.2 Installing the Operating System

Your Sun Ultra 20 Workstation has the Solaris 10 Operating System preinstalled. You can also choose to install one of the supported operating systems (or later versions) for Sun Ultra 20 Workstation.

Refer to the following URL for information on the operating systems currently supported on the Sun Ultra 20 Workstation:

http://www.sun.com/ultra20

Instructions for installing these operating systems are provided in the Sun Ultra 20 Workstation documentation, available at the Sun website (see Related Documentation). Instructions for installing Windows XP using the Remote Installation Service (RIS) are provided in Appendix A.

Note the following before installing a Linux or Windows XP operating system.

If you want to run Red Hat Enterprise Linux 3 or 4 WS or SUSE Linux Enterprise System on the Sun Ultra 20 Workstation, you can order the software from the following web site:

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



Note - The diagnostic partition is preinstalled on the Sun Ultra 20 Workstation. If the diagnostic partition has been removed from the workstation, refer to the Sun Ultra 20 Workstation User Guide, 819-2146, for information about how to reinstall the diagnostic partition from the Sun Ultra 20 Workstation Supplemental CD.




2.3 Running the up2date Utility

If you are installing the Red Hat Enterprise Linux software, run the up2date utility after installing the operating system and before installing the video drivers from the Sun Ultra 20 Workstation Supplemental CD.



Note - If you have already installed the NVIDIA drivers, you must reinstall them after running up2date, because the kernel is updated.




2.4 Installing Drivers and Mounting the Diagnostic Partition

After installing the operating system, run the installation script provided on the Sun Ultra 20 Workstation Supplemental CD to install the drivers that correspond to your operating system.

The Sun Ultra 20 Workstation Supplemental CD is included with your Sun Ultra 20 Workstation. You can also download the Supplemental CD from the downloads link at:

http://www.sun.com/ultra20

You also need to run this script to mount the diagnostic partition for all supported operating systems if you have created a new diagnostic partition. (See the Sun Ultra 20 Workstation User Guide, 819-2146, for information about how to create a diagnostic partition.) The diagnostic partition cannot be mounted on a Windows XP workstation.

This section covers the following topics:

2.4.1 Installing Linux Operating System Drivers

The order of installation for Linux operating system and drivers is as follows:

1. Remove the preinstalled Solaris operating system from the server. See Section 2.1.1, Erasing the Primary Boot Hard Disk.

2. If necessary, set up the BIOS for Linux operating system installation. See Section 2.1.2, Setting up the BIOS for Operating System Installation.

3. Install the operating system.



Note - Make sure to keep the 55 MB diagnostic partition in place when doing the installation. If the diagnostic partition gets erased for some reason, use the Create Diagnostic Partion option in the Diagnostics section of the Sun Ultra 20 Workstation Supplemental CD. See the Sun Ultra 20 Workstation User Guide for more details.



4. If you have installed a Red Hat Linux operating system, run the up2date utility as shown in Section 2.3, Running the up2date Utility.

5. Install the drivers as shown in the following procedure.

To install the video drivers and mount the diagnostic partition when running a Linux operating system:

1. Log in to the Sun Ultra 20 Workstation as superuser.

2. Insert the Sun Ultra 20 Workstation Supplemental CD into the DVD drive and type:


cd /mountpoint/drivers/linux/operating_system

Where /mountpoint is the directory the CD is mounted to and operating_system is the type of Linux installed on the workstation.

3. If the CD does not automount, open a terminal window and mount the CD by typing the following command:


# mount -o ro /dev/cdrom /mountpoint

Where /mountpoint is the appropriate mount point for the OS and optical drive type.

For example:


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

4. Change to the /mountpoint/drivers/linux/operating_system directory.

Where /mountpoint is the directory that the CD is mounted to and operating_system is the type of Linux installed on the workstation.

For example:


# cd /mnt/dvdrom/drivers/linux/red_hat

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


#./install.sh

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

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

a. Type the following at the system prompt:


% init 3 

b. Log in as superuser.

c. Repeat Step 4 and Step 5.

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

8. Reboot the workstation.

2.4.2 Installing Solaris Operating System Drivers

The following instructions are for installing drivers if you are performing a fresh installation of the Solaris 10 operating system. You do not need to reinstall the drivers if you are using the preinstalled version of the operating system.

1. Remove the currently installed operating system from the server. See Section 2.1.1, Erasing the Primary Boot Hard Disk.

2. If necessary, set up the BIOS for Solaris operating system installation. See Section 2.1.2, Setting up the BIOS for Operating System Installation.

3. Install the operating system. If you are using RIS to install Windows XP, refer to Appendix A.

4. Install the drivers as shown in the following procedure.

To install the drivers and mount the diagnostic partition when running the Solaris 10 Operating System:

1. Log in to the Sun Ultra 20 Workstation as superuser.

2. Insert the Sun Ultra 20 Workstation Supplemental CD into the DVD drive.

The CD is automounted by the Solaris 10 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

The networking and sound drivers are now installed.

The script prompts the user to reboot the system for changes to take effect.

5. Reboot the server.

6. When xserver choices are displayed, select the default Xorg.

7. When prompted for networking information on your system, enter the networking information for your server.

2.4.3 Installing Windows XP Operating System Drivers

The Sun Ultra 20 Workstation Supplemental CD contains NVRAID, NVIDIA display, and NVIDIA chipset drivers for Windows XP. If you are installing NVRAID drivers, you will need to use the XpReburn script to create a new Windows XP CD containing the necessary drivers or create a boot diskette to install the drivers before installing the Windows XP operating system.

The order of Windows XP operating system and driver installation is as follows:

1. Remove the preinstalled Solaris operating system from the server. See Section 2.1.1, Erasing the Primary Boot Hard Disk.

2. If necessary, set up the BIOS for the Windows 2003 Server operating system. See Section 2.1.2, Setting up the BIOS for Operating System Installation.

3. If you plan to use the workstation RAID functionality, install the NVRAID drivers before installing the operating system by one of the following methods:

4. Install the operating system. If you are using RIS to install Windows XP, see Appendix A.



Note - Make sure to keep the 55 MB diagnostic partition in place when doing the installation. If the diagnostic partition gets erased for some reason, use the Create Diagnostic Partion option in the Diagnostics section of the Sun Ultra 20 Workstation Supplemental CD. See the Sun Ultra 20 WorkstationUser Guide for more details.



5. Install the display and chipset drivers as shown in Section 2.4.4, Installing NVIDIA Display and Chipset Drivers for Windows XP.

6. If you are using the onboard ATI Rage XL PCI graphics controller, you need to install the ATI drivers.

Download the ATI drivers from the ATI web site at the following URL.

http://support.ati.com/



Note - The Supplemental CD does not mount the diagnostic partition under Windows XP.



2.4.3.1 Installing RAID Drivers Using XPReburn Script

The Sun Ultra 20 Workstation Supplemental CD (705-1364) contains a script that allows you to create a new Windows XP CD with the needed RAID drivers. After the new CD is created, you can boot the CD and install Windows XP normally. This new CD automatically installs the drivers, making it unnecessary to use a USB diskette drive and to install the NVRAID drivers.

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

To install Windows XP using a RAID configuration, you need the following:

To create a Windows XP CD with the Sun Ultra 20 Workstation drivers:

1. On a Solaris x86, Solaris OS (SPARC Platform Edition), or Red Hat Enterprise Linux 3 or 4, or SLES 9 system, insert the Sun Ultra 20 Workstation Supplemental CD.

2. As superuser, create a temporary directory with at least 1.2 GB of space. For example:


# mkdir /files

3. Copy the XpReburn_version.zip file to that directory.

Where version is the current version of XpReburn.

For example:


# cp /drivers/utilities/XpReburn_1.0.zip /files

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

5. Unzip the XpReburn_version.zip file. For example:


# unzip -q XpReburn_1.0.zip

6. Run the XpReburn script. For example:


#./files/XpReburn

The script displays the driver files it expects to be located in the current directory. When all four driver files are downloaded into that directory, the script creates a new ISO image and then automatically burns that ISO image onto a CD if the system has a CD burner.

7. After the CD is created, install Windows XP Professional on the Sun Ultra 20 Workstation.

8. After the OS installation is complete, install the NVDIA display drivers as shown in Section 2.4.4, Installing NVIDIA Display and Chipset Drivers for Windows XP.

2.4.3.2 Installing RAID Drivers Using a Boot Diskette

This section explains how to create a boot diskette for the NVIDIA RAID drivers using the Sun Ultra 20 Workstation Supplemental CD, and how to install the drivers onto your workstation.

To install the NVIDIA RAID drivers using a boot diskette, you will need the following:

This section contains the following subsections:

Creating a Boot Diskette for NVIDIA RAID Drivers

To create a boot diskette for Windows XP 32- bit and 64-bit, you will need a Windows system with a CD drive and diskette drive.

1. On a Windows workstation, insert the Sun Ultra 20 Workstation Supplemental CD.

2. Change to the following directory on the CD:

d:\drivers\windows\OS\chipset

Where OS is XP32 or XP64.

3. Unzip the NForce_xxx_wxp.zip file and extract the files to a local directory (for example C:\raid).

4. Insert a blank diskette into the workstation.

5. Change to the directory where the files were extracted (for example, C:\raid) and open the to the IDE\WinXP\sataraid directory.

6. Select all files in the directory and copy them to the diskette drive (a:).

Configuring RAID in the BIOS

To configure RAID in the Sun Ultra 20 Workstation BIOS and RAID BIOS on the Sun Ultra 20 Workstation:

1. Configure RAID in the Sun Ultra 20 Workstation BIOS.

a. Reboot the workstation and press the F2 key at the Sun logo screen.

The BIOS Setup screen displays.

b. Select Integrated Peripherals from the main menu.

c. Select RAID config.

d. Under RAID, change the setting to Enable.

e. Press the F10 key to save your change and exit.

2. Configure RAID in the NVRAID BIOS.

a. Press the F10 key to enter the NVRAID BIOS.

b. Select 0 or 1 to create a RAID array.

c. Exit the BIOS.

Installing Windows XP and NVIDIA RAID Drivers

To install Windows XP with the NVIDIA RAID drivers on the Sun Ultra 20 Workstation:

1. Attach a USB floppy diskette drive to the workstation.

2. Insert a Windows XP 32-bit or 64-bit installation CD into the DVD drive.

3. Press the F6 key to install the third-party RAID driver.

4. Press the S key and Enter to specify additional drivers, then insert the diskette.

5. Select the NVIDIA NForce Storage Controller.

6. Press the S key and Enter to specify additional drivers.

7. Select the NVIDIA RAID CLASS DRIVER.

8. Press the Enter key to continue the Windows XP installation.

9. After the OS installation is complete, install the NVDIA display and chipset drivers as shown in Section 2.4.4, Installing NVIDIA Display and Chipset Drivers for Windows XP.

2.4.4 Installing NVIDIA Display and Chipset Drivers for Windows XP



Note - If you have created a Windows XP CD containing NVRAID drivers using the XpReburn option, you do not need to install the chipset drivers, only the display drivers.



To install the NVIDIA display and chipset drivers after installing Windows XP, do the following:

1. Insert the Sun Ultra 20 Workstation Supplemental CD into the DVD drive.

2. (If necessary) Follow these steps to install the chipset drivers:

a. Change the directory on the Supplemental CD by typing the following command:


C:\> cd/D D:\drivers\windows\OS\chipset

Where OS is XP32 or XP64.

b. Double-click the executable file.

c. Follow the instructions in the installation software.

3. Do the following steps to install the display drivers:

a. Change to the directory on the Supplemental CD by typing the following command:


C:\> cd/D D:\drivers\windows\OS\video

Where OS is XP32 or XP64.

b. Double-click the executable file.

c. Follow the instructions in the installation software.

4. Reboot the workstation.