Solving the Error BootCacheControl Unable to open /var/db/BootCache.playlist: 2 no such file or directory
Hackintosh beginners and sometimes even the professionals may end up in a screen like the following
where mac os x verbose displays couple of lines about launchd and fsck
These are the few lines related to BootCacheControl
1- BootCacheControl: Unable to open /var/db/BootCache.playlist: 2 no such file or directory 2- BootCacheControl: Unable to open /var/db/BootCaches/PreheatedUser/Merged.playlist: 2 no such file or directory 3- BootCacheControl: Unable to open /var/db/BootCache/PreheatedUser/Login.playlist: 2 no such file or directory BootCacheControl: Added 32bit kernel cache to the lowest priority batch
Follow this guide will help you to fix bootcachecontrol unable to open /var/db/bootcache.playlist
First of all this is a common error message shows even in Good working builds
If these problem appear before installing macOS you have to create a New USB from Image or Burn the ISO again
There are three factors which may cause this problem after successful Mac OS X Installation
- Unsupported graphics (or graphics needs custom patches).
- Missing FakeSMC.
- Bad or corrupted launch configuration file.
UnSupported Graphics (or Graphics Needs Custom Patch)
- All you have to do is to Backup Graphics Kexts (Read the full article to get a clear understanding of it)
- Use google to find out if your graphics card or internal graphics is supported
- You may see an extra message Waiting for DSMOS in the verbose log
- FakeSMC.kext is not installed in your system, to install FakeSMC follow the Guide to Fix Missing FakeSMC
Bad or Corrupted Launch Configuration file
A bad configuration file is preventing your os x from boot
the easy way to fix is to delete it
boot with -s (Single User Mode)
Execute commands one by one, these commands mount root as writable and remove caches
fsck -fy mount -uw / rm -rf /etc/launchd.conf rm -rf /System/Library/Caches kextcache -i / reboot
at the end of the command, your system will reboot and boot into OS X