View Single Post
 
Old 04-01-2009, 07:36 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
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:
Code:
/sbin/mount -uw /
2. Change directories to /System/Library This will shorten some of the commands we have to type in.
Code:
cd /System/Library
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
Code:
touch Extensions/
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.

MOBO: Z77MX-QUO-AOS CPU: Core i7 3770K GPU: MSI N760 TF 2GD5/OC Case: Modded MacPro2,1
Memory: 32GB Corsair Vengeance (CMY32GX3M4A1600C9) Wifi: Airport Extreme bcm94321MCA BIOS: HermitCrab Labs H3A.816M
Monitor: AOC Q2963Pm 29" WFHD 2560x1080 21:9
Interests: KDE on Apple Darwin, Keeping it real with the command line, Helping those that help themselves
Reply With Quote