On Sunday 02 March 2003 12:15, Emcek wrote:
On Sunday 02 March 2003 12:06, Joe Morris (NTM) wrote:
On 03/02/2003 06:41 PM, Bram Mertens wrote:
Thx for the tip, I downloaded 3 files: k_deflt-2.4.20-18.i586.rpm kernel-source-2.4.20.SuSE-13.i586.rpm kernel-source-2.4.20.SuSE-13.src.rpm
According to the list of files of the k_deflt rpm contains a file named 'vmlinuz' that will be extracted to /boot/. This would overwrite my existing kernel, is there a way to prevent this?
You will also be replacing the modules that would be needed by that kernel image, so renaming just the vmlinuz file wouldn't accomplish much.
IMO modules from kernel 2.4.19 will not be replaced by 2.4.20.
CORRECTION: modules are deleted, indeed. before making an update just copy /lib/modules/2.4.19-4GB (or your current modules folder) to temporary directory. After updating kernel and modules you can easly rename this folder to appropriate one.
Renaming image and related files in /boot is always a good idea before updating. By renaming old image in /etc/lilo.conf to, say, label = l-2.4.19-115 and adding new [first] image with new installed kernel you will have access to both old and new one at boot.
the same apply to initrd. For example my lilo.conf: boot = /dev/hda change-rules reset read-only menu-scheme = Wb:kw:Wb:Wb lba32 prompt timeout = 80 message = /boot/message image = /boot/vmlinuz label = linux root = /dev/hda2 vga = 791 initrd = /boot/initrd append = "acpi=off" password = xxx restricted image = /boot/vmlinuz_2.4.19 label = linux-2.4.19 root = /dev/hda2 vga = 791 initrd = /boot/initrd_2.4.19 append = "acpi=off" password = xxx restricted optional other = /dev/hda1 label = windows password = yyy optional image = /boot/vmlinuz.shipped label = rescue root = /dev/hda2 vga = 791 initrd = /boot/initrd.shipped append = "ide=nodma apm=off acpi=off vga=normal nosmp maxcpus=0 disableapic 3" password = xxx restricted optional image = /boot/vmlinuz_2.4.19.shipped label = rescue-2.4.19 root = /dev/hda2 vga = 791 initrd = /boot/initrd_2.4.19.shipped append = "ide=nodma apm=off acpi=off vga=normal nosmp maxcpus=0 disableapic 3" password = xxxx restricted optional -- Emcek emcek@poczta.onet.pl --------------r-e-k-l-a-m-a----------------- Tanie bilety lotnicze! http://samoloty.onet.pl