Re: 2.6 kernel install tutes
From: Andy Fraser (andyfraser31_at_hotmail.com)
Date: 04/29/04
- Next message: Mark Bergman: "Re: System Time advances 1 hour each bootup; /etc/localtime linked to non-mounted file?"
- Previous message: Davide Bianchi: "Re: Retrieving emails from one server to another using POP3"
- In reply to: Mike H: "Re: 2.6 kernel install tutes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 14:09:04 +0100
In comp.os.linux.setup, Mike H uttered these immortal words:
>> You'll need a more up to date modules-init-tools among others to get a
>> 2.6 kernel working with Woody. I use Sid and don't know how to get a 2.6
>> kernel working with Woody short of adding an unstable APT source and
>> getting the required updates from there. Doing this /could/ break your
>> system. There may be backports available too. Just Google and see.
>>
>> The information here works for creating my own kernel 2.6 deb packages
>> (even though it talks about 2.4, it'll make a 2.4 deb with Woody though)
>> but won't help you at the moment I guess:
>> http://www.debian.org/doc/manuals/reference/ch-kernel.en.html
>
> Jeez, you really know how to cheer up a fella don't you?
Sorry mate.
> Thanks for the warning. This is my play machine so if it breaks, it
> breaks. If Murphy's Law holds true, updating modules-init-tools is
> going to require updating something else too...
If you're not worried about breakage you could try this:
Add an unstable source[0] and run "apt-get update" then "apt-get install
kernel-image-2.6-<CPU> -s" where <CPU> is either 386, 686 or k7. The -s
switch will show you what APT would do but won't do it so won't break your
system. That'll show you what you need to upgrade or install.
If you're feeling brave you can remove the -s switch and see if you can run
a stock Debian 2.6 kernel. You get the advantage that you'll have a working
config file to play with when building your own kernels too. Debian patch
their kernels so it's safer to use their kernel-source packages for your
custom kernels and use the method from the URL above to build a deb
package.
If this works you'll need to track unstable for the new packages to keep
them up to date. Read the APT docs on Debians site for more info on doing
this without upgrading your whole system.
If you're not feeling so brave the apt-get line with the -s switch will give
you some idea of what backported packages to look for. This is the safer
option.
Remember to either remove the unstable deb line from sources.list or
configure APT properly otherwise you could end up accidentally upgrading
things you don't want upgraded.
I hope I haven't missed anything. As with all things Linux related there's
probably a better way to do this and as I said I've never done this. This
is not intended to be a comprehensive guide.
[0] Basically copy a stable deb line in sources.list and change stable to
unstable. "testing" will work too. Testing has a 2.6.3 kernel while
unstable has a 2.6.5 kernel. You may need to comment out all the stable
lines or configure APT if you get errors.
-- Andy.
- Next message: Mark Bergman: "Re: System Time advances 1 hour each bootup; /etc/localtime linked to non-mounted file?"
- Previous message: Davide Bianchi: "Re: Retrieving emails from one server to another using POP3"
- In reply to: Mike H: "Re: 2.6 kernel install tutes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|