An easy way out of disk corruption and similar problems on your Mac is maintenance. There are a plenty of things that can affect your OS X drive. In a vast majority of cases, the directory structure of your startup disk gets corrupt. As a consequence, you may receive errors at the startup as shown below:
‘An error occurred during the file system check’
Or
‘inode Error’
Generally, a hard reboot or a disgraceful shutdown of Mac is responsible for this behavior. In case the corruption is severe, your Mac will fail to boot. Typically, OS X maintains a directory to keep track of each file stored on your hard drive. This directory contains key information related to the file, such as file name, its exact physical location on the drive. Files are allocated memory blocks and each block carries a link to the next block of the file. If the directory structure becomes corrupt, this file allocation information is lost.
If your Mac is running slow and freezing up, this means either some damage has occurred to the boot sector of your computer or you have incorrect disk permissions. Some specific viruses are programmed only to target your boot sector, causing system slowdown or forced reboot. Other problems can eventuate from corrupt permissions on System-related files and folders. This happens because when you install an application, its rogue installer may modify some of the file and folder permissions temporarily and fail to undo those changes after completion of the installation. When the disk permissions become corrupt, your Mac may exhibit unusual behavior.
You can use Apple’s Disk Utility to repair both permissions on Apple-originated objects and the directory structure of your startup disk. To do so, follow the below mentioned procedure:
Repairing startup disk (Macintosh HD) using Disk Utility:
- Insert the Mac OS X Install disc into the optical drive of your computer and restart your Mac.
- Keep pressing the ‘C’ key on your keyboard until the Apple logo appears on the screen.
- Choose a preferred language.
- In the Installer window, click ‘Utilities’ and then select ‘Disk Utility’.
- In the Disk Utility window, you will see a list of drives and volumes in the left pane. Select ‘Macintosh HD’ from this pane.
- In the same window, select the ‘First Aid’ tab. On this tab, click ‘Repair Disk’ button to repair the selected volume or click ‘Repair Disk Permissions’ button to repair permissions on System-related files and folders on this volume.
- Once you choose the desired option, the repair process will begin. If the repair process is completed successfully, you will receive anyone of the following messages depending on the repair option you selected:
‘The volume has been repaired.’
Or
‘Permissions Repair Complete
The privileges have been verified or repaired on the selected volume’
In case the above method fails to resolve the issue, you should use professional Stellar Mac Volume Repair software. Using this tool, you can easily correct a range of volume errors and rebuild a damaged directory. This software can also verify and fix permissions of system files and folders on your boot volume.

If the ntoskrnl.exe file is couprrt or missing this can also generate the error. To restore this file follow the below steps. Insert the Microsoft Windows XP CD. Note: If you have a recovery CD or a restore CD and not a Microsoft Windows XP CD it is likely the below steps will not resolve your issue.Reboot the computer, as the computer is starting you should see a message to press any key to boot from the CD. When you see this message press any key. In the Microsoft Windows XP setup menu press the R key to enter the recovery console. Select the operating system you wish to fix, and then enter the administrator password (if no pass the press enter). Type expand d:i386ntoskrnl.ex_ c:windowssystem32 You will then be prompted if you wish to overwrite the file type Y and press enter to overwrite the file. Type exit to reboot the computer.