Re: kernel upgrading
"Shyamal" == Shyamal Prasad <shyamal.prasad@sbcglobal.net> writes:
"np" == np rpr <np_rpr@yahoo.com> writes:
np> Hi All, I am a new debian user. and am trying to upgrade my
np> machine to 2.4.19, I downloaded the image and tried deb -i
np> kernel-image.. it told me to add initrd=/initrd under vmlinuz,
np> I did that but when I tried lilo.. I got the error that initrd
np> doesn't exist. According to the message I am supposed to edit
np> /etc/kernel-img.conf. But I couldn't find this file?
Shyamal> Some unasked for advice to a new user: please start a new
Shyamal> thread when asking for help or changing topics. Don't
Shyamal> just reply to an existing message. Some of us actually do
Shyamal> use threaded mail/news readers ;-)
Shyamal> When you installed your kernel, it was probably called
Shyamal> something like kernel-image-2.4.18-k7 (for example, this
Shyamal> specific name is the one I am using). The architecture
Shyamal> specific extension -k7 may or may not be there, but the
Shyamal> initrd image has the same naming convention as the kernel
Shyamal> deb file name. The initrd file for the image above is
Shyamal> /boot/initrd.img-2.4.18-k7.
Shyamal> Look in the /boot directory, and use the correct name in
Shyamal> /etc/lilo.conf.
Doh! I'm giving bad advice. *Slap*. These Debian boxen are *so* stable
it's been months since I installed a kernel ;-)
While what I said earlier is correct, the standard Debian install will
link /initrd.img (not the .img at the end) to the correct initrd image
in /boot. So you should check that /initrd.img is a link to a file in
/boot/ that is probably named something like
/boot/initrd.img-2.4.19-586tsc or whatever.
Unless you messed with lilo.conf or your kernel-image .deb is broken,
this should have actually worked the first time. Perhaps you just
missed the .img at the end?
Cheers!
Shyamal
Reply to: