flyfra Posted July 13, 2007 Share Posted July 13, 2007 hey guys, finally i made a big mistake. typed rm *placeofmykernel /mach_kernel instead of cp. Now i cant boot or anything. can i fix this problem without re-installing osx?? i have vista and can boot into it. Link to comment https://www.insanelymac.com/forum/topic/57039-rm-kernel-instead-of-cp/ Share on other sites More sharing options...
Guest Ramm Posted July 13, 2007 Share Posted July 13, 2007 You just deleted your kernel. You can fix it, but you need your Mac OS x86 installation DVD. Boot to your DVD Go to Utilities -> Terminal Type ls (that's L - S) Locate the mach_kernel that's there Type cd /Volumes/ Type ls Find your partition that you need to put mach_kernel back onto, remember it's directory (say it's "Macintosh HD," for now, so the directory would be /Volumes/Macintosh\ HD/ or /Volumes/"Macintosh HD") Type cd / Type cp mach_kernel /Volumes/Macintosh\ HD/ (or sudo cp mach_kernel /Volumes/"Macintosh HD"/) Type chown -R root:wheel /Volumes/Macintosh\ HD/mach_kernel Type chmod -R 644 /Volumes/Macintosh\ HD/mach_kernel Type reboot You don't need to use sudo because the installation disc's Terminal is always in superuser mode. Link to comment https://www.insanelymac.com/forum/topic/57039-rm-kernel-instead-of-cp/#findComment-407524 Share on other sites More sharing options...
flyfra Posted July 13, 2007 Author Share Posted July 13, 2007 confusing about the Macintosh\ HD/ ??? My drive is called osx. so what? Link to comment https://www.insanelymac.com/forum/topic/57039-rm-kernel-instead-of-cp/#findComment-407541 Share on other sites More sharing options...
Guest Ramm Posted July 13, 2007 Share Posted July 13, 2007 The backlash is only used when there is a space in the drive/file/folder name. So the drive called "osx" would just be under /Volumes/osx, because it has no spaces. But say your drive was called OS X, it would be /Volumes/OS\ X/. The backslash is put in front of a space so the Terminal is "prepared" for it, and can interpret it as a space. Otherwise, it would think the volume name was /Volumes/OS. Alternatively, you can put a spaced filename in quotes, like /Volumes/"OS X"/. You simply need /Volumes/osx/, though Link to comment https://www.insanelymac.com/forum/topic/57039-rm-kernel-instead-of-cp/#findComment-407554 Share on other sites More sharing options...
flyfra Posted July 13, 2007 Author Share Posted July 13, 2007 ahhh, well done! Thank you so much!!!! Link to comment https://www.insanelymac.com/forum/topic/57039-rm-kernel-instead-of-cp/#findComment-407574 Share on other sites More sharing options...
Guest Ramm Posted July 14, 2007 Share Posted July 14, 2007 No Problem Link to comment https://www.insanelymac.com/forum/topic/57039-rm-kernel-instead-of-cp/#findComment-407734 Share on other sites More sharing options...
Recommended Posts