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

Re: building a KERNEL?!



On 14-Mar-2001 ktb wrote:
> On Wed, Mar 14, 2001 at 02:30:03AM -0500, Mark Livingstone wrote:
>> Re,
>> 
>> what's the best way to build a kernel in Debian? or should i unpack the 
>> sources and do it as i used to do it in slackware?
>> 
> 
> You can do it how you like but I would encourage you to try it the
> debian way.  This should get you started -
> http://www.debian.org/doc/FAQ/ch-kernel.html

In a nutshell:

fetch linux-X.Y.Z.tar.[gz/bz2]
put it in /usr/src, unpack, make (x)(menu)config, yada yada
apt-get install kernel-package
make-kpkg --revision Custom.1.00 kernel_image

If you make changes to your kernel, you might want to increase its debian
revision:

make-kpkg clean
make-kpkg --revision Custom.2.00 kernel_image

And so on.

After everything has compiled successfully:

cd ..
dpkg -i ./kernel-image*.deb (assuming this is your first custom kernel, of
course)

Answer the simple questions, done.

> kent
> 
> -- 
>  From seeing and seeing the seeing has become so exhausted
>      First line of "The Panther" - R. M. Rilke
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Carlos Laviola - ICQ 55799523
pub  1024D/3516D372 2000-06-05 Carlos Laviola <claviola@ajato.com.br>
     Key fingerprint = 3BE1 6591 C78C 2AA4 31DD  AEEF 6406 0227 3516 D372

Attachment: pgpNr4sZj_kf0.pgp
Description: PGP signature


Reply to: