Identify the Solaris release with the uname -a command:
/usr/bin/uname -a
Output should show 5.7 or greater.
If the hardware is 64-bit capable, a new software install will, by default, install the 64-bit packages. To check to see if the 64-bit packages have been installed, use the pkginfo command.
/usr/bin/pkginfo | grep "64-bit"
system SUNWarcx Archive Libraries (64-bit)
system SUNWauddx Audio Drivers (64-bit)
.
Q. What about UltraSPARC processors of less than 200 MHz?
On systems containing 200-MHz or lower UltraSPARC I processors, the 32-bit kernel is booted by default. Configuring these systems to boot 64-bit requires an extra step. The file /platform/sun4u/boot.conf must have the following line uncommented:
ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=true
Using eeprom
Log in as root and enter:
# /usr/sbin/eeprom | grep boot-file
64-Bit
The system is configured to boot the 64-bit kernel if the output from the eeprom command is either:
boot-file: data not available
or
boot-file=kernel/sparcv9/unix
The boot-file does not have to be set to kernel/sparcv9/unix. A null value works.
32-Bit
The system is configured to boot a 32-bit kernel if the output from the eeprom command comes back as:
kernel/unix
Set the boot-file to either null or kernel/sparcv9/unix using either:
/usr/sbin/eeprom boot-file=""
or
/usr/sbin/eeprom boot-file="kernel/sparcv9/unix"
Using setenv
From the system's OBP OK> prompt, use the printenv command to check the boot-file parameter and if necessary use the setenv or set-default commands to set the 64-bit kernel:
OK> printenv boot-file
OK> setenv boot-file kernel/sparcv9/unix
or
OK> set-default boot-file
Q. How do I configure the system to boot a 32-bit kernel?
If the Ultra machine meets the hardware and software requirements for 64-bit boot, the boot-file variable must be set to kernel/unix. If not, then the machine will boot 64-bit. The boot-file variable can be set by either the Solaris eeprom command or the OBP setenv command.
Using eeprom
Log in as root and use the eeprom command to set the boot-file parameter to the 32-bit kernel:
# /usr/sbin/eeprom boot-file="kernel/unix"
The next time the system is rebooted, the 32-bit kernel will load.
Using setenv
From the system's OBP OK> prompt, use the setenv command to set the boot-file parameter to the 32-bit kernel:
OK> setenv boot-file kernel/unix
.
Farah Regal
good luck
"think twice and hit enter once"