# Show loaded kext and check kext dependencies
kextstat
# Unload kext with identifier
kextunload -b <your-identifier>
# change kext to correct permisstion
sudo chmod -R 755 <kext-file>
sudo chown -R root:wheel <kext-file>
# Clear some kext caches
sudo rm -R Extensions.kextcache
sudo rm -R Extensions.mkextif kext can't be unloaded, check its dependencies
If you encounter
classes have instanceserror when you unload kext, try to close apps or system menu bars or other things that uses that kexts. e.g. For unloadingVoodooHDA.kext, deselectShow volume in menu baroption inSoundinSystem Preferencesand runsudo kextunload -b org.voodoo.driver.VoodooHDAagain.
- NVRAM on Hackintosh
- Safari debug menu
- can't unload kernel extension, classes have instances
- use ioreg to checkout
# -u update the mounted file system
# -w read-write access
mount -u -w /dev/disk /mnt/point
mount_hfs /dev/disk /mnt/point
# mount root file system as read-write
mount -uw /- mac command in single user mode
- use USB drive in single user mode of mac
- mac single user mode root access
- mounting in command line
# search the device
df -lh
# check it
fsck_hfs -l /dev/disk0s2# -r rebuild catalog file
fsck_hfs -fyrrsync -r --progress /copy/from /copy/torsync maybe faster than cp
you can also use
<ctrl>+tto check the status.