Re-Pairing... Mac OS

MacOS (formerly Mac OS X (1999-2012) or OS X (2012-2016)) is a series of graphical operating systems developed by Apple for Apple computing devices. It is the second most used desktop operating system, after Microsoft Windows. 1 Month ago I downloaded the update 'Mountain Lion'. About 2 weeks ago I removed some of the OS X Mountain Lion System files (Twitter, Facebook, etc) After I deleted some of the system files, if I quit Notes, Contacts and other apps they freeze. I have also noticed other issues with the Mac. Jul 05, 2017 Mac OS X contains a variety of tools for repairing disk, partition, and file system errors. These options work like chkdsk on Windows, checking for disk and file system errors and repairing them. You can perform a check from within Mac OS X, but it may sometimes be necessary to use recovery mode to fix problems. Oct 31, 2013 If it's too much for you, there are local PC/Mac software repair and data recovery services, for hardware repairs you should take it to a Apple Authorized Repair. Please read the disclaimers at the bottom. This User Tip is designed for Mac's that are capable of running OS X Snow Leopard (10.6) to any Mac running OS X Lion (10.7) or Mountain Lion. Part 2: Why We Need Wondershare Repairit Video Repair Software for Mac? Wondershare Repairit Video Repair for Mac is designed that can scan and repair corrupt MOV, MP4, M4V, M4A, and F4V video files on Mac. The Mac video repair tool repairs corrupt videos, damaged due to compression issues, changes made in the file formats, read/write errors, virus attack, and other reasons.

Re-Pairing... Mac OS
  • How to Repair a Disk on Mac OS X from Command Line

by Vlad Tiganasu 6 years ago

How to Repair a Disk on Mac OS X from Command Line

Mac OS X comes with an easy-to-use application, called Disk Utility, that allows users to verify and repair hard disks using a graphical user interface and it is recommended for most Mac users that are not comfortable using the terminal. However, this can also be performed using the command-line. This could come in handy in situations when you can't or don't want to use Disk Utility for some reason.

In this guide, I will show you how you can repair a disk on Mac OS X using the command-line.

View Connected Devices

The first thing you need to do is start Terminal (/Go/Utilities/Terminal). Once you have done that, you need to check the names of the volumes that are currently connected to your system. You can do that using two simple commands:

Switched to Volumes Directory

Now, you terminal should look like this:

LS command

The following commands are written in their general form (can be written right after starting the terminal, without accessing the Volumes folder in order to view the connected devices). If you have performed the previous step to view the connected drives, then you can skip the /Volumes part of the commands that will be presented below.

Disk Verification

Now, it is time to verify your volume and determine if it needs to be repaired or not. In order to do that, you need to type the following command (make sure you replace [drive name] with the actual name of your volume)::

For example, if you want to test your Mac's hard disk, you just need to type:

Or, if you want to test, say, an external storage device that you named 'Movies' and you are not in the Volumes folder in terminal your command should look like this:

After some time (depending on the size of the tested volume), a message will be displayed that will tell you of the current state of your drive (see image)

After Disk Verification

As you can see, after I've tested my Mac's hard drive (named System), the message was 'The volume System appears to be OK'. If, instead of this message, the test returns a message like 'The volume System was found corrupt and needs to be repaired', then it is time to start fixing the problem.

Disk Repair

After you determine the volume you need to repair, all you have to do is simply write this command (make sure you replace [drive name] with the actual name of your volume):

Furthermore, if you want to repair your Mac's hard drive, then you can type

Make sure you wait until the end of the process (you will receive the 'Volume repair complete' message), no matter what, because, stopping it mid-way might damage the data on your drive.

Conclusion

As the message from the terminal window says, you have successfully repaired your drive using the command-line version of Disk Utility. Even if it is commonly considered hard to use by some Mac users, the command-line is a very helpful feature and, if you have followed the guide, you should have your volumes fully repaired.

If you receive an error when trying to repair your drive using the command-line, then you might want to restart your Mac in recovery mode (using the Command-R key combination) and retype to repair command or simply use Disk Utility (might be easier for you using the GUI version).

If you keep having problems with your drive, then you should try the fsck approach (a more advanced command-line repair mode) or your drive might be physically damaged, in the latter case you should start creating backups of your data and get a new drive.

Check
our latest
how to articles

Your Mac stuck on white screen and you desperately grab your phone to google solutions? As it mostly happens abruptly, you need to find the fast way to bring your Mac back to life. So, let’s get down to work right away!

Why my Mac stuck on white screen?

