Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
when i compiles the new kernel 2.4.19 with command "make zImage" i get a error,
system is too big
make[1]: ***[zImage] Error 1
make[1]: leaving directory `/usr/src/linux-2.4.19/arch/i386/boot´
make: *** [zImage] Error 2I have also tried bzImage, but the system crash when i boot..
/ Thomas
newbie

You cannot compile a kernel with an arbitrary name like 'zimage'. If you get an error when booting with a kernel that you compiled using bzImage then you have misconfigured your kernel. If you post your kernel config options, somebody may be able to help sort out your problems. Not sure of the file name but they should be in a file in /usr/src/linux

The reason is that "zImage" is an older kernel image format, and only usable for kernels up to a certain size. The newer format is for bigger kernels, and called bzImage (for big zimage). So, make bzImage instead.

Oh, and if you're using lilo, make sure you reinstall lilo after putting the new image in place. That's a common cause for crashes. To test the kernel without using a boot loader, get a blank floppy and do cp bzImage /dev/fd0, then boot from that disk.

If you have installed a RedHat 7.x so then make this command:
# cp /usr/src/linux-2.4.18-3/configs/kernel-2.4.18-i686.config initrd-2.5.25.img
/initrd-2.5.29.img
usr/src/linux-2.4.19/.config
After that try to modify this file for your system and do:
# make bzImage
If you are using lilo make 'lilo' command after you modify /etc/lilo.conf.
If you are using grub bootloader isn't necesary to make 'grub-install' command.
Is necesary to put in /boot/grub/grub.conf
some new lines. You have here my 'grub.conf':# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,5)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
password --md5 $1$NPÙD...BLA BLA BLA
title Red Hat 6.2-init 3
root (hd0,10)
kernel /vmlinuz-2.2.14-5.0 ro root=/dev/hda8
title Red Hat Rinux 7.3 (2.5.25)-beta
root (hd0,5)
kernel /bzImage_2.5.25 ro root=/dev/hda7
initrd /initrd-2.5.25.img
title Red Hat Rinux 7.3 (2.5.29)-beta
root (hd0,5)
kernel /bzImage_2.5.29 ro root=/dev/hda7
initrd /initrd-2.5.29.img
title Red Hat Linux 7.3 (2.4.18-3)
root (hd0,5)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda7
initrd /initrd-2.4.18-3.img
title Microsoft Windows 98SE & 2000
rootnoverify (hd0,0)
chainloader +1
title Solaris 8.0 for Intel
rootnoverify (hd0,2)
chainloader +1For example:
- '(hd0,0)' means /dev/hda1 ...
- 'initrd /initrd-2.5.29.img' is in your
/boot partition, not in / !!!
- see 'man mkinitrd' if you want to create a
image file *.imgSorry for details.

Sorry, first command is:
# cp /usr/src/linux-2.4.18-3/configs/kernel-2.4.18-i686.config
usr/src/linux-2.4.19/.configBest Regardes

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |