Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Knut Vietze <vietze@theory.phy.tu-dresden.de>
Subject: Re: Disaster recovery!!
Date: 1997/12/16	[thread overview]
Message-ID: <3496C62D.3F54@theory.phy.tu-dresden.de> (raw)
In-Reply-To: 34913E27.2AA7@boat.bt.com


Pete Beglan wrote:
> 
> Last week I posted a question about booting from another kernel.
> I received a couple of useful replies.
> Having taken this further this is where I am now at:
> The action I took was:
> 
>         1.      boot from cdrom (or RIS Server)
>         2.      exit to shell
>         3.      cd /dev
>         4.      ./MAKEDEV rzx tzxx
>         5.      mkfdmn -r /dev/rz8a root_domain
>         6.      mkfset root_domain root
>         7.      mount root_domain#root /mnt
>         8.      cp /kit/osf_boot /mnt
>         9.      cp /kit/vmunix /mnt
> 
> This failed as the vmunix on the CD had a problem with the CPU in my
> test system:
> 
>         WARNING: proc_type 7 / sys_type 16 unknown.  Halting CPU!!
> 
> I then tried 1-7 above the same
> 
>         8.      cd /mnt
>         9.      vrestore -xv (tape was backed up vdump -0u / after building the OS
> from scratch)
> 
> This also failed:
> 
>         Need vrestore V4.0 to rstore contents; terminating.....
> 
> Any ideas about getting around the failures?
> 
> Hopefully this can be of use to others planning their disaster
> recovery..  :-)
> 
> Regards
> 
> Pete Beglan

From your post I would assume that

a) your system configuration (hard/soft) was non-standard
  OR
b) the OS release of the booted system was prior to this
   actually installed on your machine.

Anyway. In my opinion you do have to build a new customized
kernel. In general there may be two ways:

1) If your old /usr filesys is still intact, just mount it and
   do the doconfig job on your (hopefully) saved kernel customization,
   /sys/conf/<KERNEL NAME>.  
   NOTE: the configuration MUST reside in /sys/conf ( /sys is usually
   linked to /usr/sys). [=> /usr/sbin/doconfig]

2) If /usr has also been nuked you can build a new kernel either
   on another machine (needs to move drive physically of course)
   or on an memory filesystem ( if your machine got the appropriate
   physical memory of course, ~50-60MByte). I don't know if the
   latter works in single user mode :-( , but at least you have
   to copy the whole /sys (/usr/sys respectively) subtree to this
   filesystem, since not only /sys/conf/<KERNEL NAME> must be
   written, but, more disgusting, /sys/<KERNEL NAME>/, which
   contains links of all needed object files to /sys/BINARY/* etc.
   as well as a load of custom headers.

Hey, if (1) is inappropriate just move the f*cking disk to another
machine and rebuild it there. The only thing you have to be aware
of is that the FILESET name is written onto the regarding partitions.
(on a running machine designed to restore you root partition)

# cd /dev
# MAKEDEV rzxx
# mkdir /etc/fdmns/restore
# cd /etc/fdmns/restore
# ln -s /dev/rzxx .
# cd /
# mount -t advfs restore#root /mnt

If this doesn't work either, just use mkfdmn/mkfset :-)
-- 
+----------------------------------------------+
| Knut Vietze, vietze@theory.phy.tu-dresden.de |
|              vietze@iws.fhg.de               |
|                                              |
|            No RISC - No Fun !                |
+----------------------------------------------+



      reply	other threads:[~1997-12-16  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-12  5:00 Disaster recovery!! Pete Beglan
1997-12-16  5:00 ` Knut Vietze [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox