On Tue, 06 Feb 2001 12:31:25 Damon Muller wrote:
> Quoth Renai, 
> > a quick question. I have Woody, and I want to install the 2.4 kernel. 
> > I'm familiar with the kernel building procedure, but are there any 
> > Debian localisations that I should be careful of/use when I'm installing 
> > the new kernel?
> 
> With the proper modutils ( >= 2.4.1), I was able to build it (with
> kernel-package) with no problems. You'll need some extras if you want to
> run devfs (devfsd) or reiserfs (reiserfsprogs), but if you don't want to
> do anything too exciting, it should just work.
> 

Then again, you can save yourself from all those kinds of potential trouble
with make-kpkg. It builds debian packages from the kernel source.
I normally use something like:

Brand new kernel:

cd /usr/src
tar xjf archive/linux-2.4.0.tar.bz2
bunzip2 -c archive/patch-2.4.1.bz2 |patch -p0
mv linux kernel-source-2.4.1
ln kernel-source-2.4.1 linux
cd linux
make menuconfig
sudo make-kpkg --revision computername.0 kernel-image
cd ..
sudo dpkg -i kernel-image_2.4.1_computername.0_i386.deb
(fix up the lilo settings as I don't agree with the defaults, then run lilo.)

Later reconfiguration:

cd /usr/src/linux
make menuconfig
sudo make-kpkg clean 
sudo make-kpkg --revision computername.1 kernel-image
cd /boot
mmv "*.2.4.1" "#1.2.4.1.0"
cd /lib/modules
mv 2.4.1 2.4.1.0
sudo dpkg -i /usr/src/kernel-image_2.4.1_computername.1_i386.deb
(fix up the lilo settings as I don't agree with the defaults, then run lilo.)


(Any perfections would be appreciated.)

--
Definition of a geek:
"I think, and I can't do anything about it."

Harald Thingelstad


Reply via email to