This appendix explains how to remove the OpenVMS operating
system from your disk.
You can remove the OpenVMS operating system from your disk
in the following ways:
If the disk contains a small number
of user files, copy those user files elsewhere and then reinitialize
the disk.
If the disk contains many user files, use the PRODUCT
REMOVE command to remove an obsolete or extra copy of the OpenVMS operating
system without removing any of the user files. Note that you must also
delete or archive certain operating system files that the PRODUCT
REMOVE command cannot delete.
Follow these steps to remove OpenVMS operating system files:
If your system
disk has multiple system-specific roots, boot the system and execute SYS$MANAGER:CLUSTER_CONFIG.COM
to remove all roots except the one from which you are booted.
Shut down and boot from the distribution media (CD
or DVD) or from a system disk other than the one from which OpenVMS is
being removed. Then do one of the following:
If OpenVMS is not running from the
distribution CD or DVD, log in to a privileged account.
If OpenVMS is running from the distribution CD or
DVD, choose the option to execute DCL commands.
target-disk is
the device name of the disk from which OpenVMS is being removed
SYSx is the root number that
you did not remove in step 1
If the disk also contains layered products that
were installed using the POLYCENTER Software Installation utility,
HP recommends that you remove them as well. Remove any layered products before using
the PRODUCT REMOVE VMS command.
Use the following command to remove all the products at once.
Select the layered products you want to remove from the menu.
$PRODUCT REMOVE * /REMOTE
Use the following commands to remove individual products:
$PRODUCT SHOW PRODUCT/REMOTE$PRODUCT REMOVE product-name /REMOTE
Enter the following DCL command:
$PRODUCT REMOVE VMS /REMOTE
Because the PRODUCT REMOVE command does not delete
certain files, review the target disk to determine whether you want
to delete, move, or archive the operating system files that still
remain on the disk.
Following are lists of the files that the PRODUCT REMOVE command
does not delete:
In target-disk:[SYS*.SYSEXE],
where * is 0 or the hexadecimal number of any additional OpenVMS Cluster
roots on the target disk:
ALPHAVMSSYS.PAR (OpenVMS Alpha systems)
IA64VMSSYS.PAR (OpenVMS I64 systems)
MODPARAMS.DAT
PAGEFILE.SYS
SWAPFILE.SYS
In target-disk:[VMS$COMMON.SYSEXE]:
LMF$LICENSE.LDB
PCSI$FILE_SYSTEM.PCSI$DATABASE
PCSI$PROCESSOR.PCSI$DATABASE
PCSI$ROOT.PCSI$DATABASE
RIGHTSLIST.DAT
SYSUAF.DAT
As you examine the preceding lists of files, you might want
to archive, rather than delete, the following files:
ALPHAVMSSYS.PAR (OpenVMS Alpha systems)
IA64VMSSYS.PAR (OpenVMS I64 systems)
MODPARAMS.DAT
LMF$LICENSE.LDB
RIGHTSLIST.DAT
SYSUAF.DAT
Also, if you previously removed layered products, there might
be additional files created by the layered products that you might
want to delete, move, or archive.
Review the target disk for the directory structures
[VMS$COMMON...] and [SYSx...] that remain after you remove the OpenVMS operating
system. You might want to delete these directories.
Note that the directories [SYSx]SYSCOMMON.DIR (in all [SYSx]) are aliases for the file [000000]VMS$COMMON.DIR.
DO NOT DELETE THESE SYSCOMMON.DIR files. Instead, use SET FILE /REMOVE
as follows:
$SET FILE /REMOVE [SYS*]SYSCOMMON.DIR
After you have executed this command and deleted, moved or
archived all the files in [VMS$COMMON...] you can delete [000000]VMS$COMMON.DIR.
You can then proceed to delete, move, or archive the files in each
[SYSx] directory.