Advanced Format Drive ?

Ronald F. Guilmette rfg at tristatelogic.com
Thu Nov 29 00:43:18 UTC 2012


In message <alpine.BSF.2.00.1211281735290.69308 at wonkity.com>, 
Warren Block <wblock at wonkity.com> wrote:

>On Wed, 28 Nov 2012, Ronald F. Guilmette wrote:
>
>>
>> In message <alpine.BSF.2.00.1211272215360.62205 at wonkity.com>,
>> Warren Block <wblock at 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


Thank you again Warren.  Success!  I am a happy camper!

% gpart show /dev/da1
=>        63  1953525104  da1  MBR  (931G)
          63        1985       - free -  (992k)
        2048  1953519616    1  freebsd  (931G)
  1953521664        3503       - free -  (1.7M)



More information about the freebsd-questions mailing list