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

Re: problem compiling kernels



On Sat, 20 Jan 2001 21:57:52 -0500, Jonathan D. Proulx said:

>  
>  Package fails to spend adequate time reading documentation :)
>  
>  I'm sure there's bugs since it's software, but that's not the problem
>  I'm having just to lazy to RTFM, as I have another way to do what I
>  need.

I have just picked up on this thread, so excuse me if I am not answering your
question!

The Debian way of compiling the kernel is *so* easy. What I do is this:

Unpack the kernel source into /usr/src
Change the name of the dir (if necessary) to something like 'kernel-2.4.0' then
symlink it to /usr/src/linux ('ln -s /usr/src/linux-2.4.0 /usr/src/linux'
Cd into /usr/src/linux and do the usual 'make xconfig' as root. 
Save the configuration.
Enter 'make-kpkg kernel_image -revision=custom.1.0'
When this has finished you will have a Debian package of your kernel in
/usr/src.
Simply install the package 'dpkg -i
kernel-image-2.4.1-pre8_custom.1.0_i386.deb'

You may need to rename /lib/modules/whatever - but kernel-package will halt and
prompt you to do this if necessary. It will even set up lilo and offer to make
you a boot disk.

It is very handy to have a .deb of the kernel you have rolled - makes it so
easy to have different versions available, and to roll back if you need to.

-- 
Phillip Deackes
Using Storm Linux 2000



Reply to: