|
|
If your root filesystem is so corrupted that fsck(ADM) cannot run when you boot the system, or the system displays error messages that make no sense, you must restore the root filesystem from backups. To do this, you need an emergency boot floppy disk set, which you should have created as described in UNRESOLVED XREF-0. If you do not have these diskettes, you must do a partial reinstallation as described in ``Replacing the root hard disk''.
Boot:
prompt as described in
``QIC-02 tape drive bootstrings''
and
``SCSI peripheral bootstrings''.
To restore your root filesystem:
Boot:
prompt, press <Enter>.
If fsck appears to be successful,
shut down the system with
haltsys(ADM)
and try booting from the hard disk
again by pressing <Enter> at the Boot:
prompt.
If the check fails, continue with the next step.
/usr/lib/mkdev/hd: uniq: not found mv: cannot access /tmp/DKINIT21: No such file or directory (error 2)These are a consequence of operating from the limited RAM disk filesystem and can be ignored.
This runs all the programs necessary to initialize your disk as described in ``Installing a hard disk'', including:
If the hard disk or filesystem information is still valid, you do not need to recreate it. For example, if your hard disk still has a valid badtrk table, you do not need to run a badtrk scan. Intact filesystems will be preserved if possible.
Making filesystems
message,
the root prompt is returned. Enter:
This cleans the root filesystem on the hard drive.
This mounts the root filesystem on the hard disk.
where xxx is either rct0 (for a 1/4-inch cartridge tape) or rctmini (for a mini-cartridge tape).
NOTICE: HTFS: No space on dev ram (31/7) cpio: cannot write /_BACKUP_CONTENTS_:... ...No Space left on device (error 28)This means the files were written to the tape device using absolute instead of relative pathnames. You are attempting to write to the root filesystem loaded onto the ramdisk instead of the root filesystem on the hard drive. You must add the -A option to the cpio command line:
This suppresses absolute pathnames on the files passed to cpio.
You may see this message, which can be ignored:
umount: warning: /dev/filesystem was not in mount table