Hi, It seems this scenario is assuming that I have the sources. But, I beleive I have binaries rpm... Is it possible? The file I downloaded is: k_deflt-2.4.13-3.i386.rpm. I thought the sources were in another file (kernel_source-2.4.13-3.i386.rpm, if I remember well...). Now I need even more help before I make first step... Thanks again rms Dave Smith wrote:
On Thu, Nov 01, 2001 at 05:13:55PM +0100, rms@telekom.yu wrote:
Hi SuSE list!
I currently use SuSE 7.2 with kernel 2.4.4.
I would try to make a kernel update, but since it's my first attempt to make it, I would appreciate if somebody helps me with a short description of the most important steps.
First, I downloaded k_deflt-2.4.13-3.i386.rpm from /people/mantel . Is it correct?
Yes.
Also, do I need any other files?
I don't think so. I don't think that 2.4.4 -> 2.4.13 requires a modutils update, although someone here will surely correct me.
Then, how to perform a "minimum risk" installation? What I need to take care of? What to backup, if any? Etc...
If you're paranoid, take a copy of the directory pointed to by the /usr/src/linux link (although it's big...), and /lib/modules/<kernel version>
Do take a copy of /boot/vmlinuz and /boot/vmlinuz.suse. You may find these two files in the root directory (/) if you don't have a /boot partition.
At the moment, at boot time, I have lilo menu with "linux" and "suse" options, pointing to images vmlinuz and vmlinuz.suse. Is it possible to install new kernel in such a way that it just gets added in lilo menu to the old ones, and than to choose which one I want to boot into?
Yes. Edit either your /etc/lilo.conf manually, or add it as another option with YaST.
E.g, to have three options: "linux2.4.13", "linux" and "suse"...
But, even if it's not possible, I still need short step-by-step guide.
##Install the package
##move the /usr/src/linux link to point to the new version
##cd /usr/src/linux
make config # or make menuconfig # or make xconfig
##(the first option is a simple text interface, the second is a semi-graphical ##(but still text-based) menu interface, and the third is an X-based graphical ##interface).
##Select the options you want
##Save and quit
make clean; make dep; make bzImage
cp arch/i386/boot/zImage /boot/vmlinuz.2.4.13 (or something like that)
make modules; make modules_install
mk_initrd (if you need an initrd)
##make sure that your lilo config setup is correct
lilo
##check the output
shutdown -r now
## enjoy your new kernel.
-- David Smith Tel: +44 (0)1454 462380 (direct) STMicroelectronics Fax: +44 (0)1454 617910 1000 Aztec West TINA (ST only): (065) 2380 Almondsbury Home: 01454 616963 BRISTOL Mobile: 07932 642724 BS32 4SQ Work Email: Dave.Smith@st.com Home Email: David.Smith@ds-electronics.co.uk
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com