Mailinglist Archive: opensuse (3261 mails)

< Previous Next >
Re: [SLE] Kernel too big error
Hi Philipp,

As I will upgrade to 2.4.3 next week-end, I'll certainly experience this and
give feedback.

So, thanks again,
Cheers,
Filip.


Le Dimanche 1 Avril 2001 21:23, Philipp Thomas a écrit :
> * filip (vhf@xxxxxxxxx) [20010401 21:12]:
> > Very interesting but is your scheme also valid with only scsi card / hard
> > disk ?
> > What about mk_initrd then ?
>
> mk_initrd of cause still has to be called. And if you need an initrd, you
> have to tell mk_initrd which kernel to use and what the name of the initrd
> is going to be. So let's say for a 2.4.3 kernel, I'd call it as
> ' mk_initrd -k vmlinuz-2.4.3 -i initrd-2.4.3'. And of cause you'd have to
> make a matching entry in /etc/lilo.conf.
>
> At least calling mk_initrd could be automated by changing the rule in
> arch/i386/boot/Makefile:
>
> zlilo: $(CONFIGURE) $(BOOTIMAGE)
> 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-$(KERNELRELEASE) $(INSTALL_PATH)/
> if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi
> if [ -x /sbin/mk_initrd ]; then \
> /sbin/mk_initrd -k vmlinuz-$(KERNELRELEASE) -i initrd-$(KERNELRELEASE); \
> fi
>
> Now a new initrd is created automatically when you do 'make zlilo' or
> 'make bzlilo'.
>
> Philipp

< Previous Next >
This Thread
References