On Tue, 20 Nov 2012, Snow Mountains wrote:

2012/11/20 Warren Block <wbl...@wonkity.com>:
On Tue, 20 Nov 2012, Snow Mountains wrote:

Just one small problem. Here I got this:

# gpart create -s bsd ada2s1
gpart: geom 'ada2s1': File exists
# gpart set -a active -i 1 ada2s1
gpart: index '1': No such file or directory

Expected? Anyway, is it any way to but FreeBSD on something like s2?


Sorry, typo.  FreeBSD does not have to be the first slice.

# gpart create -s bsd ada2s2
# gpart set -a active -i 1 ada2s2

Hm, still doesn't work. Look:

# gpart destroy -F ada2
ada2 destroyed
# gpart create -s mbr ada2
ada2 created
# gpart bootcode -b /boot/mbr ada2
bootcode written to ada2
# gpart add -t ntfs -b 2048 -s 30g ada2
ada2s1 added
# gpart create -s bsd ada2s2
gpart: arg0 'ada2s2': Invalid argument

I know I've seen that, but can't recall what causes it. You can try retasting before creating the BSD partitions:

# true > /dev/ada2
# gpart create -s bsd ada2s2
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to