Custom-built kernel

Javier Aguilar Saavedra malandante at gmail.com
Tue Jul 18 18:27:24 UTC 2006


Installing the new kernel from edgy will require to upgrade some important
packages like libc6, not all packages. If you don't want so, but still want
to get the configuration file from that kernel to build your own,  you can
do this:

- Download the package with apt-get with the -d flag in order not to install
it
- Copy it fom /var/cache/apt/archives/ to wherever you want to
- Extract the archives with dpkg -x; you can find the config file in a boot
directory inside where you have extracted it


To build your own kernel, you can download the linux-source-2.6.17 package
from edgy and proceed to make the debs. This sources include the ubuntu
patches. I don't know what patches are these, but I suppose they must be
useful. You can also download the vanilla kernel from www.kernel.org.
Remeber the useful flags: -d for apt-get and -x for dpkg.



2006/7/18, Pupeno <pupeno at pupeno.com>:
>
> Hello,
>
> On Tuesday 18 July 2006 08:09, Javier Aguilar Saavedra wrote:
> > You can get the configuration files of your installed kernels from your
> > /boot directory. Just copy the config file to .config, add the command
> > --config oldconfig when building with make-kpkg and it will prompt you
> with
> > the new options. You can also add the edgy repository and install a
> kernel
> > from there.
>
> If you add the edgy repository, won't it upgrade all packages to the
> unstable
> versions ? I don't want that. Did you do some apt voodoo ?
>
> > The linux-restricted-modules package may or may not be
> > up-to-date. I installed linux-image-2.6.17-4-amd64-k8 and
> > linux-image-2.6.17-5-amd64-k8 but found no initrd image in the former
> and
> > some problems when building the nvidia driver with the latter, and
> finally
> > only used them to get the config file from /boot and built my own.
>
> On Tuesday 18 July 2006 08:12, Javier Aguilar Saavedra wrote:
> > This is the full command and the flags I use to make the kernel debs:
> >
> > fakeroot make-kpkg --config oldconfig --initrd binary
>
> So, you made debs, that's good. I've tried to make debs of 2.6.17 by
> downloading the sources from here:
>
> http://packages.ubuntu.com/edgy/base/linux-image-2.6.17-5-686
>
> Is that a good path to follow ? What I've found is that it needed, to
> install,
> a newer modutils than the one I have, so I droped that path. How should I
> solve that ? (I really don't want to switch to a fully unstable distro).
>
> Thanks.
> --
> Pupeno <pupeno at pupeno.com> (http://pupeno.com)
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060718/4ddfd1c5/attachment.html>


More information about the kubuntu-users mailing list