Bad starting sector (CHS and LBA don't match)

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
SungMatt
Posts: 2
Joined: 09 Mar 2016, 03:41

Bad starting sector (CHS and LBA don't match)

#1 Post by SungMatt »

I've recently been using a USB to Micro SD adapter, and that has been causing me disconnect issues recently. I used the SD card to Micro SD adapter, and now my MicroSD fails to work, and returns an error message "The disk you inserted was not readable by this computer."
Image

Upon running TestDisk , I was able to find the error of a bad starting sector.

Code: Select all

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/rdisk1 - 63 GB / 59 GiB - 124735488 sectors
Current partition structure:
     Partition                  Start        End    Size in sectors

Invalid NTFS or EXFAT boot
 1 P HPFS - NTFS                32768  124735487  124702720
 1 P HPFS - NTFS                32768  124735487  124702720

Warning: Bad starting sector (CHS and LBA don't match)
No partition is bootable


The log is above.

What further steps should I take to recover the SD card's data* and make it usable again?

*Note: I have run PhotoRec and gotten back 23 gigs of my 64 gigs of data. Can I recover more?

TL;DR CHS and LBA don't match, need to recover data and disk.

Thanks :)


OS: Mac OSX 10.9.5
TestDisk 7.0

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Bad starting sector (CHS and LBA don't match)

#2 Post by cgrenier »

Try TestDisk, Advanced, Boot, RebuildBS, List. If you can see your files, choose Write, confirm, Quit

SungMatt
Posts: 2
Joined: 09 Mar 2016, 03:41

Re: Bad starting sector (CHS and LBA don't match)

#3 Post by SungMatt »

Thanks for your quick response! My computer is currently down, so I'll reply with my results once I can get this 4 year old machine to boot.

Cheers, CG!

:)

gold333
Posts: 11
Joined: 04 Apr 2016, 00:58

Re: Bad starting sector (CHS and LBA don't match)

#4 Post by gold333 »

cgrenier wrote:Try TestDisk, Advanced, Boot, RebuildBS, List. If you can see your files, choose Write, confirm, Quit

To confirm,

I want to try that with my corrupted primary partition that converted to RAW.

Are you sure RebuildBS doesn't write anything to the partition unless we choose "Write" after seeing a legible list of files?

Locked