Help - Search - Members - Calendar
Full Version: Bzimage
Linuxhelp > Support > Technical Support
Is this the same as vmlinuz?

Im doing this
Once you have done this, exit the menuconfig (don't forget to save). After that run (as root in your /usr/src/linux folder):

make dep && make clean bzImage modules modules_install
With this command you will create a bzImage kernel file in your /usr/src/linux/arch/i386/boot/. The i386 part may change accordingly to your arch. Now you must copy the kernel image to /boot. (in some distros you will have to mount /boot first)

mount /boot # only do this if your /boot partition doesn't get mounted automaticaly
cp /usr/src/linux/arch/i386/boot/bzImage /boot/ # change the to whatever you want your image to be named
After this you will have to edit your lilo/grub settings. For both it should be enough if you use the same data as for the already working kernel. The lilo conf file is in /etc/lilo.conf. After updating it you will have to run /sbin/lilo

For grub you will have to edit /boot/grub/grub.conf. After the changes nothing else is needed. Move on to AGPGart configuration, which is very IMPORTANT!!!

it says to edit grub but not what to edit. Im pretty sure I did some changes and recompiled the kernel cause it took a good 1.5 hours. I see the line in the grub menu pointing to vmlinuz, to boot off the kernel file I compiled I just change that to my file name right? Thanks for any help
You could change the name from vmlinuz to the new kernel name but it is safer to create a new menu item just in case the new kernel doesn't work.

Add to the grub.conf file. Copy your existing default entry but change the name of the kernel to your new one. Similar to the following:
title New kernel (whatever you want)
root (hd0,0) (Shold be the same as your default boot)
kernel /bzImage ro root=/dev/hda2 ...(Same as default except for kernel name)
initrd ....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.