Sergio's remark about using installboot is probably the answer.
After doing an installboot and then an dd from root to target disk,
the target is ok, and I can mount it.
I have not yet been able to test if I can boot from it.
It may be a few weeks before I can shutdown the server.
> > Hi all,
> > I am trying to make an image of the boot disk with the root filesysem
> > on it.
> > My idea is to make a quick recovery if the boot disk crashes. The
> > target disk
> > is identical to the boot disk.
> > I tried 'dd if=/dev/rdsk/c0t0d0s0 of=/dev/rdsk/c2t4d0s0 bs=64k'
> > This gives a 'bad magic number' if I trie to use the disk. Is there a
> > way around this?
> > TIA,
> > Nico
> Try an installboot on your target disk...
> Sergio DA SILVA
Nico van Vliet
Mechanics of Forming Group, University of Twente
Postbus 217, 7500 AE Enschede, Netherlands
Tel: 31 53 489 2483 Fax: 31 53 489 4789