Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to get a newer kernel with the ubuntu patches applied (as a deb + related packages - such as headers, since this machine would be best not compiling the kernel for time restraints)? I'd prefer a ppa, if one exists.

share|improve this question
    
@Jorge The edit may be incorrect if Roland wants Ubuntu-specific patchsets applied rather than just rocking a vanilla kernel. Hard to tell. I'll leave Roland to roll it back if that's what he really meant. –  Oli Jan 26 '11 at 1:26
    
yes, I am looking for the ubuntu specific patchsets, as I have tried doing otherwise before and was bitten a few times :P –  RolandiXor Jan 26 '11 at 1:43
add comment

2 Answers

up vote 2 down vote accepted

There's a PPA for mainline kernel builds. You can read all about it on the wiki.

The easiest way to get a more recent kernel is to grab the appropriate deb for your hardware from launchpad and install it.

share|improve this answer
    
these do not contain the ubuntu patches. –  RolandiXor Jan 26 '11 at 13:40
    
I give up trying to find a ppa with the patches, I'll stick with what I have till I can fix my screen. –  RolandiXor Mar 11 '11 at 12:18
add comment

I build my own kernels. Following the "old fashioned way" from the Ubuntu help page makes it a doddle. Most of the time is spent waiting for it to compile (it's big -- 6GB over 80,000 files once compiled). Don't be scared by that. It's a good learning experience.

Other people may suggest "mainline" builds but these are only kept up to date for the latest version of Ubuntu. You can usually just pull these back but pair that with GCC version mismatches and other undesirable things, it's usually just easier to compile it yourself.

I've gone over the steps at least five times on here already, so here's a link to my last effort.

share|improve this answer
    
I would really prefer not to use this method. I build normal software all the time, but for several reasons including what I mentioned in my question I would like to avoid doing this with my kernel until I have another system that I can play around with. –  RolandiXor Jan 26 '11 at 13:40
    
In fairness "getting bitten" doesn't really apply to kernels because you can (and will) have several versions installed alongside each other. If one doesn't work for you, you can just choose an older one in grub at boot. But in terms of getting Ubuntu "specific" patches, you either do it yourself or find somebody making custom kernels (there are several projects and individuals doing this). –  Oli Jan 26 '11 at 15:01
    
My laptop screen is broken, that is why I can't really change kernels on boot so easily :/. Of course I still like to be on the cutting edge and to be able to test new features etc in various parts of the OS etc... So, yeah, I would prefer something that is less likely to cause problems (that would be tricky to fix) –  RolandiXor Jan 26 '11 at 18:54
add comment

Your Answer

 
discard

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.