My freebsd partition changed by Windows chkdsk

Warren Block wblock at wonkity.com
Fri Nov 2 21:33:54 UTC 2012


On Fri, 2 Nov 2012, Leslie Jensen wrote:

>
>
> 2012-11-02 16:12, Warren Block skrev:
>> On Fri, 2 Nov 2012, Leslie Jensen wrote:
>> 
>>> I use sysinstall and fdisk to find the disk, and I get
>> 
>> Please don't use sysinstall for this or any disk formatting.
>>
>>>    Offset   Size(ST)      End     Name  PType       Desc  Subtype
>>> Flags
>>>
>>>         0         63         62        -     12     unused        0
>>>        63     256977     257039   ad12s1      4    unknown       22
>>>    257040  163702350  163959389   ad12s2      4 NTFS/HPFS/QNX        7
>>> 163959390  812813778  976773167   ad12s3      4 NTFS/HPFS/QNX        7
>>> 
>>> 
>>> It's ad12s3 that's my freebsd slice
>>> 
>>> gpart show ad12s3 returns
>>> 
>>> gpart: No such geom: ad12s3
>>> 
>>> 
>>> How do I proceed?
>> 
>> I don't see why gpart doesn't see that.  Please show the output of
>> 'gpart show ad12'.
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>
>
> =>       63  976773105  ad12  MBR  (465G)
>         63     256977     1  !22  (125M)
>     257040  163702350     2  ntfs  [active]  (78G)
>  163959390  812813778     3  ntfs  (387G)

Well, that's a start.  The MBR is fine.  The bad news is that the 
bsdlabel information in slice 3 may be missing.  gpart should see that 
if it exists.

If you have a printed or saved version of the bsdlabel (disklabel) 
information, that could be recreated.  Without it, I don't know.


More information about the freebsd-questions mailing list