HP-UX 11i Installation and Update Guide, March 2003

Updating to HP-UX 11i
How to Update to HP-UX 11i
Chapter 6112
Step 2. Find the CD-ROM or DVD-ROM device file name:
ioscan -f -C disk | more
/dev/dsk/c1t2d0 is a typical CD-ROM device name.
Step 3. Create the directory under root(/):
CD-ROM: mkdir /cdrom
DVD: mkdir /dvdrom
Step 4. Mount the CD or DVD onto the new directory as a file system. For
example:
CD-ROM: mount /dev/dsk/c1t2d0 /cdrom
DVD: mount /dev/dsk/c1t2d0 /dvdrom
Step 5. Using either ksh, Posix-sh or Bourne shell, install update-ux on the
target system; the depot example uses
depot_server:/var/depots/my_depot.
From the CD/DVD
media:
•CD-ROM: swinstall -r -s /cdrom Update-UX \
\@ /var/adm/sw/update-ux.root 2> /dev/null
•DVD: swinstall -r -s /dvdrom Update-UX \
\@ /var/adm/sw/update-ux.root 2> /dev/null
From a depot: swinstall -r -s depot_server:/var/depots/my_depot \
Update-UX \@ /var/adm/sw/update-ux.root 2> /dev/null
TIP The \ at the end of the first line is not needed if you enter the complete
command on one line.
The -r option writes log files to the specified alternate root (pseudo-root)
location, update-ux.root (Do not specify any other alternate root
location). Since the HP-UX 11i Software Distributor tool contains many
keywords that 10.20 and 11.00 SD do not recognize, installing
update-ux initially at this alternate root location eliminates many
unnecessary update-ux warnings.