Unix Tech Tips

  1. Running Sol
    arisĀ  in 32 or 64 bit mode
    – Page 1
  2. Removing ^M from Unix text files – Page 2
  3. Backup commands – ufsdump , tar , cpio – Page 3
  4. Setting up Ethernet card speed & duplex mode – Page 4
  5. One Line scripts – Page 4

1. Running Solaris in 32 or 64 Bit mode

Finding the running mode
___________________

#isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

Booting in 32 bit
mode
_________________

ok> boot kernel/unix
# eeprom boot-file=kernel/unix

Booting in 64 bit mode
__________________
OK>boot kernel/sparcv9/unix

# eeprom boot-file=kernel/sparcv9/unix

…reboot the system

Edit /platform/platform-name/boot.conf uncomment line with the variable named ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU set to the value true .

ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=true

… reboot the system .

If diag switch is set to true following needs to be set
_______________________________________

for 32 bit
# /usr/sbin/eeprom diag-file=”kernel/unix”

for 64 bit
# /usr/sbin/eeprom diag-file=”kernel/sparcv9/unix”

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.