Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2011 14:53:41 -0800
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Invalid fdisk partition table found
Message-ID:  <87bos2e9hm.fsf@oak.localnet>
In-Reply-To: <201111232108.pANL80g3041149@fire.js.berklix.net> (Julian H. Stacey's message of "Wed, 23 Nov 2011 22:08:00 %2B0100")
References:  <201111232108.pANL80g3041149@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Julian H. Stacey" <jhs@berklix.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87bos2e9hm.fsf>