* Shonne Beavers (shonne_beavers@pvamu.edu) [20010509 19:58]:
I tried that already. The System.map is created as /boot/System.map.
Sigh, I should put this up in pub/people/pthomas ;-) Below is my patch for arch/i386/boot/Makefile. just change to your kernel source directory and then do a 'patch -p0 -i /path/to/diff'. After applying this, you only need to create a new entry in /etc/lilo.conf (or change an existing one) for the new kernel. After that, you can run 'make bzlilo' and it will create a unique kernel and matching System.map *and* call LILO to reflect the change. --- arch/i386/boot/Makefile.old Wed May 9 21:27:43 2001 +++ arch/i386/boot/Makefile Wed May 9 21:39:28 2001 @@ -30,10 +30,14 @@ dd bs=8192 if=$(BOOTIMAGE) of=/dev/fd0 zlilo: $(CONFIGURE) $(BOOTIMAGE) - if [ -f $(INSTALL_PATH)/vmlinuz ]; then mv $(INSTALL_PATH)/vmlinuz $(INSTALL_PATH)/vmlinuz.old; fi - if [ -f $(INSTALL_PATH)/System.map ]; then mv $(INSTALL_PATH)/System.map $(INSTALL_PATH)/System.old; fi - cat $(BOOTIMAGE) > $(INSTALL_PATH)/vmlinuz - cp $(TOPDIR)/System.map $(INSTALL_PATH)/ + if [ -f $(INSTALL_PATH)/vmlinuz-$(KERNELRELEASE) ]; then \ + mv $(INSTALL_PATH)/vmlinuz-$(KERNELRELEASE) $(INSTALL_PATH)/vmlinuz-$(KERNELRELEASE).old; \ + fi + if [ -f $(INSTALL_PATH)/System.map-$(KERNELRELEASE) ]; then \ + mv $(INSTALL_PATH)/System.map-$(KERNELRELEASE) $(INSTALL_PATH)/System-$(KERNELRELEASE).old; \ + fi + cat $(BOOTIMAGE) > $(INSTALL_PATH)/vmlinuz-$(KERNELRELEASE) + cp $(TOPDIR)/System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE) if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi install: $(CONFIGURE) $(BOOTIMAGE) -- Philipp Thomas <pthomas@suse.de> Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany Penguins shall save the dinosaurs -- Handelsblatt about Linux on S/390