Results 1 to 9 of 9
Hi Guys,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-20-2013 #1
Building the kernel
Hi Guys,
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
- 01-20-2013 #2
- 01-20-2013 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
My own favorite kernel build guide has always been this one:
Digital Hermit - Kernel-Build-HOWTO
I believe it should help you get your task accomplished.oz
- 01-20-2013 #4
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 WikiI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 01-20-2013 #5
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).
- 01-20-2013 #6
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?
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 01-21-2013 #7
Mike! You are a life saver. That looks like exactly what I need to do

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.
Thanks again.
- 01-21-2013 #8forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
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...
oz
- 01-21-2013 #9
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.


Reply With Quote

