Problem
My system is failing to boot to the Boot: prompt and I believe that the Masterboot or Partition Boot Blocks may have been damaged. How do I install the various boot related files from my filesystem to the appropriate blocks on the hard disk?
Solution
If you cannot boot from the hard disk, boot from a bootable floppy disk and root from the hard disk using this command at the Boot: prompt:
hd(40)unixEnter Single-User Mode and issue these commands:
instbb hd /dev/hd0a
dparam -wThe instbb(ADM) command writes the Partition Boot Blocks (/etc/hdboot0 and /etc/hdboot1) to the hard disk. The dparam(ADM) command writes SCO's Masterboot Code to the Masterboot Block on the hard disk.
For some disks it may also be necessary to stamp the disk
geometry onto the first disk using dparam(ADM). Please refer
to the dparam(ADM) manual page for details on how to do this. See also
TA104844, "Get "Stage1 boot failure: error loading hd(40)/boot" after installation of SCO Openserver 5.0.7."