On Fri, Mar 11, 2005 at 02:53:52PM -0600, Jeff Rasmussen wrote:
> Florin, what does fakeroot do for you?  Does that mean that you can
> compile as a user?

Yes.

> I use this for a guide:
> http://myrddin.org/howto/debian-kernel-recompile.php

Do not put the kernel source under /usr/src. Search Google if you want
to know why.

> Try to use the debian kernel sources if possible.  'apt-get install
> kernel-source-2.6.8'

Why? They are old... USB got significantly better since 2.6.8 for
instance. And I am sure other bugs got fixed in the mainline as well.

And even if you use the debian sources, do not use the debian .config.
It will take hours to compile and you end up with a ton of modules you
have no hardware for.

> tar -jxvf /usr/src/kernel-source-2.6.8.tar.bz2 /usr/src
> cd kernel-source-2.6.8
> cp /boot/config-2.6.6 ./.config

# adapt old changes
make oldconfig

# configure for your machine
make menuconfig

> make-kpkg --initrd --append-to-version -1-686-via --config menuconfig
> kernel_image
> dpkg -i ../kernel-image-2.6.8-1-686-via*

florin

-- 

Don't question authority: they don't know either!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20050311/56ceebdd/attachment-0001.pgp