From owner-freebsd-stable@FreeBSD.ORG Fri Oct 1 09:01:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E2F0106566B for ; Fri, 1 Oct 2010 09:01:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 860EF8FC08 for ; Fri, 1 Oct 2010 09:01:45 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta09.emeryville.ca.mail.comcast.net with comcast id DLxB1f0020lTkoCA9M1lYq; Fri, 01 Oct 2010 09:01:45 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta04.emeryville.ca.mail.comcast.net with comcast id DM1j1f00J3LrwQ28QM1kND; Fri, 01 Oct 2010 09:01:44 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 906D79B418; Fri, 1 Oct 2010 02:01:43 -0700 (PDT) Date: Fri, 1 Oct 2010 02:01:43 -0700 From: Jeremy Chadwick To: Daniel Braniss Message-ID: <20101001090143.GA40450@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: boot0cfg problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 09:01:45 -0000 On Fri, Oct 01, 2010 at 09:26:41AM +0200, Daniel Braniss wrote: > In a not so distant past, boot0cfg -sn ... used to work, then it only > partialy worked, it would modify the data in boot but not the mbr, for > which 'gpart -s set active -in ...' modified the mbr. Now > # boot0cfg -s1 -v /dev/mfid0 > boot0cfg: write_mbr: /dev/mfid0: Operation not permitted > but: > # boot0cfg -v /dev/mfid0 > # flag start chs type end chs offset size > 1 0x80 0: 1: 1 0xa5 1023:212:63 63 41943006 > 2 0x00 1023:255:63 0xa5 1023:169:63 41943069 41943006 > 3 0x00 1023:255:63 0xa5 1023:126:63 83886075 41943006 > 4 0x00 1023:255:63 0xa5 1023:201:63 125829081 1046478825 > > version=2.0 drive=0x80 mask=0x3 ticks=182 bell=# (0x23) > options=packet,update,nosetdrv > volume serial ID 9090-9090 > default_selection=F2 (Slice 2) Can you try doing "sysctl kern.geom.debugflags=16" first? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |