Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-12-2009, 02:21 PM   #1
LQ Newbie
Registered: May 2009
Posts: 15

Rep: Reputation: 0
Where is my bzImage

I installed Debian Lenny, as a complete system.
The system is working fine.

Then I downloaded and compiled the latest Linux kernel version in order to replace my older Linux-2.6.26-2-686.

happily I managed to build the bzImage.

For the next README file step, I need to find my older bzImage, and to replace it with the new one, for the grub boot loader.

My question is why can't I find another bzImage file in my system?
If the name is not mandatory (probably that's the case), what should I search for?

Thank you.
Old 08-12-2009, 03:17 PM   #2
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
Check your grub.conf file for the actual name of the kernel file. Different distros may name them differently. But, on most distros I've seen, the kernel should reside in /boot and the grub.conf should reside in /boot/grub.

Also, don't replace the kernel until you know if it works. Until then, create a second entry into the grub.conf file for the new kernel and boot using that. So, if it fails, you can go back to the old kernel to fix the problem.

Another problem is: If Debian is like Gentoo, the /boot directory is not mounted by default (if it is its own partition). So, you would have to do "mount /boot" first.
Old 08-13-2009, 06:16 AM   #3
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
bzImage is just a temporary name. I do not know of any reasonable Linux distribution that uses bzImage as the filename for the built kernel.


Last edited by jeromeNP7; 09-04-2009 at 09:27 PM.
Old 08-13-2009, 07:24 AM   #4
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
You'll need to do something like this, from wherever your bzImage is:
cp bzImage /boot/vmlinuz-
Then write a suitable entry in /boot/grub/menu.lst.
There is probably a "Debian way" of building and installing a new kernel.

Last edited by brianL; 08-13-2009 at 07:38 AM.
Old 08-13-2009, 10:27 AM   #5
LQ Newbie
Registered: May 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you guys.

With your help I found out that the Debian way of storing default grub configuration file is in /boot/grub/menu.lst exactly as the man page on grub declares.

I need to add my new image as another option. I am not going to change the default though.

Now just need to change it carefully, because it contains lots of frightening warnings...

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bzImage oliviapesayco Linux - Newbie 3 06-20-2007 09:36 PM
HELP bzImage NTK Debian 2 08-25-2006 07:01 AM
bzImage!!! BattleAxe_19 Linux - General 2 12-22-2003 09:57 AM
bzImage.. help unmada Linux - Software 2 06-13-2002 11:59 PM
bzimage jnsc Linux From Scratch 13 04-16-2002 02:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration