From owner-freebsd-current@FreeBSD.ORG Wed Jun 6 15:06:05 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 642CB16A4C1 for ; Wed, 6 Jun 2007 15:06:05 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id BD84D13C44C for ; Wed, 6 Jun 2007 15:06:04 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so518841uge for ; Wed, 06 Jun 2007 08:06:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=rDa5CnkYCsFp34WOMWNCs7KB+6S2OJR1gh6qfyYi3ecbkjPlAYVUbZCry4UzaGzcx/44XUa2Da7otnFECfGRYh6DyXO7BcBIy5rorH4RnpfNyC0XyngUnzTSKI/SY6ctOhzTyELx7QO9It4q742SjIWL1c/UzasX9hlnd7LtWTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=PrX7F5G5xeINJoSua/TiC02f+ef12+b3ZyIGuMVi2OBj8EKGIkpARhaImZlnrWhgkgA4Lr0Tep2vRR2VL+lHvpn7zyH3mpTtt16xUt4Pq96d/DZZWS7+OUxRZymBS5f+GPcepuHC6K2C6lYQJZ2LEhOax5bgBOqImxn/f362eOQ= Received: by 10.67.101.8 with SMTP id d8mr1315896ugm.1181142363709; Wed, 06 Jun 2007 08:06:03 -0700 (PDT) Received: from darklight.abyss ( [194.186.18.2]) by mx.google.com with ESMTP id j1sm1360406ugf.2007.06.06.08.06.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jun 2007 08:06:02 -0700 (PDT) Received: from darklight.abyss (localhost [127.0.0.1]) by darklight.abyss (8.14.1/8.14.1) with ESMTP id l56F5fsS001219; Wed, 6 Jun 2007 19:05:42 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.abyss (8.14.1/8.14.1/Submit) id l56F5bap001216; Wed, 6 Jun 2007 19:05:37 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.abyss: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 6 Jun 2007 19:05:36 +0400 From: Yuri Pankov To: Ruslan Ermilov Message-ID: <20070606150536.GB875@darklight.abyss> References: <20070606135815.GA913@darklight.abyss> <20070606145904.GA14456@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070606145904.GA14456@rambler-co.ru> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-current@FreeBSD.org Subject: Re: /boot/mbr miscompiled? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 15:06:05 -0000 On Wed, Jun 06, 2007 at 06:59:04PM +0400, Ruslan Ermilov wrote: > On Wed, Jun 06, 2007 at 05:58:15PM +0400, Yuri Pankov wrote: > > Hi, > > > > I've noticed lately that I can't install /boot/mbr using boot0cfg. > > > > [root@darklight:~]# boot0cfg -B -b /boot/mbr ad4 > > boot0cfg: /boot/mbr: unknown or incompatible boot code > > > > -r--r--r-- 1 root wheel - 512 Jun 6 17:45 /boot/mbr > > /boot/mbr: x86 boot sector > > > I think you'll have to use "fdisk -B" to do that. > (boot0cfg(8) only installs boot0 and boot0sio.) > > > Cheers, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer Thank you Ruslan. Shouldn't boot0cfg(8) manpage be updated accordingly (EXAMPLES section, at least)? Thanks, Yuri