From owner-freebsd-current@FreeBSD.ORG Mon Jun 7 17:17:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0ED416A4CE for ; Mon, 7 Jun 2004 17:17:00 +0000 (GMT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 45B0E43D1D for ; Mon, 7 Jun 2004 17:16:59 +0000 (GMT) (envelope-from lists-freebsd-current@biaix.org) Received: (qmail 86960 invoked by uid 1000); 7 Jun 2004 17:16:12 -0000 Date: Mon, 7 Jun 2004 19:16:12 +0200 From: Joan Picanyol To: "'freebsd-current@freebsd.org'" Message-ID: <20040607171612.GA86565@grummit.biaix.org> Mail-Followup-To: "'freebsd-current@freebsd.org'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: Sysinstall & labels/fdisk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 07 Jun 2004 17:17:00 -0000 * Alex Hoff [20040607 16:47]: > I have run in to an odd problem that on a freebsd 5.2 current system after > running fdisk and disklabel the initial time on install, i am never allowed > to do it again. > > What I have tried on many different systems, is to run sysinstall, and > either run fdisk or label. After making a change and trying to write the > changes, it will fail. Even if you dont make a change, and just try to write > the current settings to the disk, it will fail. The following error comes up > "ERROR: Unable to write data to disk ad0" (if also tried different types of > disk devices - da/aacd). Ktrace shows the error as "errno 1 Operation not > permitted" GEOM won't let you touch MBR/slices/partitions on used devices. For it to allow footshooting you should set kern.geom.debugflags=16 qvb -- pica