tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* How to make a bootable disk
@ 2000-02-15 16:17 Lars Bro
  0 siblings, 0 replies; only message in thread
From: Lars Bro @ 2000-02-15 16:17 UTC (permalink / raw)
  To: tru64-unix-managers

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()

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-15 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-15 16:17 How to make a bootable disk Lars Bro

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