No GPT on an usb key

David DEMELIER demelier.david at gmail.com
Thu Oct 28 07:52:57 UTC 2010


Hello,

I'm trying to put on my USB mass storage device a GPT scheme
partitions. But gpart still add them as slices :

To be sure to remove the MBR before I dd'ed it

$ sudo dd if=/dev/zero of=/dev/da0 bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.003369 secs (151970 bytes/sec)
$ sudo gpart create -s GPT da0
da0 created
$ gpart show da0
=>      34  15771653  da0  GPT  (7.5G)
        34  15771653       - free -  (7.5G)

$ sudo gpart add -b 34 -t freebsd da0
da0s1 added

Why it is still s1? In my kernel config I have this :

device          crypto
options         GEOM_ELI
options         GEOM_PART_GPT
options         GEOM_LABEL
options         GEOM_VOL

Do I need something that I forgot?

Kind regards,

-- 
Demelier David


More information about the freebsd-questions mailing list