|
|
|
|
Using VMSKITBLD.COM to Modify a System Disk
On Alpha systems, procedures similar to those in the VMSKITBLD.COM procedure are performed by the AXPVMS$PCSI_INSTALL.COM procedure. refer to the .
The SYS$UPDATE:VMSKITBLD.COM procedure offers the following options:
Option | Description | For More Information |
---|---|---|
BUILD
|
Builds a new
common system disk after destroying all existing files on the disk.
|
Using VMSKITBLD.COM to Build a New System Disk
|
COPY
|
Copies the
operating system files to an existing disk without destroying nonsystem
files that are currently on the disk.
|
Using VMSKITBLD.COM to Copy System Files to an Existing Disk
|
ADD
|
Adds a new system root directory
to an existing system disk.
|
Using VMSKITBLD.COM to Add an Alternate System Root Directory
|
VMSKITBLD uses two disks:
Disk | Description |
---|---|
Source
disk
|
The disk from which you
copy system files. The source disk must be an existing system disk.
|
Target disk
|
The disk to which you move the system
files.
|
Do not attempt to use VMSKITBLD with the current system disk as the target disk. VMSKITBLD.COM deletes files that are required for a running system. |
Using VMSKITBLD.COM to Build a New System
Disk
At some point, you might want to create a new system disk.
For example, suppose that your existing system disk is an RA81 disk.
If you purchase a larger RA90 disk and want to use it as your system
disk, you could use the VMSKITBLD BUILD option to build a new system
disk on the RA90 disk.
The existing system disk is the source disk. The new disk is the target disk.
The VMSKITBLD BUILD option initializes the target disk, deleting all of its previous contents. For information about copying files to an existing system disk without destroying files, see Using VMSKITBLD.COM to Copy System Files to an Existing Disk. |
VMSKITBLD prompts you to choose one of the following options:$
@SYS$UPDATE:VMSKITBLD
* Operation [BUILD,ADD,COPY]?
* Enter mounted SOURCE disk name (ddcu:):
* Enter SOURCE disk top-level system directory [default = SYS0]:In most cases, you can choose the default value [SYS0].
* Enter TARGET disk name (ddcu:):
* Enter the TARGET disk's label [default = VAXVMSRL5]:
* Enter TARGET disk top-level system directory [default = SYS0]:In most cases, you can choose the default value [SYS0].
Make sure it is safe to destroy the contents of the target disk, and enter Y to continue.The target disk will be initialized.
* Target disk, _DUA0:, ready to be initialized? (Y/N):
Y
The following example runs VMSKITBLD.COM to build a new system disk. It copies the files on the current system disk to create a new system disk on the DUA0: disk.
* Enter mounted SOURCE disk name (ddcu:):
SYS$SYSDEVICE:
* Enter SOURCE disk top level system directory [default = SYS0]:
Return
* Enter TARGET disk name (ddcu:):
DUA0:
Return
* Enter the TARGET disk's label [default = VAXVMSRL5]:
Return
* Enter TARGET disk top level system directory [default = SYS0]:
Return
The target disk will be initialized.
* Target disk, _DUA0:, ready to be initialized? (Y/N):
Y
Target disk, _DUA0:, has been initialized.
%MOUNT-I-MOUNTED, VAXVMSRL5 mounted on _DUA0:
Creating system specific directories ...
Creating cluster common directories ...
Creating SYSGEN files ...
%SYSGEN-I-CREATED, _DUA0:SWAPFILE.SYS;1 created
%SYSGEN-I-CREATED, _DUA0:PAGEFILE.SYS;1 created
%SYSGEN-I-CREATED, _DUA0:SYSDUMP.DMP;1 created
Copying files from source disk ...
Copying DECwindows file from source disk ...
Writing a boot block ...
System disk complete.
$
Completing a System Disk Built with VMSKITBLD.COM
After you create a new system disk using the VMSKITBLD BUILD
option, use the following procedure to complete the new system disk:
SYSBOOT>
USE DEFAULT
SYSBOOT>
SET STARTUP_P1 "MIN"
SYSBOOT>
CONTINUE
. . .$
SET DEFAULT SYS$COMMON:[SYSEXE]
$
RUN AUTHORIZE
UAF>
CREATE/RIGHTS
UAF>
CREATE/PROXY
UAF>
EXIT
$
@SYS$UPDATE:AUTOGEN SAVPARAMS REBOOT CHECK_FEEDBACK
. . .
Using VMSKITBLD.COM to Copy System Files
to an Existing Disk
You can use VMSKITBLD to copy the operating system files to
a target disk without deleting the files already existing on the
target disk. For example, if you accidentally delete a large number
of system files from a system disk, you can use VMSKITBLD to copy
the system files from another system disk.
To do this, the operating system must be running and the source disk that you intend to copy from must be mounted.
When you use the COPY option of VMSKITBLD.COM, the user-modified files (including SYSUAF.DAT and site-specific command files) are not copied from the source disk; VMSKITBLD uses the unaltered TEMPLATE versions of these files. In addition, the procedure does not create the system-specific files SWAPFILE.SYS, PAGEFILE.SYS, or SYSDUMP.DMP.
Before VMSKITBLD copies each new system file, it deletes the older version of the file from the target disk.
VMSKITBLD prompts you to choose one of the following options:$
@SYS$UPDATE:VMSKITBLD
Operation [BUILD,ADD,COPY]?
* Enter mounted SOURCE disk name (ddcu:):
* Enter SOURCE disk top level system directory [default = SYS0]:In most cases, you can choose the default value [SYS0].
* Enter TARGET disk name (ddcu:):
* Enter TARGET disk top level system directory [default = SYS0]:In most cases, you can choose the default value [SYS0].
* Enter mounted SOURCE disk name (ddcu:):
SYS$SYSDEVICE:
* Enter SOURCE top level system directory [default = SYS0]:
Return
* Enter TARGET disk name (ddcu:):
DUA0:
Return
* Enter TARGET disk top level system directory [default = SYS0]:
Return
%DCL-I-ALLOC, _DUA0: allocated
%MOUNT-I-MOUNTED, VAXVMSRL5 mounted on _DUA0:
Copying files from source disk ...
Copying DECwindows files from source disk ...
Writing a boot block ...
System disk complete.
$
Using VMSKITBLD.COM to Add an Alternate System
Root Directory
Use the ADD option to create an alternate system root directory
on a target system disk. You might use this option to create a test
environment where you can test software without interfering with
the current version of the system.
The system disk that you are adding to cannot be in use.
Do not use the ADD option to create a system root to add a new system to an OpenVMS Cluster environment. Instead, use the SYS$MANAGER:CLUSTER_CONFIG.COM procedure. |
VMSKITBLD prompts you to choose one of the following options:$
@SYS$UPDATE:VMSKITBLD
Operation [BUILD,ADD,COPY]?
* Enter mounted SOURCE disk name (ddcu:):
* Enter SOURCE disk top level system directory [default = SYS0]:
* Enter TARGET disk name (ddcu:):
* Enter TARGET disk top level system directory [default = SYS0]:Do not specify directories SYSE or SYSF:
The following example adds an alternate system root directory named SYSA on the target disk SHEMP$DUA5:
* Enter mounted SOURCE disk name (ddcu:):
SYS$SYSDEVICE:
* Enter SOURCE top level system directory [default = SYS0]:
RETURN
* Enter TARGET disk name (ddcu:):
SHEMP$DUA5:
RETURN
* Enter TARGET disk top level system directory [default = SYS0]:
SYSA RETURN
%DCL-I-ALLOC, _SHEMP$DUA5: allocated
%MOUNT-I-MOUNTED, VAXVMSRL5 mounted on _SHEMP$DUA5:
Creating system specific directories ...
Creating SYSGEN files ...
%SYSGEN-I-CREATED, _SHEMP$DUA5:SWAPFILE.SYS;1 created
%SYSGEN-I-CREATED, _SHEMP$DUA5:PAGEFILE.SYS;1 created
%SYSGEN-I-CREATED, _SHEMP$DUA5:SYSDUMP.DMP;1 created
System disk complete.
$
Configuring a System Root Added with VMSKITBLD
After you use VMSKITBLD to add an alternate system root directory
to a system disk, you must configure system parameters for the new
root. Perform the following steps:
SYSBOOT>
USE DEFAULT
SYSBOOT>
SET STARTUP_P1 "MIN"
SYSBOOT>
CONTINUE
SYSBOOT>
USE DEFAULT
SYSBOOT>
SET STARTUP_P1 "MIN"
SYSBOOT>
CONTINUE
. . .$
@SYS$UPDATE:AUTOGEN SAVPARAMS REBOOT CHECK_FEEDBACK
. . .
|
|