Cookies, which are files created by websites youve visited, and your browsers cache, which helps pages load faster, make it easier for you to browse the web. The last line should end in root. Right after the root prompt, enter the following sbinfsck fy. Press the Return key. Youll see the prompts in the picture above as each part of the hard drives directory is checked. Checking extents overflow file, Checking catalog file, Checking multi linked files, etc. It will take a few minutes. At the end, if your drive was OK, the screen will say The volume name of your hard drive appears to be OK. If any repair was made, youll see the prompt, FILE SYSTEM WAS MODIFIED. Then, youll see the root prompt again. Right after the root prompt, enter the following reboot. Press the Return key. Your Mac should restart normally.