From owner-freebsd-questions Tue May 4 11:23:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sol (cs1-gw.cs.binghamton.edu [128.226.171.72]) by hub.freebsd.org (Postfix) with SMTP id 9DDCC157FD for ; Tue, 4 May 1999 11:22:41 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from localhost (zzhang@localhost) by sol (SMI-8.6/8.6.9) with SMTP id OAA05233 for ; Tue, 4 May 1999 14:12:07 -0400 Date: Tue, 4 May 1999 14:12:06 -0400 (EDT) From: Zhihui Zhang To: freebsd-questions@freebsd.org Subject: Boot code corrupted - please help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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