Datacentre Support Reference Guides

HP: 32 -> 64 bit conversion

 

 

In order to go from 32 bit to 64 bit OS under HP-UX, you have to do at least a partial OS reinstall. The exact procedures to do that are below. There is no way, short of a full OS reinstall, to go back from 64 to 32 bit. A work around would be to do the installation twice on two separate disks, then use the setboot command or ISL interaction to determine which device to boot. Not quite as nice as the Solaris method.
  1. Update the SD Toolset (swgettools)
    1. /usr/sbin/swremove SW-DIST.RUPDATE
    2. cp /SD_CDROM/catalog/SW-GETTOOLS/pfiles/swgettools /var/tmp
    3. chmod 755 /var/tmp/swgettools
    4. /var/tmp/swgettools -s /SD_CDROM

  2. Update from 32-bit to 64-bit
    1. export PATH=/usr/lbin/sw/bin:$PATH
    2. If not already on your system, apply PHCO_20078 (SD Cumulative patch)
    3. Now the actual update:
      /usr/sbin/swinstall -x logdetail=true -x autoreboot=true \
         -x match_target=true -x reinstall=true -x reinstall_files=true \
         -x os_name=HP-UX:64 -x os_release B.11.00  -s /SD_CDROM
      
      NOTE:The upgrade will take about two hours , but when it reboots, you will have hp-ux 11.00 64-bit with any customizations still intact. Make sure that you don't have any 32-bit kernel drivers loaded. This will cause the mk_kernel at the end to fail during the upgrade and will leave you in a lurch. You can verify that the machine is running on a 64-bit kernel using

      getconf KERNEL_BITS

      I'll let you figure out how to tell which drivers are 32-bit?