FreeBSD on SSD on ASUS P5KPL-C

Warren Block wblock at wonkity.com
Tue Nov 20 01:49:52 UTC 2012


On Tue, 20 Nov 2012, Snow Mountains wrote:

> 2012/11/20 Warren Block <wblock at 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


More information about the freebsd-questions mailing list