Maintain and Repair Mac OS X 10.7, OS X 10.8, OS X 10.9, OS X 10.10 (Lion, Mountain Lion, Mavericks and Yosemite) - Tips
Last updated on by * * _Francis_
If these maintenance routines could not be done at the scheduled times (Mac in sleep or shutdown), they will be done automatically when the Mac is awakened.
It is therefore no longer necessary, as in the past, to worry about these tasks.
We can also be content to do a cleaning from time to time, every two weeks, or every month, for example, with a utility that will do other cleaning operations in addition, such as repairing the permissions of the disk, emptying the caches, purge logs, etc ...
Once the disk image is in the "Downloads" folder, you mount it by double-clicking,
then we put the application in the “Applications” folder.
After that, the disk image can be ejected and discarded.
To use Onyx next, the procedure:
- Quit all running applications
- Start Onyx
- Let it check the SMART status of the hard drive (SMART is a diagnostic of the mechanical condition)
- Let Onyx check the structure of the volume (this warns if the system needs to be repaired in addition to cleaning)
- Then give the Administrator password when he asks for it
- Read or close the Important Information Note. (in the Onyx / Preferences / "Messages and history" menu, you can disable the opening of this window when launching Onyx)
- Click on the "Automation" button
- Check all the boxes except "Display of folder contents" to not modify the presentation preferences of folder windows
- You may also be able to not check the box linked to the reconstruction of the Spotlight index.
- Click on "Run"
- Restart the Mac
- After the 1st restart, during the first moments of use, the Mac may seem less responsive, this is normal.
- If the rebuilding of the search index by Spotlight has been started, this search will not be immediately operational on restart. We will have to wait until this index is completely rebuilt. It may take an hour or more depending on the content of the disc.
You can also use Maintenance, from the same editor as Onyx
There are other utilities, quite simple and convenient for cleaning on Mac, and which are sufficient in their free versions,
Important note : Never install MacKeeper
Sometimes the Mac behaves in an abnormal way without us being able to know the exact reason, for example: the USB sockets no longer communicate, the keyboard does not work correctly or other anomalies. In these cases, a reset of the management unit can resolve the problem, for this see the simple procedure which is suitable for the Mac model, on this page:
CAUTION: For portable Macs, all these operations must be carried out when the Mac is powered by the mains. Do not engage in this kind of operation when the mac is running on a more or less charged battery.
Note: Since Mac OS X 10.7 installing OS X, automatically creates a hidden rescue partition intended to allow repairs or reinstallation without resorting to an external volume. But you should know that this emergency partition will not be created in the case of an installation of OS X 10.7 or more, on an already partitioned volume. (except a possible Boot Camp partition, which will not prevent the creation of this emergency partition).
- Restart the Mac while holding down the Shift key until the startup display shows that Mac OS 10 starts up with extensions disabled. During this phase, the Mac will make possible minor repairs.
- Once the Mac is operational, restart it normally.
Note that if you start with the cmd and V keys held down, the Mac will start in Verbose mode, that is to say by showing the different startup steps on the screen, sometimes it can help to locate a problem. (NB: the cmd key is also called the Apple key. It is the key placed directly next to the space bar)
NOTES: Proceed after disconnecting any third-party devices. Leave only the Apple keyboard and mouse connected. In some difficult cases, it may even be necessary to remove third-party cards installed in the Mac.
- Start the Mac by holding down both the cmd and R keys
- The Mac will start on its hidden rescue partition
- A window named "OS X Utilities" appears
- Choose the option "Disk Utility"
- Go to the "SOS" tab
- Select the primary volume - not the OS X Base System partition which is the emergency partition - nor the icon which represents the hardware part so the physical disk with manufacturer name and capacity, but its primary working partition, on which is installed OS X. This primary volume, or partition, is shown slightly offset under the icon that represents the hardware part.
- Click on the “Repair Disk” button
- Let the process finish
- Restart the process if a message indicates that repairs have been made
- Now click on the "Repair permissions" button
- Let the process finish
- Quit Disk Utility
- Quit the OS X Utilities window
- Restart the Mac normally
- Start the Mac by holding down both the cmd and S keys
- The screen will be filled with lines of text (Unix lines)
- When the scrolling of the lines of text ends and you have "the hand", the last line displays ': / root #'
- at this point, and respecting the case and the space between the word fsck and the hyphen, you must type the following command:
- fsck -fy
- Confirm with the Enter key
- Wait for the result (until the last line shows again: / root #)
- If at the end of the work, towards the end of the result message, you see a line where it is written: FILE WAS MODIFIED, then restart the process by typing fsck -fy again and validating again with the Enter key.
- When the repairs are finished and you don't have to start the process anymore, you should no longer have the indication "FILE WAS MODIFIED", but only the message "The HD seems to be OK" or "The volume xxx seems to be OK", then:
- Type reboot
- Confirm with the Enter key
- Either reinstall OS X 10 from the Apple site, and this after booting from the emergency partition - a good internet connection is then required.
- Sot reinstall OS X 10 from an installation volume, (USB key), created by you from the raw installation package purchased on the App Store.
An 10.9 USB key can be realized according to one of the procedures indicated here:
An 10.10 USB key can be realized according to this procedure:
- Either use software that can rebuild the directory of the hard disk. The most effective in this situation seems to me to be DiskWarrior ; it is relatively expensive but generally efficient commercial software.
This article appeared first on https://www.commentcamarche.net/faq/36405-entretenir-et-reparer-mac-os-x-10-7-os-x-10-8-os-x-10 -9-os-x-10-10-lion-mountain-lion-mavericks-and-yosemite