Macs are reliable computers, but on the rare occasions they may encounter trouble and won’t load. When this happens, you see a blank white screen, your Mac becomes pretty much unusable, and you keep asking yourself, “Why won’t my MacBook turn on?”

Usually, this happens after updating your operating system to a new version, when dealing with incompatible drivers, or if some applications fail to upgrade. This results in a blank screen on Mac until some steps are taken to bring your computer back to its normal state.

How to fix the MacBook white screen

Before you do anything to solve the Mac frozen screen, try an easy fix: check your peripherals. Try to disconnect all of them (printers, scanners, USB devices, etc.) with the exception of the keyboard and mouse. Then reboot your Mac. If it boots up now, one of those peripherals is the source of the plain white screen problem. However, if it fails and your MacBook won’t load, check out other possible ways to wake up your Mac.

1. Boot into safe mode

A safe boot feature in macOS and Mac OS X was designed for troubleshooting purposes. It allows to check the disk for all possible file system errors and if needed, a repair would be run. Starting your Mac in safe mode is the first thing you should do when your Mac won’t turn on.

To start up in safe mode:

  1. Press the power button, then immediately press and hold the Shift key.
  2. When you see the Apple logo, release the Shift key.

Once you boot using safe mode, the very first thing is deleting cache files. A cache is a place where data is stored temporarily to help things load faster. But eventually, files in a cache become outdated and start to pile up on your Mac, resulting in a white screen problem. Here’s a comprehensive guide “How to clear cache on a Mac.”

After you’ve deleted the cache files, you should also remove recently installed applications. But note that dragging them to the Trash is not the right way to remove apps as it leaves behind tons of associated files on your Mac. But don’t worry, there is a utility that will help you — CleanMyMac X. Its Uninstaller module is designed to uninstall apps completely, with no leftover parts and pieces behind.

Simply download the app (it’s free to try), launch it, choose Uninstaller and select the app you want to delete. Click Uninstall and the application will be removed completely. As simple as that!

As you’ve removed all the clutter, restart as normal without pressing any keys during startup. Probably you won’t see that MacBook white screen anymore.

2. Reset PRAM/NVRAM

PRAM/NVRAM is a small amount of memory that your Mac uses to store certain settings and access them quickly. These settings include sound volume, time zone, startup disk selection, and more. If you experience some issues related to these settings, resetting PRAM might fix your MacBook stuck on white screen.

Here’s how to reset PRAM/NVRAM:

Repair Mac Os

  1. Shut down your Mac.
  2. Immediately press these four keys together: Command+Option+P+R.
  3. Hold down the keys until you hear the startup sound.
  4. Release the keys.

When your Mac finishes starting up, you should go to System Preferences and adjust some settings that were reset, such as time zone, display resolution, etc.

3. Use Disk Utility to verify or repair disks

Disk Utility can fix several disk problems, including the white screen on Mac. That’s why use it to your advantage if the above steps didn’t work.

  1. Restart your Mac holding the Command and R keys.
  2. Release the keys when you see the Apple logo.
  3. Click Disk Utility and then click Continue.
  4. Choose the disk you want to repair.
  5. Click the First Aid button.

If Disk Utility says the disk is about to fail, there’s nothing you can do — you have to replace it. If it reports that the disk has been repaired, you’re done. You can click Show Details to get more information about the repairs.

4. Reinstall macOS

If all the approaches are failing and you still see that white screen on your Mac, you may need to reinstall your operating system. Don’t worry, it won’t affect your files, apps, user setting, etc. Only a fresh version of the macOS will be installed on your Mac again. Here’s how to do that for macOS Sierra, macOS High Sierra, macOS Mojave, macOS Catalina and macOS Big Sur.

Note that sometimes the standard reinstall methods won’t work due to the issues with the drive. In this case, you’ll need to use the internet recovery to reinstall the operating system.

Osx Repair

Follow these steps to reinstall macOS from the internet:

Repairing Mac Os X Keychain

  1. Turn on or restart your Mac.
  2. Hold down the Command+Option+R keys until you see the Apple logo or a spinning globe.
  3. When startup is complete, you’ll see the Utilities window.
  4. Choose Reinstall macOS and click Continue.

Follow the onscreen instruction to complete the process.

Once you’ve brought your Mac to life, make sure to do some maintenance to prevent such unpleasant issues in future. A utility we’ve mentioned above — CleanMyMac X — will help you keep your Mac in shape for years. Apart from cleaning your Mac from all the junk, it gives you access to all maintenance scripts that allow to quickly optimize the system performance and never worry about the health of your Mac.

Mac Os Catalina

With the solutions above, you’ll fix the white screen problem on Mac, so that it can function as a new one. Cheers!