

- HOW TO FIX A CORRUPTED HARD DRIVE FROM COMAND PROMPT HOW TO
- HOW TO FIX A CORRUPTED HARD DRIVE FROM COMAND PROMPT VERIFICATION
So I can be confident in the drive and its ability to store data.

You will see something that looks like this: Verifying a Disk via Terminal in OSX If you are targeting the Mac's hard drive you can also simply use a /.
HOW TO FIX A CORRUPTED HARD DRIVE FROM COMAND PROMPT VERIFICATION
To start the verification process, type the following command, while being sure to substitute the portion for the actual name of the drive. Once you have the list of disks, you can target one or many of them for verification and repair. You’ll be shown a list of disks attached to your Mac. The Terminal window should now look very similar to this: Accessing the Volumes directory from the OSX Terminal So to switch to the Volumes directory, open Terminal and type or paste in this command: cd /Volumes. In the terminal a /is known as the root, or lowest level, directory. The command used to switch from directory to directory is cd. This directory is located one step away from the root of the Mac. If you aren't at least a bit comfortable in Terminal, you may want to stick to the graphical user interface applications like Disk Utility.Īll of the disks that are attached to the Mac are located within the Volumes directory in Terminal.
HOW TO FIX A CORRUPTED HARD DRIVE FROM COMAND PROMPT HOW TO
How to Verify and Repair a Disk From the OS X Command Lineīefore I take you any further, you need to understand a couple of things:
