Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 16:43:16 -0800
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Advanced Format Drive ?
Message-ID:  <71672.1354149796@tristatelogic.com>
In-Reply-To: <alpine.BSF.2.00.1211281735290.69308@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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

>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


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)




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