Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to restore mach_kernel after I deleted it? OS 10.5.8

Hi all,


I stupidly deleted the mach_kernel file and didn't realise its importance until I started the laptop up to find it would not reboot. I am running 10.5.8. I have been advised that in theory the deleted file should still be sitting in my recycle bin, is that right? If this is the case can I connect my hard drive to another computer and simply drag and drop it back to its location. Will this work and then allow me to start up the mac as normal.


Any help that can be passed over would be much appreciated. I am a computer and for that matter mac novice and I'm not being modest so please go easy.

Mac OS X (10.5.8)

Posted on Jan 17, 2014 12:26 PM

Reply
16 replies

Jan 17, 2014 1:53 PM in response to Radishhartley

If you dragged it to the Trash and your Mac has not been corrupted or modified it should still be there. However if you deleted it via a Terminal command it will have been permanently lost.


You may need to use something like the following in 'Go to Folder':


/Volumes/volume-name/Users/user-name/.Trash/


Please return here if you have any difficulties.

Jan 18, 2014 7:45 AM in response to Niel

Niel wrote:


Press the Command and S keys at startup.



Have you tried this with a missing mach_kernel ?


I have been experimenting;


  1. I used Invisibility Toggler
  2. dragged mach_kernel to Trash
  3. restarted holding cmd s


The result was that it ignored my normal boot volume and booted into another one. Thereafter only option key at start or OS 9 would allow me to select the volume with a missing mach_kernel but each time it started in the wrong volume. After several experiments I logged into another volume as root and returned mach_kernel. All corrected now.


I have multiple volumes and am not sure what happens with only one volume.


I will investigate further but there may not be a simple practical answer for the OP.


I would like to know how the OP was able to move an invisible item to the Trash in the first place.

Jan 25, 2014 3:23 PM in response to Neville Hillyer

Sorry for my delay, I have been away.


To answer your questions above:


The OS is 10.5.8 and it is not a mac but a samsung nc10


I am currently back packing in Panama so do not have anything with me. But I'm sure I could get access to a Mac if that would somehow help.


I don't have any back ups


The kernel icon suddenly appeared which is why I deleted it - stupid I know


Do you think I will be able to connect to another mac and somehow read the hard drive and pull the mach_kernel file out of the trash?


Thanks in advance!

How to restore mach_kernel after I deleted it? OS 10.5.8

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.