have MacBook Air 2009 with El Captain installed. The Wifi on this Mac was not working. (only through USB key)
This Mac was sold but that person returned it to me and mess it up. From that time I can not boot, I can not boot in safe mode either. I can not reinstall it.
When I run hardware test from CD, I couldnt finish the test.
When I boot Mac in single user mode there was this message
Bash-3.2.# ***** [IOBluetoothHCIController][SearchForTransportEventTimeOutHandler] –Missing Bluetooth Controller Transport!
When I run disk utility - verify disk
There are some sentence in red color
Missing thread record (id=55502)
Invalid volume directory count
It should be 12748 instead of 12747
Volume header needs minor repair
The volume OS X Base System was found corrupt and needs to be repaired
File system check exit code is 8
Error: The disk needs to be repaired usi….es window appears, choose Disk Utility
When I enter Recovery mode (Command R} When I run first aid in disk utility – it is this message First Aid process has failed. If possible back up the date on this volume. Click done to continue
When I tried to erase disk, message erase process has failed.
I came to conclusion that I need a special program to fix the disk. I download free program TestDisk, I followed quide that I need to type sudo command and this program will start automatically (I have it on the USB), but my problem is that when I typed sudo in terminal the answer was command not found. I typed /bin/echo $PATH and then I got this response
/usr/bin:/bin:/usr/sbin:/sbin
Do you have somebody idea how to run TestDisk on my Mac? Thanks for advice.