From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 04:21: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 D8AC716A420 for ; Sun, 4 Sep 2005 04:21:06 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E973043D46 for ; Sun, 4 Sep 2005 04:21:04 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 13537 invoked by uid 207); 4 Sep 2005 04:21:04 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.219):. Processed in 0.090969 secs); 04 Sep 2005 04:21:04 -0000 Received: from dialup219.ach.sch.gr (HELO gothmog.gr) ([81.186.70.219]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 4 Sep 2005 04:21:02 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j844KqNP014379; Sun, 4 Sep 2005 07:20:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j844KqUj014378; Sun, 4 Sep 2005 07:20:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 4 Sep 2005 07:20:52 +0300 From: Giorgos Keramidas To: Yuan Jue Message-ID: <20050904042052.GB8395@gothmog.gr> References: <431A44E3.70909@multideck.com> <20050904005321.GA9552@igloo.linux.gr> <200509040931.21436.yuanjue122@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509040931.21436.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: Sun, 04 Sep 2005 04:21:07 -0000 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) b) ad0 is really the disk, and not ad1 or something else If that fails to uncover the cause of the error, then run truss or ktrade on boot0cfg and send me the dump.