On 19 November 2010 01:06, Krzysztof Dajka <alter...@gmail.com> wrote:
> Hi
> Today I had problem with creating mbr partition on my pendrive.
> I tried using gpart as I am most familiar with this tool. On clean device I 
> did:
>
> [~] #  gpart create -s mbr da1
> da1 created
> [~] #  gpart add  -t mbr da1
> gpart: Invalid argument

Hmm.. I use the next sequence (on 8.x):

gpart create -s mbr ${device}
gpart add -b 63 -t freebsd ${device}
gpart create -s bsd ${device}s1
gpart add -t freebsd-ufs -s 1024m ${device}s1
[..more partitions there..]
gpart bootcode -b /boot/boot0 ${device}
gpart bootcode -b /boot/boot ${device}s1
gpart set -a active -i 1 ${device}


-- 
wbr,
pluknet
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to