gpart mbr scheme
Anselm Strauss
amsibamsi at gmail.com
Sun Oct 11 13:31:51 UTC 2009
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
More information about the freebsd-questions
mailing list