View Single Post
 
Old 01-31-2010, 03:21 PM
lanceomni's Avatar
lanceomni lanceomni is offline
 
Join Date: Nov 2008
Location: Florida, US
Posts: 521
Well lets try to reinstall it.

Get a fresh copy of NVinject 0.2.1 and make sure it is on your Desktop http://nvinject.free.fr/files/Latest_NVinject.0.2.1.zip

Remove the existing NVinject using the following command
sudo su
Code:
rm -Rf /System/Library/Extensions/NVinject.kext
The following commands will backup your extensions and install NVinject with proper permissions and ownership. An explanation for each command is provided below.

Code:
sudo -s
mkdir /backup
cd /System/Library
cp -r Extensions/ /backup/
cp /Users/YOUR_USER_NAME/Desktop/NVinject.kext Extensions/NVinject.kext
chmod -R 755 Extensions/
chown -R root:wheel Extensions/
touch Extensions/
rm -rf Extensions.mkext
diskutil repairpermissions /
Reboot using the boot-flags -v -f


Manually Installing a Kext EXPLAINED
You can manually install drivers (kexts) by following the instructions below. Be sure to do your research and make sure that what you are installing will work. It is highly recommended that you do steps 2, 3 & 4 to backup your extensions folder. This will make it possible to recover from a non booting system

Place the kext you wish to install on your desktop (The following commands rely on it being on the desktop).

1. Give yourself root privileges so that you can modify files.
Code:
sudo -s
2. Make a backup copy of your kexts. First we will make a directory called "backup" in our root directory to store them. Open Terminal and type:
Code:
mkdir /backup
3. Change directories to /System/Library This will shorten some of the commands we have to type in.
Code:
cd /System/Library
4. Copy your kexts to the new "backup" folder.
Code:
cp -r Extensions/ /backup/
5. Copy the kext from your desktop to the extensions folder (Replace YOUR_USER_NAME with yours)
Code:
cp /Users/YOUR_USER_NAME/Desktop/NVinject.kext Extensions/NVinject.kext
Repeat step 5. for each additional kext.

6. Set the proper permissions for the extensions folder.
Code:
chmod -R 755 Extensions/
7. Set the proper ownership for the extensions folder.
Code:
chown -R root:wheel Extensions/
8. Touch the extensions folder
Code:
touch Extensions/
9. Remove the extensions cache to force OSX to rebuild it with our new kext.
Code:
rm -rf Extensions.mkext
10. Repair permissions to your drive.
Code:
diskutil repairpermissions /
11. Reboot using the boot-flags -v -f
-v Verbose Mode displays useful information during 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