Page 1 of 1

ZFS on main vol

PostPosted: Thu May 11, 2017 8:45 am
by Markospokus
Hi,

I'm doing this as described in docs on O3X but the command for generating prelinked kernel doesn't work (nothing prelinked gets generated), can anyone give me a hint how to do it? I'm replacing volumes' names with the ones from my installation.

Thanks
Mark

Re: ZFS on main vol

PostPosted: Tue May 16, 2017 4:30 pm
by lundman
Does it give any output or errors when you run it? I have at times needed to delete the prelinked kernel to make it generate again.

Re: ZFS on main vol

PostPosted: Sun Jul 02, 2017 9:15 am
by Markospokus
None, I created /Volumes/MacExtHD/System/Library/Kernels because I didn't have this folder, I think I also had to create /Volumes/MacExtHD/System/Library/PrelinkedKernels; I'm using:

Code: Select all
sudo kextcache -arch x86_64 -local-root -volume-root /Volumes/MacExtHD -kernel /Volumes/MacExtHD/System/Library/Kernels/kernel -prelinked-kernel /Volumes/MacExtHD/System/Library/PrelinkedKernels/prelinkedkernel -- /Volumes/MacExtHD/System/Library/Extensions /Volumes/MacExtHD/Library/Extensions /Volumes/BootHelp/Library/Extensions

both folders are empty, no confirmation nor error msg, I looked in Console and it just says that I ran this command; I tried sudo kextcache -u /Volumes/MacExtHD and there is in Console that it creates /Volumes/MacExtHD/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache but on wiki it says for the prev command "Generate caches for kernel" so not kernels? - so how to do that?