Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A definitive guide for building new kernel

0 views
Skip to first unread message

gnu joey

unread,
Sep 15, 2008, 4:53:20 PM9/15/08
to
my distrib is debian v4 - etch. the kernel is 2.6.18.6.
this is like from the 1970s man.
what i want to do is say put in a stable more recent kernel - im looking
at 2.6.26.

lots of pages have seen have suggestions about building the kernel using
some kind of kernel package tool. I dont want to use this tool. I need to
build a kernel that i can then save to a usb stick and put it in the right
place on a different , then install it.

can someone suggest a tried and tested HOW-TO so i can do this please?

Anton Ertl

unread,
Sep 15, 2008, 5:13:53 PM9/15/08
to

As it happens, I have a (cleaned up) transcript of a kernel build:

http://www.complang.tuwien.ac.at/anton/build-debian-kernel.html

I used the tool (make-kpkg), and as a result got a .deb file, which I
can install on other Debian systems, if I want (I could even use a USB
stick for transporting the .deb file).

- anton
--
M. Anton Ertl Some things have to be seen to be believed
an...@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

Sheridan Hutchinson

unread,
Sep 15, 2008, 9:51:00 PM9/15/08
to

Hi Joey,

Lenny is very close to becoming the new stable release for Debian and
Lenny will ship with 2.6.26, so you don't have long to wait long.

If you really must compile your own kernel, I do however recommend that
that you download the source code for 2.6.26 from unstable (sid), as
that has lots of custom patches for Debian. It's not that you can't use
the pristine sources with Debian, it's just that polished Debian source
is IMO a much better bet.

If you're a Debian user who wishes to compile a kernel, for whatever
reason and purpose, then this is pretty much the only guide you'll be
likely to need:

http://kernel-handbook.alioth.debian.org/

All the best.

--
Regards,
Sheridan Hutchinson
Sher...@Shezza.org

signature.asc

Robert Harris

unread,
Sep 16, 2008, 6:30:32 AM9/16/08
to

You can install 2.6.24 from the etch archives with:

apt-get install linux-image-2.6-686-etchnhalf

assuming that you have an intel 32-bit CPU; otherwise run:

apt-cache search etchnhalf

to see all the pre-built images.

Robert

gnu joey

unread,
Sep 17, 2008, 9:57:47 AM9/17/08
to
On Mon, 15 Sep 2008 21:13:53 +0000, Anton Ertl wrote:

> gnu joey <gnu...@home.net> writes:
>>my distrib is debian v4 - etch. the kernel is 2.6.18.6.
>>this is like from the 1970s man.
>>what i want to do is say put in a stable more recent kernel - im looking
>>at 2.6.26.
>>
>>lots of pages have seen have suggestions about building the kernel using
>>some kind of kernel package tool. I dont want to use this tool. I need to
>>build a kernel that i can then save to a usb stick and put it in the right
>>place on a different , then install it.
>>
>>can someone suggest a tried and tested HOW-TO so i can do this please?
>
> As it happens, I have a (cleaned up) transcript of a kernel build:
>
> http://www.complang.tuwien.ac.at/anton/build-debian-kernel.html
>
> I used the tool (make-kpkg), and as a result got a .deb file, which I
> can install on other Debian systems, if I want (I could even use a USB
> stick for transporting the .deb file).
>
> - anton

yes thanks. i will refer to these instructions next time.
i spent a few hours following the readme in the kernel-packages with what
i found on a webpage. i got the latest kernel installed and now running
(linux-2.6.26.5)as a debian package. this was a test to get to see the
procedres involve. i did not like the gconfig gtk menu interface at all. i
used the menuconfig one. although it did not have any explanations, it was
fast. i did not spend time stripping too much out on this first build.
next time i will look carefully at every single option and select only
those for optimising my hardware..
i was supprised at how easy the steps were to do this and was glad it
worked first time. But i was suprised it took such a long time - 2 hrs or
so to configure & compile.

gnu joey

unread,
Sep 17, 2008, 10:18:21 AM9/17/08
to
On Tue, 16 Sep 2008 02:51:00 +0100, Sheridan Hutchinson wrote:

> If you're a Debian user who wishes to compile a kernel, for whatever
> reason and purpose, then this is pretty much the only guide you'll be
> likely to need:
>
> http://kernel-handbook.alioth.debian.org/

i have looked at this online and its what i need. do you know where i
might be able to download a copy of this online guide? I cant seem tofind
any links in google and it would help me to have a local copy - if my
system went offline.

Sheridan Hutchinson

unread,
Sep 17, 2008, 12:20:55 PM9/17/08
to
gnu joey wrote:
> i have looked at this online and its what i need. do you know where i
> might be able to download a copy of this online guide? I cant seem
> tofind any links in google and it would help me to have a local copy
> - if my system went offline.

What I would use is the recursive option of wget to download the whole
thing, then you can look at it offline in your local browser.

man wget

signature.asc

Hadron

unread,
Sep 17, 2008, 8:54:25 PM9/17/08
to
Sheridan Hutchinson <Sher...@Shezza.org> writes:

> gnu joey wrote:
>> i have looked at this online and its what i need. do you know where i
>> might be able to download a copy of this online guide? I cant seem
>> tofind any links in google and it would help me to have a local copy
>> - if my system went offline.
>
> What I would use is the recursive option of wget to download the whole
> thing, then you can look at it offline in your local browser.
>
> man wget

I would recommend httrack or webhttrack.

http://www.httrack.com/

Much simpler and easier to configure.

0 new messages