Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2012 18:49:50 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Snow Mountains <snow.mountains.4@gmail.com>
Cc:        freebsd questions list <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD on SSD on ASUS P5KPL-C
Message-ID:  <alpine.BSF.2.00.1211191848330.31205@wonkity.com>
In-Reply-To: <CAAHVa8vsXUPn%2BndPsbR3GCdneu5iQSfVt0v--GgDvRvZL8bSCA@mail.gmail.com>
References:  <CAAHVa8thx4_fjQrTUwwGxERtCvTX9NnR59JxH7gQ38tq7irCZw@mail.gmail.com> <CAHHBGkph5j86wDpobasdtM%2BJZMQKt2eqcn8LKd4V0NzyDxR3Tw@mail.gmail.com> <CAAHVa8vm6vFa8ajiOJT3VWnvcZasdQM%2BnaJdjG9eLx%2Bj5F80CA@mail.gmail.com> <50A83993.50401@ShaneWare.Biz> <CAAHVa8uf65aaEWcKehojc0M67Psrn8Mpfj9GT=XR4GK47c%2BBWA@mail.gmail.com> <alpine.BSF.2.00.1211191235400.28618@wonkity.com> <CAAHVa8tZBPGPyuuU0bSwyPdN5ZtW_d4t9cJN7CcxEEaUXO7OGw@mail.gmail.com> <alpine.BSF.2.00.1211191801060.31205@wonkity.com> <CAAHVa8vsXUPn%2BndPsbR3GCdneu5iQSfVt0v--GgDvRvZL8bSCA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Nov 2012, Snow Mountains wrote:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1211191848330.31205>