In message <[email protected]>, 
Warren Block <[email protected]> wrote:

>On Wed, 28 Nov 2012, Ronald F. Guilmette wrote:
>
>>
>> In message <[email protected]>,
>> Warren Block <[email protected]> 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)

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to