From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 22:53:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB39F106566B for ; Wed, 23 Nov 2011 22:53:45 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id BFA948FC0A for ; Wed, 23 Nov 2011 22:53:45 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by redcondor2.peak.org ({6c724cae-de34-4c5f-b615-3072b86419fa}) via TCP (outbound) with ESMTP id 20111123225344978 for ; Wed, 23 Nov 2011 22:53:44 +0000 X-RC-FROM: X-RC-RCPT: Received: from maple.localnet (unknown [207.55.106.132]) by zmail-mta01.peak.org (Postfix) with ESMTPSA id 9A702491A4E for ; Wed, 23 Nov 2011 14:53:44 -0800 (PST) Received: from oak.localnet (oak.localnet [IPv6:2001:1938:266::6f:616b]) by maple.localnet (Postfix) with ESMTP id 37B2561F71 for ; Wed, 23 Nov 2011 14:53:42 -0800 (PST) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id E4A00C3A9 for ; Wed, 23 Nov 2011 14:53:41 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id pANMrfij055484; Wed, 23 Nov 2011 14:53:41 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <201111232108.pANL80g3041149@fire.js.berklix.net> Mail-Followup-To: freebsd-questions@freebsd.org Date: Wed, 23 Nov 2011 14:53:41 -0800 In-Reply-To: <201111232108.pANL80g3041149@fire.js.berklix.net> (Julian H. Stacey's message of "Wed, 23 Nov 2011 22:08:00 +0100") Message-ID: <87bos2e9hm.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Invalid fdisk partition table found 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: Wed, 23 Nov 2011 22:53:46 -0000 "Julian H. Stacey" writes: > > @ suggestions: > 1 Try > bsdlabel -B -w -r /dev/da1 > echo unplug, reinsert > newfs /dev/da1a > > 2 Base of _my_ man fdisk > " When running multi user, you cannot write unless you first run this: > sysctl kern.geom.debugflags=16 > " > > It looks like I never got round to sending in a send-pr for that, so feel free > looks like its been that way at least since 7.1.see > http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fdisk/ I thought I had seen a mention of that somewhere, so I grep'ed the man pages. I found hints on geom(4) and boot0cfg(8), but they certainly aren't obvious. -- Carl Johnson carlj@peak.org