From owner-freebsd-current@FreeBSD.ORG Wed Jun 6 15:00:19 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 533D516A468 for ; Wed, 6 Jun 2007 15:00:19 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 09FB313C484 for ; Wed, 6 Jun 2007 15:00:18 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id D8AAD5F50; Wed, 6 Jun 2007 19:00:17 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 9F4305EC7; Wed, 6 Jun 2007 19:00:17 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.14.1/8.14.1) id l56Ex4kv099492; Wed, 6 Jun 2007 18:59:04 +0400 (MSD) (envelope-from ru) Date: Wed, 6 Jun 2007 18:59:04 +0400 From: Ruslan Ermilov To: Yuri Pankov Message-ID: <20070606145904.GA14456@rambler-co.ru> References: <20070606135815.GA913@darklight.abyss> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20070606135815.GA913@darklight.abyss> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found 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:00:19 -0000 On Wed, Jun 06, 2007 at 05:58:15PM +0400, Yuri Pankov wrote: > Hi, >=20 > I've noticed lately that I can't install /boot/mbr using boot0cfg. >=20 > [root@darklight:~]# boot0cfg -B -b /boot/mbr ad4 > boot0cfg: /boot/mbr: unknown or incompatible boot code >=20 > -r--r--r-- 1 root wheel - 512 Jun 6 17:45 /boot/mbr > /boot/mbr: x86 boot sector >=20 I think you'll have to use "fdisk -B" to do that. (boot0cfg(8) only installs boot0 and boot0sio.) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer