Reinstall Kext from Backup folder in Single User Mode -s
Boot into Single User Mode by using the -s boot-flag
1. Allow for the modification of files by typing:
2. Change directories to /System/Library This will shorten some of the commands we have to type in.
3. Copy the kext from your Backup extensions folder to the /System/Library/Extensions folder
Code:
cp -R /Backup/forcedeth.kext Extensions/forcedeth.kext
4. Set the proper permissions for the extensions folder.
Code:
chmod -R 755 Extensions/
5. Set the proper ownership for the extensions folder.
Code:
chown -R root:wheel Extensions/
6. Touch the extensions folder
7. Remove the extensions cache to force OSX to rebuild it with our new kext.
Code:
rm -Rf Extensions.mkext
8. Reboot using the boot-flags
-v -f
-v Verbose Mode displays useful information durring the boot process.
-f Forces OSX to load kexts from the extensions folder instead of the cache file. We did delete the cache file so this is just a precaution.