Date: Sun, 11 Oct 2009 15:31:48 +0200 From: Anselm Strauss <amsibamsi@gmail.com> To: Anselm Strauss <amsibamsi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: gpart mbr scheme Message-ID: <4836FC82-7B2D-48C5-83EE-3FFD0CDD3C9C@gmail.com> In-Reply-To: <744E86AA-8024-4A1D-903A-11B6177B4D95@gmail.com> References: <744E86AA-8024-4A1D-903A-11B6177B4D95@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Aha, GEOM_PART_MBR is not enabled by default in the 7.2 kernel. That changes with 8.0: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/conf/DEFAULTS.diff?r1=1.10.8%3ARELENG_7_2&tr1=1.10.8.1&r2=1.19.2%3ARELENG_8&tr2=1.19.2.1 I recompiled my kernel, now it works! On Oct 10, 2009, at 22:08 , Anselm Strauss wrote: > Hi, > > I'm trying to partition a compact flash card with gpart. When I want > to create a new MBR scheme it always complains: > > -> gpart create -s mbr da0 > gpart: scheme 'mbr': Invalid argument > > The GPT scheme works fine: > > -> gpart create -s gpt da0 > da0 created > -> gpart show da0 > => 34 8027645 da0 GPT (3.8G) > 34 8027645 - free - (3.8G) > -> gpart destroy da0 > da0 destroyed > > The kernel driver seems to be loaded: > > -> kldstat -v | grep mbr > 278 g_mbr > 277 g_mbrext > > Does gpart in 7.2 not support MBR partitioning? > > > Cheers, > Anselm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4836FC82-7B2D-48C5-83EE-3FFD0CDD3C9C>