Superfulcrum Posted January 11, 2009 Share Posted January 11, 2009 What should I do to switch off a recently loaded video kext which is now causing a lockup? Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/ Share on other sites More sharing options...
Lanceomni Posted January 11, 2009 Share Posted January 11, 2009 What should I do to switch off a recently loaded video kext which is now causing a lockup? You should be able to boot using -v -x -x Safe Mode should boot using default graphics and then you can rectify your problem. If you still are unable to boot reply back and we can talk about removing them from the command line using Single User Mode -s You definitely want to avoid using conflicting kexts (NVinject, NVdarwin, NVkush, Titan.....) Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/#findComment-1036789 Share on other sites More sharing options...
Superfulcrum Posted January 11, 2009 Author Share Posted January 11, 2009 Unfortunately unless I hit enter pretty quickly (and even then not always) I get System config file '/Library/Preferences/SystemConfiguration/com.apple.Boot.plist' not found so have never been able to use options at the Boot: prompt. It would be great to sort this out as apart from that I have a dual boot that works great. Stilll needs work to get all hardware going but basically seems stable. Thanks for your reply and any ideas on how to get options passed to the Boot: prompt would be very welcome. Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/#findComment-1036848 Share on other sites More sharing options...
Lanceomni Posted January 11, 2009 Share Posted January 11, 2009 Unfortunately unless I hit enter pretty quickly (and even then not always) I get System config file '/Library/Preferences/SystemConfiguration/com.apple.Boot.plist' not found so have never been able to use options at the Boot: prompt. It would be great to sort this out as apart from that I have a dual boot that works great. Stilll needs work to get all hardware going but basically seems stable. Thanks for your reply and any ideas on how to get options passed to the Boot: prompt would be very welcome. Do you know exactly what it was that you did to bork the system? Did you install NVinject and not remove other conflicting kexts such as NVdarwin, NVkush, Titan, Natit? You can boot into your install DVD and make changes from there. 1. Boot the install DVD 2. Select Terminal from the tool bar 3. Type the following and see if you recognize your drives label ls /Volumes 4. Change directories to your hard drive. For example my drive is labeled "Leopard" so I would type the following. cd /Volumes/Leopard 5. Now we don't want to be in the Installer longer than we have to so we are going to backup the extensions folder as a precaution and then remove the graphics drivers. Then when you startup you get default graphics and can try installing drivers again. We will first make a backup folder in the root of your drive. mkdir backup 6. Now copy the extensions folder to your new backup folder. cp -Rf /System/Library/Extensions /backup/Extensions 8. We want to see which drivers are causing the problems. Type the following to get a list of kexts in your extensions folder. You are looking for NVinject, NVdarwin, NVkush, Titan, Natit. Id write them down. 9. Now lets remove the ones you found by typing the following (replacing "PROBLEM.kext" with one you found) rm -Rf /System/Library/Extensions/PROBLEM.kext Repeat step 9 for each additional kext you found from the list I mentioned. 10. Now we want to remove the extensions cache so that OSX will rebuild it without the files we removed. rm -Rf /System/Library/Extensions.mkext 11. Reboot Now if you still can't get into OSX then we will try a different approach by modifying com.apple.boot.plist to automatically boot you in Safe Mode -x Let me know and Ill post how to do that Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/#findComment-1037001 Share on other sites More sharing options...
Superfulcrum Posted January 11, 2009 Author Share Posted January 11, 2009 Firstly thanks very much for your considerable effort. I seemed to have problems with the backup bit couldn't make the copy. But I listed everything in /System/Library/Extensions and there were none of the files you pointed out, not even NVinject!! I would be interested in modifying modifying com.apple.boot.plist if it's possible. Due you have any ideas about the Boot: question, could it be a SATA thing. Thanks again for your help....rob Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/#findComment-1037169 Share on other sites More sharing options...
Lanceomni Posted January 11, 2009 Share Posted January 11, 2009 Firstly thanks very much for your considerable effort. I seemed to have problems with the backup bit couldn't make the copy. But I listed everything in /System/Library/Extensions and there were none of the files you pointed out, not even NVinject!! I would be interested in modifying modifying com.apple.boot.plist if it's possible. Due you have any ideas about the Boot: question, could it be a SATA thing. Thanks again for your help....rob Hmm interesting. Boot into the Install disk again and open terminal Type the following: sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist Look for <key>Kernel Flags</key> <string></string> Add -v -x -f to the string <key>Kernel Flags</key> <string>-v -x -f</string> If you already have something in this section just leave a single space. Control + x to exit then press Y to save. What exactly did you do prior to these issues? Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/#findComment-1037330 Share on other sites More sharing options...
Superfulcrum Posted January 16, 2009 Author Share Posted January 16, 2009 Thanks for all your help. I'm afraid I reinstalled in the end but your advice has helped in the learning of terminal commands and all that low level stuff. It would still be great to have some idea of how to cure the "file not found" problem at the Boot: prompt as having to hit enter at just the right moment is a real pain!! Cheers....rob Link to comment https://www.insanelymac.com/forum/topic/146184-how-to-boot-after-nvinject-problem/#findComment-1043524 Share on other sites More sharing options...
Recommended Posts