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=/dev/rrz0c of=/dev/rrz17c bs=...
Now, I would rather like to extract three dump files, one of /, one of /usr
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 boot
type)
The last disklabel command should put the bootstrap files /mdec/xxboot.advfs
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øndby Denmark
|||
\|/ . , +45 72 11 22 00
| ( v ) +45 72 11 24 05 (direct)
|\/ | lbr_at_nettest.dk
| _/ \_
..a fork()
Received on Tue Feb 15 2000 - 16:17:46 NZDT