![]() |
OSX broke after trying to change mach_kernel
Well I became impatient and thought that a file I had was voodoo. So I replaced my current Mach_Kernel with the file that I thought was voodoo but I guess it wasn't....
ANYWAYS now when I start up OSX86, my screen just flashes before it even goes through any of the "code" stuff and restarts.... Am I completely screwed or is there any way to fix it... =/ |
Depends. What distro did you use and did it offer a option for kernel installation? If so, only install the kernel OR you could copy the kernel that boots your installation disc right to your startup disk.
Boot the DVD to the installer, then run terminal.app. It's under Utilities in the installer menubar. cp /mach_kernel /Volumes/<startup disk name> Example: cp /mach_kernel /Volumes/iMac If your startup disk has a space in it's name, it's as follows: cp /mach_kernel /Volumes/Macintosh\ HD Also, I would suggest that when you first start terminal, you do the following: ls / This will show you a list of all the files in the root of the DVD filesystem. This way you know exactly the name of your kernel (some install DVD's have things like mach_kernel.voodoo as the kernel name). If the name is not mach_kernel, then just use the right name and it will most likely work and allow you to boot your system again. |
Thank you for the detailed walkthrough.
I did all the steps and this is what I got? http://i116.photobucket.com/albums/o...i/DSC00019.jpg I started up my HD and its doing the same thing. Did I do something wrong? I am very greatfull for the support so far |
read carefully he says:
Code:
cp /mach_kernel /Volumes/<startup_disk_name>/ |
You may also use quotes around names with spaces.
/"Folder with space"/file.txt Is equal to this /Folder\ with\ space/file.txt When you do get back up and running I would recommend making a backup copy of the kernel that works so that in the case that this happens again you can boot using the option -v mach_kernel.backup to load the original Code:
cp -R /mach_kernel /mach_kernel.backup |
@eric2red
I'm not seeing what I did wrong? Isn't my startup disk what I named my Hardrive? http://i116.photobucket.com/albums/o...cture1-8-1.png |
Quote:
Code:
cp /mach_kernel /Volumes/OSX\ HD/ |
Oh my god thank you soooo much! Now my system actually loads. BUT It's stalling at this part and won't boot any further.
http://i116.photobucket.com/albums/o...i/DSC00044.jpg I have no idea what USBF is? My guess is it has to do with my USB er something but Idk whats up with it? |
try booting with "-x" (safe boot), so u can see if it really boot.
And i see in your screenshot something message about PS2Nub kext, so if you have both mouse and keyboard through usb ports, then i think u can erase that kext, just to fix issues. |
the booting with -x didn't change anything. same exact screen.
any other ideas? |