[Gllug] Debian install from a SCSI CD-R drive
Pete Ryland
pdr at pdr.cx
Mon Dec 30 17:57:11 UTC 2002
On Sun, 2002-12-29 at 11:16, Martin A. Brooks wrote:
> At 00:39 29/12/2002 +0000, you wrote:
> >I seem to have hit on a goldmine of Debian information however :-)
> >My next question is, what's the recommended way to upgrade the
> >kernel? For some reason, doing an 'apt-get dist-upgrade' never
> >updates the kernel (possibly a good thing). Do I really need
> >to search out the appropriate packages by hand and 'apt-get install'
> >each one?
>
> There's three schools of thought on this.
>
> 1) Download the kernel tarball and configure/compile it yourself.
> 2) Download the kernel tarball and use the debian kernel package utils to
> install it
> 3) Use generic kernels install via dselect/apt
I can't emphasise enough how useful and easy make-kpkg is.
After untarring your kernel, simply (as an example):
# apt-get install kernel-package # This contains make-kpkg
# cd /usr/src/kernel-source-x.y.z/
# make-kpkg --added-patches=lowlatency,preempt --revision 1 configure
# configure your kernel to your liking...
# make-kpkg kernel_image
# make-kpkg modules_image # Only needed if using debs like alsa-modules
# cd ..
# dpkg -i kernel-image-2.4.20_1_i386.deb # and any module debs
This should deal with everything for you, by creating a package and then
installing your kernel according to the FHS.
Unlike a lot of people I have worked with, I am a big fan of having all
files on a machine accountable by the packaging system, for ease of
maintenance. This method allows you to do this.
BTW, talking of people who don't use packaging systems, does anyone
concur with the opinion that compiling applications like apache and
mysql from scratch is more secure than installing from a (signed)
package? It just seems to be a popular opinion in London at the moment,
but I would tend to think the opposite.
Pete
--
Pete Ryland
http://pdr.cx/
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list