Re: Sarge not booting kernel used in links
Hi Gonzalo,
I followed this to make and install the kernel:
# apt-get install debhelper modutils kernel-package libncurses5-dev
# apt-get install kernel-source-2.4.22
# apt-get install fakeroot
# vi /etc/kernel-pkg.conf
$ cd /usr/src
$ tar --bzip2 -xvf kernel-source-2.4.22.tar.bz2
$ cd kernel-source-2.4.22
$ cp /boot/config-2.4.22-1-386 .config
$ make menuconfig
$ make-kpkg clean
$ fakeroot make-kpkg --append_to_version -486 --initrd \
--revision=rev.01 kernel_image \
modules_image
$ cd ..
# dpkg -i kernel-image*.deb pcmcia-cs*.deb
This is from the Debian Reference. I did not touch lilo.conf. At
present lilo.conf still has the original modification date. Also
fakeroot did not work for me and I had to su to root. Permission was
denied to certain files using fakeroot. Also I had installed the Debian
patch for the Tekram dc3x5 scsi controller and set
PATCH_THE_KERNEL=YES.
Thanks,
Jim Seymour
On Sun, Dec 21, 2003 at 02:34:58PM -0300, Gonzalo Sainz-Tr??paga???ga wrote:
> On Sun, 2003-12-21 at 12:49, Jim Seymour wrote:
> > it is booting using the old kernel. How can this be?
>
> Did you build and install "a la debian"? (aka make-kpkg and dpkg -i
> kernel-image)? If you did so then its extrely weird, but you should have
> 2 entries en Lilo now: Linux and LinuxOld. You should boot using "linux"
> obviously.
> If you made the new lilo configuration by hand then it sounds like you
> didnt rerun "lilo".
Reply to: