LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-12-2009, 03:21 PM   #1
JonesD1
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 2.6.30.3 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, 04:17 PM   #2
nuwen52
Member
 
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, 07:16 AM   #3
jeromeNP7
Member
 
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.

Linux

Last edited by jeromeNP7; 09-04-2009 at 10:27 PM.
 
Old 08-13-2009, 08:24 AM   #4
brianL
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:
Code:
cp bzImage /boot/vmlinuz-2.6.30.3-i686
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 08:38 AM.
 
Old 08-13-2009, 11:27 AM   #5
JonesD1
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.
 
  


Reply


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 10:36 PM
HELP bzImage NTK Debian 2 08-25-2006 08:01 AM
bzImage!!! BattleAxe_19 Linux - General 2 12-22-2003 10:57 AM
bzImage.. help unmada Linux - Software 2 06-14-2002 12:59 AM
bzimage jnsc Linux From Scratch 13 04-16-2002 03:04 AM


All times are GMT -5. The time now is 10:43 AM.

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