From owner-freebsd-questions@FreeBSD.ORG Fri May 21 17:46:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F0416A4CE for ; Fri, 21 May 2004 17:46:46 -0700 (PDT) Received: from mail835.megamailservers.com (mail835.carrierinternetsolutions.com [69.49.106.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2851143D31 for ; Fri, 21 May 2004 17:46:46 -0700 (PDT) (envelope-from strick@covad.net) Received: from mist.nodomain (h-67-101-150-133.snfccasy.dynamic.covad.net [67.101.150.133])i4M0kVva032028; Fri, 21 May 2004 20:46:31 -0400 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.12.9p2/8.12.9) with ESMTP id i4M0kUZc000473; Fri, 21 May 2004 17:46:30 -0700 (PDT) (envelope-from dan@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.12.9p2/8.12.9/Submit) id i4M0kUVE000472; Fri, 21 May 2004 17:46:30 -0700 (PDT) (envelope-from dan) Date: Fri, 21 May 2004 17:46:30 -0700 (PDT) From: Dan Strick Message-Id: <200405220046.i4M0kUVE000472@mist.nodomain> To: soohyunc@msn.com cc: freebsd-questions@freebsd.org Subject: Re: BootEasy Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 00:46:46 -0000 On Fri, 21 May 2004 11:44:51 +0100, Soo-Hyun Choi wrote: >> > I have played something with 'boot0cfg' like '# boot0cfg -s 2 -B /dev/ad0'. > When I reboot my system it failed to be booted. > > I have the following diskmap. > '/ for ad0s2a' > > How do I recover the BootEasy? >> I don't see anything in the above boot0cfg command that is likely to make your system unbootable. If you want to restore the default bootstrap configureation, do "boot0cfg -B ad0". If your hard disk is no longer bootable, you can do it this way: 1) Boot your FreeBSD installation medium. 2) Go into "fixit" mode. 3) Reissue the boot0cfg command. You will need a "fixit" diskette or a "live filesystem" cd-rom. See the file floppies/README.TXT in your FreeBSD installation medium. Dan Strick P.S. The usual master bootstrap program is no longer BootEasy. It is called "boot0". The source is in /usr/src/sys/boot/i386/boot0.