How to edit a kernel?

view full story

http://androidforums.com – Hey guys, I was just wondering how do i edit a CDMA kernel. I want to edit a CM7 kernel to support loop for installing ubuntu. Since no one has the capabilites on XDA to help me find a kernel, I'll just edit one myself. So can someone find a tutorial on how to edit a CM7 kernel, and please define to me on how to add "LOOP" to it? Thank you so much everyone. (General)