Hello Ed!
Thursday June 29 1995 20:56, Ed Learned wrote to All:
EL> I haven't been able to find any documentation that makes sense
EL> on what exactly zImage, vmlinux & vmlinuz are.
As I understand it, it's just a naming convention - they're all the same file.
I suspect that vmlinux is an unpacked vmlinuz and isn't used anymore, as the
unpacked version hasn't fit in memory for some time (just a guess).
EL> I know when I
EL> compile a new kernel, zImage is created in
EL> /usr/src/linux/arch/ie86/boot
EL> I've been moving this file to /vmlinuz, and marking it as an
EL> executable. I then run /etc/lilo/install to mark it bootable.
EL> This works, but I wonder if it is right, and what exactly the
EL> three files are. The vmlinux exists in /usr/src/linux.
I just run 'lilo' from the command line after installing the kernel and it
works fine. Also, there is apparantly no need to flag it executable. On my
system i have /vmlinuz set with the protection bits -r--------. As for where
the kernel is reproduced has changed over time, I suspect, as the kernel
developement procedures have matured.
EL> In one piece of documentation I read, it states that the
EL> zImage is dropped into /usr/src/linux as well, though as
EL> stated above, this is not the case in my system.
EL> If someone could explain this, or point me to a current doc
EL> that explains this well, I'd be very grateful.
In the README file in the kernel source directory, it is explained what happens
and what is produced and where. Other than that, I might suggest the LDP doc
about kernel hacking. I can't say anything about the contents, as I haven't
read it myself (lack of interest for the moment...).
-------------------------------------------------
| Physical: Michael Olofsson |
-------------------------------------------------