The diagnostic partition is preinstalled on the Sun Ultra 27 workstation. You need to reinstall the diagnostic partition only if you reformatted your hard drive. Using the Erase Primary Boot Hard Disk utility on the Tools and Drivers DVD preserves the diagnostic partition (see the Sun Ultra 27 Workstation Linux and Solaris Operating System Installation Guide).
The Create Diagnostic Partition option installs a diagnostic partition on the first bootable disk seen by the workstation. The first bootable disk is on the primary or master storage (for example, SATA) device.
The following sections explain how to create and access the diagnostic partition on the Sun Ultra 27 workstation:
From the boot loader, Pc-Check can view only the first or second hard disk on the system. The software automatically installs the diagnostic partition on the first bootable disk. To add the diagnostic partition on the first bootable disk:
Insert the Tools and Drivers DVD into the DVD drive.
Reboot the workstation.
The workstation boots from the DVD drive.
If the workstation does not boot from the DVD drive, access the BIOS Setup Utility and make the DVD drive the primary boot device.
At the Tools and Drivers DVD main menu, type 1 to run Hardware Diagnostics.
The Hardware Diagnostics menu appears.
From the main menu, choose Create Diagnostic Partition.
If the first bootable disk is clear of partitions, the Sun Microsystems Partitioning Utility window appears. It states
“Your primary hard disk is not partitioned. Would you like to partition it now?” |
Select Yes, and press the Enter key.
A window appears stating:
“Partitioning complete. Your machine will now be restarted.” |
If the first bootable disk is not clear of partitions, a window appears stating that the software is unable to create a hardware diagnostic partition because there are already partitions on the disk.
If this happens, repeat this procedure after you remove the partitions as described in the section, To Erase the Currently Installed OS in Sun Ultra 27 Workstation Linux and Solaris Operating System Installation Guide or in the section, Chapter 4, Preparing Disks for the Operating System, in Sun Ultra 27 Workstation Windows Operating System Installation Guide.
Press the Enter key to reboot your workstation.
All the scripts that are loadable with the hardware diagnostics software are predefined with logging to the diagnostic partition enabled. The names of log files correspond to the name of the script. For example, a script named noinput.tst creates a log file named noinput.jrl.
The following instructions show an example of how to create and access a log file on the diagnostic partition for the noinput.tst script.
Insert the Tools and Drivers DVD into the DVD drive.
Reboot the workstation.
From the Tools and Drivers DVD main menu, choose 1 to run the Hardware Diagnostics software.
The Hardware Diagnostics menu appears.
From the Hardware Diagnostics main menu, choose Immediate Burn In Testing.
Select Load Burn In Script.
Do one of the following actions:
Select Perform Burn In Tests to run the script.
When the tests are complete, press the Escape key to exit the Display Results window.
Select Exit to DOS and press the Enter key.
At the DOS prompt, type the following:
C:> d:
Type the following to list the contents of the diagnostic partition.
D:> dir
The noinput.jrl log appears.
Remove the Tools and Drivers DVD from the DVD drive.
Reboot the workstation and start the Red Hat Linux OS.
Log in as superuser.
To determine whether your diagnostic partition is configured to be mounted, type the following command:
# ls /diagpart
If this command does not list the log files created by the hardware diagnostics software, then the OS was not configured to mount the diagnostic partition. Continue to Step 5.
If the command lists the log files created by the hardware diagnostics software, then the OS is configured to mount the diagnostic partition. All users have read access to this partition. Only the superuser has read/write access to this partition. You do not need to continue this procedure.
Insert the Tools and Drivers DVD into the DVD drive.
When the DVD mounts, open a terminal window.
Type the following command:
# cd mountpoint/drivers/linux/linux_version
where mountpoint is the DVD mountpoint
where linux_version is the version of Linux that you installed. For example:
# cd /mnt/cdrom/drivers/linux/red_hat
Type the following command to install the diagnostic partition:
# ./install.sh
Press the Enter key.
The following lines appear if the diagnostic partition is mounted successfully:
Mounting Diagnostic Partition Installation Successful |
Type the following command:
# ls /diagpart
The contents of the diagnostic partition are listed.
Remove the Tools and Drivers DVD from the DVD drive.
Reboot the machine, and start the Solaris 10 Operating System.
Log in as superuser.
Type the following command to determine if your diagnostic partition is configured to be mounted:
# ls /diagpart
If this command does not list the log files created by the hardware diagnostics software, then the OS is not configured to mount the diagnostic partition. Continue to Step 5.
If this command lists the log files created by the hardware diagnostics software, then the OS is configured to mount the diagnostic partition. All users have read access to this partition. Only the superuser has read/write access to this partition. You do not need to continue this procedure.
Insert the Tools and Drivers DVD into the DVD drive.
When the DVD mounts, open a terminal window.
Type the following to change directories:
# cd /cdrom/cdrom0/drivers/sx86
Type the following command to install the diagnostic partition:
# ./install.sh
Press the Enter key.
The following lines appear if the diagnostic partition is mounted successfully:
Mounting Diagnostic Partition Installation Successful |
Type the following command to list the contents of the diagnostic partition:
# ls /diagpart
If you are running Windows XP on the Sun Ultra 27 workstation, you cannot access the diagnostic partition using Windows XP.
The only way to retrieve the contents (log files) on the diagnostic partition is to attach a USB diskette drive to the Sun Ultra 27 workstation and complete the following procedure.
Connect the USB diskette drive to any USB port on the Sun Ultra 27 workstation.
Insert the Tools and Drivers DVD into the DVD drive.
Reboot the workstation.
At the Tools and Drivers DVD main menu, type 4 to exit to DOS.
To change to the d: drive, enter the following at the DOS command prompt.
C:> d:
Copy the log file to the diskette.
For example, to copy a file named noinput.jrl to the diskette, enter:
D:> copy d:\noinput.jrl a:\
The journal file is now saved to the diskette in the USB diskette drive.