LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel compile (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-compile-22157/)

piranha 05-30-2002 05:45 AM

kernel compile
 
After compiling you need to put your new kernel in lilo or grub. For the older kernels there is always a line with a vmlinuz-kernelversion.img file in it. What is that file? Do you have to create such a file for the new kernel or can the same file be used?

acid_kewpie 05-30-2002 06:36 AM

i'm not really sure what file you actually mean. the kernel itself (e.g. /usr/src/linux/arch/i386/boot/bzImage --> /boot/vmlinuz-2.4.18) or the ramdisk image (/boot/initrd-2.4.18.img)? if it's the latter then you don't normally *need* a ramdisk to boot, but you can create yours using mkinitrd.

Noerr 05-30-2002 10:08 AM

yes copy bzImage to /boot
and make an entry in lilo.conf or grub.conf (depends which one are you using)
all you need to change is image file entry where you put your new filename
and if lilo run
lilo
if grub you're all set

Noerr 05-30-2002 10:08 AM

sorry if grub, make sure to put it as default image if you wanted to have it as default


All times are GMT -5. The time now is 06:35 PM.