zImage and LILO

From: gopan (gop_kumar_at_hotmail.com)
Date: 12/30/04


Date: 30 Dec 2004 01:12:00 -0800

Hi all,
         I have a doubt regarding the usage of a bootloader (say
LILO). Now, the zImage, if I understand correctly, contains the
 compressed kernel + code for decompression + setup and boot code from
setup.S and bootsect.S. If we copy this starting from the first sector
of a boot device say a floppy, the kernel should come up.

Now, if we use a bootloader like LILO to load the zImage to memory and
transfer control to it, is the control transferred to the beginning of
the zImage? If so will not the bootsect code runs again ??

thanks for any help
gop



Relevant Pages

  • Re: zImage and LILO
    ... >LILO). ... Now, the zImage, if I understand correctly, contains the ... >transfer control to it, is the control transferred to the beginning of ... you'll find the TeX source code to two documents. ...
    (comp.os.linux.development.system)
  • Re: [PATCH] Remove lilo-loads-only-five-sectors-of-zImage-fixup from set
    ... Since version 21, when I took over maintenance from Werner, LILO has been sensitive to the boot protocol in use. ... All versions of LILO since version 21 should be able to correctly handle both zImage and bzImage kernels, ... If the kernel is compiled as a zImage, ... The patch should not alter behaviour for any bootloader that takes ...
    (Linux-Kernel)
  • Re: zImage and LILO
    ... > LILO). ... Now, the zImage, if I understand correctly, contains the ... True for kernel versions until 2.4. ... > transfer control to it, is the control transferred to the beginning of ...
    (comp.os.linux.development.system)