Building the kernel
I was reading through the notes about md and it states
When md is compiled into the kernel (not as module), partitions of type 0xfd are scanned and automatically assembled into RAID arrays.
This leads me to my big question. How do you build RAID into the kernel and not as a module?
I can build the kernel from source with no problems but I do not know how to add things into the kernel.
Any guidance would by greatly appreciated :)
Really? No one knows how to compile the kernel here?
My own favorite kernel build guide has always been this one:
Originally Posted by lonewolff
Digital Hermit - Kernel-Build-HOWTO
I believe it should help you get your task accomplished.
Gentoo always has good helpful pages. You might need to change a few commands around but this should help you figure out what you are doing.
RAID/Software - Gentoo Linux Wiki
Thanks for the reply guys.
The thing is, though, that I need RAID built into the kernel itself (not included as a module). Any ideas on how one would do this? I am a noob wehen it comes to linux.
I have managed to build a kernel from scratch and it works well. But, RAID is included as a module (not built into the kernel directly).
On my Gentoo system, all I need to do is answer Y, N or M for module. I guess it depends on how you launched the kernel config. Did you do make xconfig or make menuconfig?
Mike! You are a life saver. That looks like exactly what I need to do :cool:
Man, I asked this question in many different forums and no one knew the answer.
Thanks heaps, I am compiliing now, so I will let you know.
How to include built-in drivers vs modules in the kernel is covered in the guide that I posted for you above. You really should read it when you get a chance if you will be continuing to build kernels because it's full of good info.
Good luck with that new kernel build... :)
Hi Oz, I am getting there. I now have raid built in to the kernel natively.
But, I'll also take a look at the guide you have posted. Thanks again for your help.