jschwall Posted July 23, 2007 Share Posted July 23, 2007 Last night I accidentily deleted my mach_kernel. It should still be in my trashcan but I cant log back on to osx. The kernel i deleted was a backup i believe it was in my osx drive folder. Isnt the main mach_kernel systems folder? Anyway has anyone else had a problem with being an idiot and deleting it. Much appreciated John Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/ Share on other sites More sharing options...
NeSuKuN Posted July 23, 2007 Share Posted July 23, 2007 I don't know how to recover files from the recycle bin in the console, but you can always download a new kernel and copy it, the mach_kernel is always in the / folder (the root folder of your installation volume) Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-413611 Share on other sites More sharing options...
Agurchik Posted July 23, 2007 Share Posted July 23, 2007 write in bash this: cd .trash ls -ls if ure now not in ur accounts folder, write this (u can write this if are not in the /users/YOURNAME_OF_ACCOUNT/) cd ~ cd .trash ls -ls or mount -uw / cd /volumes/YOUR_HARDDRIVE_NAME/users/YOUR_ACCOUNT_NAME/ cd .trash ls -ls Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-413616 Share on other sites More sharing options...
roxen Posted July 23, 2007 Share Posted July 23, 2007 Boot from the installer disk and go to Terminal. cd /Volumes/YourDiskName/Users/YourUsername/.Trash/ cp mach_kernel /Volumes/YourDiskName/ Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-413619 Share on other sites More sharing options...
Agurchik Posted July 23, 2007 Share Posted July 23, 2007 Boot from the installer disk and go to Terminal.cd /Volumes/YourDiskName/Users/YourUsername/.Trash/ cp mach_kernel /Volumes/YourDiskName/ before he can cd to the harddrive, he must mount it, so he can find out this by doing this: mount it will display all of that he has (partitions and harddrives) or like this cd /Volumes/ ls than mount the harddrive (or partition) mount -uw Name_Of_The_Partition_Or_The_HardDRive_Name Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-413626 Share on other sites More sharing options...
jschwall Posted July 23, 2007 Author Share Posted July 23, 2007 this is sounding good. when i get home from work ill give each a try. I was hoping this would turn out to be easy. it took me forever to get my os x they way I wanted it Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-413658 Share on other sites More sharing options...
jschwall Posted July 24, 2007 Author Share Posted July 24, 2007 I just installed the kernel from 10.4.9 and everything was back up and running. Thanks for the suggestions Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-414159 Share on other sites More sharing options...
ZildjianAVC Posted January 16, 2011 Share Posted January 16, 2011 Boot from the installer disk and go to Terminal.cd /Volumes/YourDiskName/Users/YourUsername/.Trash/ cp mach_kernel /Volumes/YourDiskName/ would someone please explain how to boot from the disc in the first place? I have this same issue. thanks =) edit: ended up using MacDrive on my Win7 partition to replace the missing files, which fixed my problem. Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-1623674 Share on other sites More sharing options...
Dellmantt Posted January 16, 2011 Share Posted January 16, 2011 would someone please explain how to boot from the disc in the first place? I have this same issue. thanks =) This is a three year old thread so the people may not even be active members anymore. I gave you the link for you to get the terminal commands you need. How did you install, a distro? If so just start with that disc, click through until you see the menus at the top of screen and go to Utilities/terminal. after you have finished with terminal close it and abort the install and restart. Link to comment https://www.insanelymac.com/forum/topic/57914-mach_kernel/#findComment-1623692 Share on other sites More sharing options...
Recommended Posts