Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to re-compile my kernel with some changes. Is it possible to make the necessary changes and retain ubuntu updaes for my kernel?

Thanks, Digvijay

share|improve this question
Welcome to Ask Ubuntu. Please edit and redefine your question. The way in which it is written is confusing and may not receive any answers. – Ringtail Mar 24 '12 at 3:47
What changes do you need to make? If it's a single kernel module that needs a small change which is compatible with Ubuntu' kernel, you can use DKMS to keep it updated with each kernel upgrade. – Lekensteyn Mar 25 '12 at 9:52

In case you compile your own kernel it won't be possible for you to automatically receive upgrades, and still retain your modifications.

If you really need a modified kernel my suggestion would be to clone the appropriate Ubuntu git kernel repo. That way, whenever there are important (security) upgrades available, you can merge those changes with your local modifications, and build a new kernel from that.

See for info on available repositories.

share|improve this answer
Thanks alot for the info! – digvijay91 Mar 25 '12 at 13:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.