tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Lars Bro <lbr () nettest ! dk>
To: tru64-unix-managers
Subject: How to make a bootable disk
Date: Tue, 15 Feb 2000 16:17:11 +0000	[thread overview]
Message-ID: <96079336919415.tru64-unix-managers.marc@archive.invalid> (raw)

Hi, managers

4.0F

If I copy the contents of my system disk into another disk by means of eg=
.:
dd, it works fine and the new disk becomes bootable.

# disklabel -z rz17
# dd if=3D/dev/rrz0c of=3D/dev/rrz17c bs=3D...

Now, I would rather like to extract three dump files, one of /, one of /u=
sr
and one of /var. But the disk remains unbootable.

I have tried the following:

# disklabel  > rz17.lbl                      (save original label)
# disklabel -z rz17				   (zap label)
# disklabel -rw rz17 xxxx                    (put an initial label on)
# disklabel -R -t advfs rz17 rz17.lbl        (restore original and tell b=
oot
type)

The last disklabel command should put the bootstrap files /mdec/xxboot.ad=
vfs
and bootxx.advfs into the correct places (block 0 and 64) and arrange for
these files to be loaded at boot.

But, when booting, the system tells me that it has a 'valid bootstrap' in
block 0 and then reads a boot program of 13 blocks. But that is the size =
of
the ufs bootstrap. the size of the advfs bootstrap is 16 blocks.

So, to me it looks as if I havent told the system correctly that this is
actually advfs, I am going to boot.

Anyone knows the correct procedure ?


--
What does a     Lars Bro
process need    GN Nettest A/S
to become a     Kirkebjerg Alle 90
daemon ?        DK-2605 Br=F8ndby Denmark
 |||
 \|/  . ,       +45 72 11 22 00
  |  ( v )      +45 72 11 24 05 (direct)
  |\/  |        lbr@nettest.dk
  |  _/ \_
 ..a fork()

                 reply	other threads:[~2000-02-15 16:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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