site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Wed, 2 May 2007, cristian panci? wrote: thanks rick,i didn't change the gcc i left the 4th version. So i was able to build the kernel,but how can i know if that one that i build is theone running? i called mack_kernel.new instead mach_kernel?uname -a no chance if i want to implement something where do i have to change things? i know that under openbsd is in config and in xnu?? Well, under Darwin8 x86, you can specify an alternate kernel name to the bootstrap, but that doesn't work on a Mac. On the Intel Mac, I've never been able to find out how to get it to boot an alternate name, so I just copy it to /mach_kernel and hope for the best. I do the following: # cp mach_kernel /mach_kernel # gunzip kexts-8K1080.root.tar.gz <-- found on www.macosforge.org # cd / # tar xf <path>/kexts-8K1080.root.tar # cd /System/Library # touch Extensions <-- makes sure it doesn't use the cached ones # reboot <-- and hope I don't have to re-install from CD:-) Someone mentioned that you should do a "make install" to put the correct kexts in place, instead of unrolling kexts-8K1080.root.tar, but I haven't tried that. (Sofar, it has always booted for me, so I'm sticking with what works for me:-) Does anyone know how to get an Intel Mac to boot a kernel with a name other than /mach_kernel? I believe that you can make a PPC Mac boot an alternate name by setting an NVRAM variable correctly, but I don't know how to do that, either. (My only PPC Mac is a laptop with a dead screen. It works fine with a display plugged into the external VGA, but I can't see the boot prompt...) There used to be some notes on this on www.opendarwin.org. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com Good luck with it, rick
participants (1)
-
Rick Macklem