[darwinbuild] booting xnu 8G32
ritchie
darwinbuild at repentsinner.org
Thu Feb 2 12:57:17 PST 2006
On 06-02-06, at 1545 , Shantonu Sen wrote:
> No BootX changes should be needed to use universal kernels or kexts
>
> What copying program did you use? root:admin is a very serious
> issue. All files produced by the xnu build should be owned by
> root:wheel, not root:admin
>
the files were owned by root:wheel when finished building. I used cp
to copy to /, at which point I re-grouped it in wheel.
> What's the output of "cd /System/Library/Extensions/System.kext &&
> find . -ls"?
>
everything there is owned by root:wheel, though I didn't muck with
anything is System.kext when I installed the kernel, I _only moved
the mach_kernel. however mark pauley's suggestion that the kernel
isn't even being seen is leading somewhere. I was using the kswap.sh
script (http://opendarwin.org/~jpm/naughty/darwin/kswap.sh) to
install the kernel, but apparently it generates a boot-file variable
that doesn't work on this machine (g5 dual2.7). if I copy the system-
installed kernel:
# cp /mach_kernel /mach_kernel.orig
# chgrp wheel /mach_kernel.orig
# kswap.sh --test mach_kernel.orig
this doesn't boot. moving my custom kernel directly to /mach_kernel
_does boot. I'm currently trying to figure out what an appropriate
boot-file argument is for a g5.
thanks for all your help.
best,
r.
More information about the darwinbuild-dev
mailing list