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

Re: upgrade sarge from 2.0 to 2.6



Andrey Andreev wrote:
<snip>

Here is a neat piece of instructions that matt zagrabelny gave me on this list a while ago:

[quote]

(i use aptitude to install packages, not apt-get, but feel free to use
apt-get if you like)

# aptitude install fakeroot kernel-package kernel-source-2.6.10

and optionally

# aptitude install libncurses5-dev

edit /etc/mkinitrd/ files, (man mkinitrd.conf if need be)
in mkinitrd.conf (i made the following changes):
ROOT=
DELAY=5

add modules to modules file.

add yourself to group src. (log in again)

cd /usr/src/, untar kernel source, cd to source dir.
cp /boot/config-2.6.10-<whatever> .

$ fakeroot make-kpkg clean

the following on one line:
$ fakeroot make-kpkg --append-to-version=.20050224.0 --initrd
kernel_image

note, the append to version can be just about anything, but dont use
dashed or underscores, i think debian proper packages use those. i use
the date and then a zero based number counting the number of compiles
for that day.

# dpkg -i /usr/src/kernel-image-2.6.10-<append-to-version-stuff>.deb

reboot

[/quote]


And adjust your grub or lilo otherwise you're not going to be booting the new kernel :)

On a sidenote, Ron's way of compiling might not be the Debian way, but it's perfectly valid and usable.

Regards,
Benedict



Reply to: