From owner-freebsd-questions Tue May 4 15:58:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 222351539A for ; Tue, 4 May 1999 15:58:18 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id PAA03958; Tue, 4 May 1999 15:58:14 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 4 May 1999 15:58:13 -0700 (PDT) From: Doug White To: Zhihui Zhang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Boot code corrupted - please help In-Reply-To: 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 On Tue, 4 May 1999, Zhihui Zhang wrote: > > 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 Er, /usr/mdec/ is deprecated. Use the stuff in /boot/. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message