My freebsd partition changed by Windows chkdsk

Matthew Navarre navarre.matthew at gmail.com
Fri Nov 2 23:20:09 UTC 2012


On Nov 2, 2012, at 2:33 PM, Warren Block wrote:

> 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.

sysutils/scan_ffs scans a raw device for UFS partitions and prints probable disklabel info. sysutils/testdisk might help also.
> _______________________________________________
> 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"



More information about the freebsd-questions mailing list