Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 17:40:16 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        "Ronald F. Guilmette" <rfg@tristatelogic.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Advanced Format Drive ?
Message-ID:  <alpine.BSF.2.00.1211281735290.69308@wonkity.com>
In-Reply-To: <71454.1354149077@tristatelogic.com>
References:  <71454.1354149077@tristatelogic.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 28 Nov 2012, Ronald F. Guilmette wrote:

>
> In message <alpine.BSF.2.00.1211272215360.62205@wonkity.com>,
> Warren Block <wblock@wonkity.com> wrote:
>
>>> I tried to do as you suggest and change the partition type to freebsd-ufs,
>>> but there's a problem...
>>>
>>> # gpart modify -i 1 -t freebsd-ufs /dev/da1
>>> gpart: Invalid argument
>>
>> da1 is the drive.  da1s1 is the first slice.
>
> Yeabut that's what I thought that the -i option was for!  I mean isn't the parameter for
> that supposed to tell gpart which sub-part of the whole "geom" thing that is named on
> the command line is supposed to be modified?

Doh, you are right, and I misread it.  It's the type that is the 
problem: freebsd-ufs is a not an MBR partition type, it should be just 
freebsd:

# gpart modify -i1 -t freebsd /dev/da1



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1211281735290.69308>