On Wed, Sep 20, 2006 at 01:06:23AM -0400, *I* wrote:
> Boot a cd image, enter shell. Issue:
>
> # fdisk wd0
> # disklabel wd0
>
> if the output of both fdisk and disklabel appear fine, then and only then
> would I assume the problem is a relocated /boot file. To fix:
>
> # /usr/mdec/installboot -n -v /boot /usr/mdec/biosboot wd0
That's incorrect, I copied and pasted from doc without double-checking.
Instead, you should:
# mount /dev/wd0a /mnt
# /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot wd0
The bsd.rd environment (boot floppy, boot cd, etc) will have a valid
biosboot and installboot in /usr/mdec. You will need to mount your intended
root file system, shown here as wd0a, in order to pick up the proper inode
for the boot program.
If the file system mounts, but the boot file is missing you can copy it
from /usr/mdec, viz:
# cp /usr/mdec/boot /mnt/
Then run the installboot program.