SUMMARY: Restoring a backup to another ALPHA CPU

From: joop schipper <joop.schipper_at_dicgroep.nl>
Date: Mon, 22 Jan 2001 13:55:25 +0100

Hello all,

New in the TRU64 UNIX community being an old OpenVMS guy I tried to restore
a backup from ALPHA 1000 -TRU64 UNIX version 4.0F- onto a ALPHA 300. Boot
showed up with a PANIC Unknown CPU error message and halted.

Many very helpful and kind managers (about 30!) suggested to rebuild the
kernel because:
VMS automatically loads the right cpu-module (or any other hardware module)
during boot.
UNIX does not. It has been build for the current hardware.
One of you told me he tries to restore a backup to system with 100% the same
hardware and it failed. Reason: a video card was in a different back plane
slot.

So, in order to restore:

boot OS cd-rom, go to UNIX shell
cd /dev
./MAKEDEV rz0 ;system disk
./MAKEDEV rz1 ;application disk
./MAKEDEV tz5 ;tape drive

If disk(s) is/are empty
disklabel -rw /dev/rrz0c ;write default label sys disk
disklabel -rw /dev/rrz1c ;write default label appl. disk

disklabel -e /dev/rrz0c ;edit label as original
disklabel -e /dev/rrz1c ;edit label as original

mt -f /dev/rmt0h rewind ;rewind tape
newfs /dev/rrz0a ;create root file system
mount /dev/rz0a /mnt ;entry point
cd /mnt
restore -rf /dev/rmt0h ;restore root and rewind
cd /
umount /mnt

newfs /dev/rrz0g ;/usr directory
mount /dev/rz0g /mnt
cd /mnt
mt -f /dev/nrmt0h fsf 1 ; skip root dump file
restore -rf /dev/rmt0h ; restore /usr and rewind
cd /
umount /mnt

newfs /dev/rrz1d
mount /dev/rz1d /mnt
cd /mnt
mt -f /dev/nrmt0h fsf 2 ; skip root and /usr files
restore -rf /dev/rmt0h ; restore /var
cd /
umount /mnt

reboot
boot -flag s -file /genvmunix ; boot single user, basic unix OS
swapon -a ; add swap devices
bcheckrc ; check and mount file systems
doconfig ; build a new kernel
                                        ; no options
cp /sys/<NODENAME>/vmunix /vmunix
shutdown
reboot

And it works....

Many thanks to all for all kind help!

Best regards,
DIC Information Consultants
Joop M Schipper


Received on Mon Jan 22 2001 - 12:57:02 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT