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

Re: Building a kernel



Hi,

you can do it with ordinary make menuconfig; make dep; make bzImage; make
modules; make modules_install, but there is a 'debian' way. Here it is:

# apt-get install kernel-source-2.2.17 kernel-package libc6-dev bin86
libncurses5-dev gcc fakeroot dpkg-dev bzip2

add tk8.2-dev if you want to use xconfig

Then as a user:
$ tar -xIvf /usr/src/kernel-source-2.2.17.tar.bz2
$ cd kernel-soucre-2.2.17
$ make-kpkg clean
$ make menuconfig
$ fakeroot make-kpkg --revision=9:mykernel.1 kernel_image

After compilation, you can install the kernel:
# dpkg -i kernel-image-2.2.17_mykernel.1_i386.deb

Greetz,
Sebastiaan


On Sun, 14 Jan 2001, William Leese wrote:

> Hello all,
> 
> i wish to build a kernel but i've read somewhere that things cant be done 
> quite the same way as with other (rpm-based) distros because it would confuse 
> apt-get. can someone fill me in on this or point me to some debian specific 
> documentation?
> 
> William Leese
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



Reply to: