Unix Tech Tips

  1. Running SolarisĀ  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”

Pages: 1 2 3 4 5 6

Tags:

2 Responses to “Unix Tech Tips”

  1. Andrew Hardej Says:

    This will also do it.

    tr -d ‘15′ new_file_name

  2. Andrew Hardej Says:

    My prior post has the wrong syntax. See below:

    Removing ^M from UNIX text files

    tr -d ‘15′ new_file_name

Leave a Reply

Comments will be published after approval by Moderator.