Kernel re-compile/swap

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Kernel re-compile/swap

Postby jaqian on Tue Sep 22, 2009 6:01 pm

I want to install Mint on my laptop but it uses a weird chip (VIA C3 Nehemiah) and it doesn't like any kernel past 2.6.20-16-lowlatency. I've archived that kernel from my old Freespire install as a tar file. How do I swap out the existing kernel in Mint and replace it with the one I have?

Thanks in advance,
Rob
.
..
...
Computers: Desktop> Dell Dimension 8400 | Netbook> MSI U135DX
Distros: Mint LXDE 11

--------------------------------------------------------
Camera: Sony Alpha α100 (Silver) | Minolta 50mm f1.7
jaqian
Level 2
Level 2
 
Posts: 68
Joined: Tue Jun 30, 2009 8:25 am
Location: Dublin, Ireland

Linux Mint is funded by ads and donations.
 

Re: Kernel re-compile/swap

Postby optimize me on Tue Sep 22, 2009 6:56 pm

I'm not sure you'd want to go that route. If you prefer an older kernel, I'd say your best bet is to go through the versions at a kernel.org FTP mirror, then download and compile the version you want to use.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Kernel re-compile/swap

Postby jaqian on Wed Sep 23, 2009 7:24 am

optimize me wrote:I'm not sure you'd want to go that route.


Well for one I know this kernel works with my laptop and its the newest one that will (so I don't want anything older). Everything after that has a documented kernel bug in how it relates to my laptops processor.

If you prefer an older kernel, I'd say your best bet is to go through the versions at a kernel.org FTP mirror, then download and compile the version you want to use.


Isn't that what I'm trying to do only with the selected kernel? How do I recompile? Do I need to re-build Mint around this processor and make an *
.iso?
.
..
...
Computers: Desktop> Dell Dimension 8400 | Netbook> MSI U135DX
Distros: Mint LXDE 11

--------------------------------------------------------
Camera: Sony Alpha α100 (Silver) | Minolta 50mm f1.7
jaqian
Level 2
Level 2
 
Posts: 68
Joined: Tue Jun 30, 2009 8:25 am
Location: Dublin, Ireland

Re: Kernel re-compile/swap

Postby optimize me on Wed Sep 23, 2009 7:55 am

jaqian wrote:Well for one I know this kernel works with my laptop and its the newest one that will (so I don't want anything older). Everything after that has a documented kernel bug in how it relates to my laptops processor.

And that's fine. I'm not saying there's anything wrong with sticking with a certain kernel version... But you said that you pulled the kernel out of a Freespire install. I'm not sure that a kernel that was compiled, installed, and optimized for a 6 or 8 month old (not sure exactly?) Freespire install will necessarily play nice with the latest Mint.

You're certainly welcome to try it; it's your computer after all. It might even work.. At the very least, you might want to pull an older, unbranded version and make it yourself so you have something to fall back on. IIRC, Mint 7 Main comes default with 2.6.28-11, so that's outside your parameters. If the kernel you have on hand & want to try out doesn't work right, you'll be left with an unbootable system or an unreachable OS, depending on whether or not Mint is the sole OS on the drive. Depending on the option that causes problems with your processor, you may be able to enable a fix or disable the problem from inside the configuration utility.
jaqian wrote:Isn't that what I'm trying to do only with the selected kernel? How do I recompile? Do I need to re-build Mint around this processor and make an *
.iso?

It's not really as hard or as intimidating as it sounds, but it is every bit as time-consuming as you may have read about. There's even an automated script/app floating around out there that will check your kernel version against the current stable release at kernel.org and download & compile it for you after you've run the configuration utility.

Here's all the bookmarks I have on hand about compiling a new kernel, some are geared towards the n00b and some are not.
This one is old but highly instructional.
This one looks old at first, but was last updated around a month ago.
Kernel compilation in a nutshell for a more experienced user.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Kernel re-compile/swap

Postby jaqian on Wed Sep 23, 2009 9:33 am

optimize me wrote:
jaqian wrote:Well for one I know this kernel works with my laptop and its the newest one that will (so I don't want anything older). Everything after that has a documented kernel bug in how it relates to my laptops processor.

I'm not sure that a kernel that was compiled, installed, and optimized for a 6 or 8 month old (not sure exactly?) Freespire install will necessarily play nice with the latest Mint.


Ah right I see what you mean. Sorry I misunderstood.

Here's all the bookmarks I have on hand about compiling a new kernel, some are geared towards the n00b and some are not.
This one is old but highly instructional.
This one looks old at first, but was last updated around a month ago.
Kernel compilation in a nutshell for a more experienced user.


Thanks for that I'll check them out.
.
..
...
Computers: Desktop> Dell Dimension 8400 | Netbook> MSI U135DX
Distros: Mint LXDE 11

--------------------------------------------------------
Camera: Sony Alpha α100 (Silver) | Minolta 50mm f1.7
jaqian
Level 2
Level 2
 
Posts: 68
Joined: Tue Jun 30, 2009 8:25 am
Location: Dublin, Ireland

Re: Kernel re-compile/swap

Postby markfiend on Wed Sep 23, 2009 11:22 am


Hey, cool, I'll try that.

I have a Mint installation on a VM on my work (windows) machine, I'll try it on there before on my own box :lol:
Omnia mutantur, nihil interit.
User avatar
markfiend
Level 4
Level 4
 
Posts: 311
Joined: Wed Apr 15, 2009 2:56 pm
Location: Leeds, UK


Return to Installation & Boot

Who is online

Users browsing this forum: drumBE and 7 guests