Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 14:12:06 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   Boot code corrupted - please help
Message-ID:  <Pine.GSO.3.96.990504140454.4100A-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

I have just tried to install a boot code on FreeBSD 3.1.  I have tested
successfully on FreeBSD 2.2.8:

# cd /usr/src/sys/i386/boot/biosboot
# make
# make install
# disklabel -B /dev/wd0s1

The 2.2.8 system can reboot successfully.

But for FreeBSD 3.1, I did exactly the same thing, except (this is because 
the default boot code path changes from /usr/mdec to /boot):

# disklabel -B -b /usr/mdec/boot1 -s /usr/mdec/boot2m /dev/wd0s2

But when I reboot the 3.1 machine, it says "Invalid format".

Any suggestions?  Thanks for any help.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990504140454.4100A-100000>