From owner-freebsd-questions@FreeBSD.ORG Mon Sep 5 15:28:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4B9BB16A41F for ; Mon, 5 Sep 2005 15:28:06 +0000 (GMT) (envelope-from yuanjue122@163.com) Received: from 163.com (bj44-206.i.netease.com [202.108.44.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 0031A43D45 for ; Mon, 5 Sep 2005 15:27:57 +0000 (GMT) (envelope-from yuanjue122@163.com) Received: from yuanjue.nc6000.org (unknown [59.66.138.109]) by smtp3 (Coremail) with SMTP id GkCw3ehjHENQsekB.1 for ; Mon, 05 Sep 2005 23:27:36 +0800 (CST) X-Originating-IP: [59.66.138.109] From: Yuan Jue Organization: TsingHua Univ. To: Giorgos Keramidas Date: Mon, 5 Sep 2005 23:31:14 +0800 User-Agent: KMail/1.8.2 References: <431A44E3.70909@multideck.com> <200509040931.21436.yuanjue122@163.com> <20050904042052.GB8395@gothmog.gr> In-Reply-To: <20050904042052.GB8395@gothmog.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509052331.14270.yuanjue122@163.com> Cc: freebsd-questions@freebsd.org Subject: Re: Reinstalling the standard boot manager X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 15:28:06 -0000 On Sunday 04 September 2005 12:20, Yuan Jue wrote: > On 2005-09-04 09:31, Yuan Jue wrote: > > On Sunday 04 September 2005 08:53, Yuan Jue wrote: > > > boot0cfg -v -B /dev/ad0 > > > > when doing this, I got a message: > > boot0cfg: write_mbr: /dev/ad0: No such file or directory > > I use it as root and my disk is ad0. What did I do wrong? > > Check that: > > a) you are not running this inside a jail (/dev/ad0 may not be > visible inside a jail) sorry, but how to check that I'm not inside a jail? Could you give me some clues? > > b) ad0 is really the disk, and not ad1 or something else > I am pretty sure that is ad0. Since I only install FreeBSD5.4 in my laptop, and let it use the entire disk. I can use the sysinstall->fdisk to make sure that the disk is ad0s1, since I use entire of it. > If that fails to uncover the cause of the error, then run truss or > ktrade on boot0cfg and send me the dump. -- Best Regards. Yuan Jue