Originally posted by: SystemAdmin
he command bootinfo -y will also tell you whether your hardware is 64-bit or not.
-
bootinfo -y
64
Use the bootinfo -K flag to tell which kernel is active - example 32-bit
# bootinfo -K
32
To switch from 32-bit mode to 64-bit mode follow these steps:
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# bosboot -ad /dev/ipldevice
# shutdown -Fr
# bootinfo -K should now show 64
To switch back from 64-bit to 32-bit use:
# ln -sf /usr/lib/boot/unix_mp /unix
# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
# bosboot -ad /dev/ipldevice
# shutdown -Fr
# bootinfo -K should now show 32