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

Re: Potato 2.2r3 and Kernel 2.2.19 Questions

I would suggest adding the testing source to your /etc/apt/sources.list
and grabbing kernel-source-2.2.19 (version has the security
patches in question).

Edit /etc/apt/sources.list
Add deb http://http.us.debian.org/debian/ testing main 
Save the file.
apt-get update
apt-get install kernel-source-2.2.19

Once you are done, you can take the testing source out.

Unpack the source:
cd /usr/src; tar xIvf kernel-source-2.2.19.tar.bz2
[if you are using a version of bzip2 later than what is in stable, you
will need j instead of I]

Configure your kernel as you usually would (make menuconfig, make xconfig,

Install kernel-package:
apt-get install kernel-package

Use make-kpkg to build your kernel instead of doing it by hand.
make-kpkg buildpackage
[you can pass the --revision and --flavour arguments to make it appear as
something other than Custom_1.00]

Using make-kpkg takes out all of the inbetween steps and leaves you with
a customized kernel-image-2.2.19.

Go up to the parent directory and install your kernel image with dpkg. It
will handle moving your old kernel to a vmlinuz.old link and your new
kernel to a vmlinuz link. The default configuration of lilo knows how to
handle them both and they will both be bootable should you need to revert
to the old kernel. dpkg of course also handles the proper placement of
modules and such as well.

make-kpkg always seemed to be the best way to make your own kernel but
stay debian-friendly to me. It makes a LOT of sense if you have a lot of
boxes that are very similar in hardware.


At 19:09 on Oct 23, eim combined all the right letters to say:

> Actually I'm runnning Potato 2.2r2 on some Debian Boxes which
> I've upgraded to 2.2r3, the Kernel which powers the system is
> still 2.2.18pre21 while for the 2.2r3 Release of Potato it should
> be version 2.2.19
> So, correct me if I'm wrong but Debian Potato 2.2r3 comes out
> with Kernel 2.2.19, right ?
> Well, if so, I want to upgrade from 2.2.18pre21 to 2.2.19, apply
> the "new RAID Style" Patch and the latest security Patch.
> My question is this: Debian's 2.2.19 kernel-source package is
> allready avaiable with the latest Kernel security patch or should
> I download the patch form openwall.com and apply externaly ?
> Thank you for suggestions,
> have a good work !
> Ivo Marino

Reply to: