mrcardboard Posted August 8, 2008 Share Posted August 8, 2008 I have a P5W DH Deluxe with Asus EN 7300GT... I HAD everything working on 10.5.4 except QE so I was trying to find some kexts that would help the situation.. Well needless to say the ones I tried didn't help at all. I can only boot to single user but I am not very advanced when it comes to Bash and I don't know how to take them out and replace them with my backups that are on another drive in my Computer. Any help with the bash commands I would need to use to get up and running again would be greatly appreciated.. ohh i used kalyway 10.5.1 then upgraded from there. Thanks Link to comment https://www.insanelymac.com/forum/topic/120044-bad-kexts-and-nothing-i-do-helps/ Share on other sites More sharing options...
thegodfaza Posted August 9, 2008 Share Posted August 9, 2008 To remove files rm -rf file.kext Be warned that this command is unforgiving. If you mistype then you could loose your info. To move files mv -f file1 file2 To copy files cp -R file1 file2 To change Directories cd directory To list the files and directories of the folder your currently in ls EDIT: Forgot about the permissions To repair file permissions chmod -R 755 file.kext then chown -R root:wheel file.kext Then you have to reload your kexts. You can either boot with the -f flag or you can delete /system/library/extensions.kextcache. Link to comment https://www.insanelymac.com/forum/topic/120044-bad-kexts-and-nothing-i-do-helps/#findComment-849786 Share on other sites More sharing options...
Riley Freeman Posted August 9, 2008 Share Posted August 9, 2008 I can help you some of the way. I messed up a fair few times with replacing kexts and with quiet boot/no timeout set I had to boot into the leopard install disk and run terminal from there to fix things. To change to the directory containing the bad kext: cd /System/Library/Extensions To view the contents: ls To delete a rogue kext: rm -rf itsallmyfault.kext You should also delete the extensions.mkext in /System/Library too. To restore the good kext: cp -r "/Volumes/Other Drive Label/Backup/original.kext" /System/Library/Extensions I don't know how to repair permissions yet though. Link to comment https://www.insanelymac.com/forum/topic/120044-bad-kexts-and-nothing-i-do-helps/#findComment-849790 Share on other sites More sharing options...
mrcardboard Posted August 9, 2008 Author Share Posted August 9, 2008 Thanks!!.. The only problem I still need to work out is how to mount my other drive. It is called Storage in my Volumes Directory but I don't know how to mount it properly.. If i can get that down I should be good to go Link to comment https://www.insanelymac.com/forum/topic/120044-bad-kexts-and-nothing-i-do-helps/#findComment-849952 Share on other sites More sharing options...
thegodfaza Posted August 9, 2008 Share Posted August 9, 2008 If it's in your storage directory then it's already mounted. Else, if you want to mount something sudo mount -t file_system_type /dev/device /path_to_mount_point Example: sudo mount -t ntfs /dev/sda1 /Volumes/Windows Link to comment https://www.insanelymac.com/forum/topic/120044-bad-kexts-and-nothing-i-do-helps/#findComment-850081 Share on other sites More sharing options...
Recommended Posts