Hello, I was hoping someone could help with a couple of questions about compiling the kernel. I am following mainly two documents, the "The Linux Kernel HOWTO" and the "Low-Latency 2.4.x with ALSA HOWTO" as well as the documentation with the source. Basically the steps I am doing are:
make clean, make mrproper, make clean, make oldconfig,
make xconfig, make dep, make, make bzImage, make modules, make modules_install
Thats all good and I mostly understand whats going on. But next:
From the Kernel HOWTO:
After bzImage is successful, copy the kernel image to /boot directory
otherwise the new kernel MAY NOT boot. You must also copy the config file
to /boot area to reflect the kernel image:
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage.myker.26mar2001
cp /usr/src/linux/.config /boot/config-<your_kernelversion_date>
BUT! From the Low Latency HOWTO:
rm -f /boot/System.map
cp System.map /boot/System.map
rm -f /boot/bzImage
cp arch/i386/boot/bzImage /boot/bzImage-2.4.x
Which one is right? One overwrites the System.map file with a new file, and the other adds a new .config file to /boot. What do these steps achieve? Is one "more correct"? What should the bzImage file be called?
Then it says: "Your old kernel is still INTACT and SAFE at say /boot/vmlinuz-2.0.34-0.6"
The old kernel is called vmlinuz? not bzImage? I thought bzImage was the kernel.
I guess to summarise these questions : What are the important files that come out of compiling the kernel, and where should they go?!!
I really want to learn about the linux kernel, so any help or tips would be really appreciated.