[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't find /usr/src/linux/..



> I'm probebly stupid but on my debian 3.0 system there is no
> /usr/src/linux
> 
> Is there a package I should install

for compiling your own kernel, i suggest 'the debian way' (tm)

(as root)
# apt-get install kernel-source-2.4.18 kernel-package fakeroot
(now login as normal user, after adding him to group 'src' by doing
something like `adduser hjan src`)
$ cd /usr/src
$ tar -xvjf kernel-source-2.4.18.tar.bz2
$ ln -s kernel-source-2.4.18 linux
$ cd linux
$ make xconfig
$ fakeroot (time) make-kpkg --revision=hendrikjan.0.1 kernel_image
$ make-kpkg clean

now installing your new kernel (as root, of course) is as easy as
# dpkg -i /usr/src/kernel-image-2.4.18_hendrikjan.0.1_i386.deb  

s/2.4.18/2.4.19/ if you want
good luck!

Joris



Reply to: