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

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *