LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2010, 11:13 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
MAKE BZIMAGE doesn't work when i try to compile and install new linux kernel


whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this
 
Old 07-19-2010, 11:46 AM   #2
adiehl
LQ Newbie
 
Registered: Nov 2006
Location: Mannheim, Germany
Distribution: Debian & Ubuntu
Posts: 11

Rep: Reputation: 0
What is the error message?

You should have the following packages to successfully build the kernel:
the source itself: linux-source
for building: build-essential, kernel-package, gcc
for 'make menuconfig': libncurses5, libncurses5-dev

Alternatives to 'make bzimage':
'make-kpkg kernel_image'
This compiles the kernel and creates an installable .deb-Package you can install with 'dpkg -i /usr/src/kernel-image-*.deb'
 
Old 07-19-2010, 12:45 PM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
well lets say that i want to install it on an operating system where the package manager files won't execute correctly and the software repositories won't load how do i install it if i can't use those features
 
Old 07-19-2010, 12:56 PM   #4
apnicservices
LQ Newbie
 
Registered: Jul 2008
Location: London, UK
Distribution: Debian
Posts: 23

Rep: Reputation: 16
Do you have bzip2 installed?
 
Old 07-19-2010, 04:27 PM   #5
nitro2010
LQ Newbie
 
Registered: Apr 2010
Location: Colorado
Distribution: Sidux
Posts: 9

Rep: Reputation: 1
What is the error message you are getting?
 
Old 07-19-2010, 08:44 PM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by apnicservices View Post
Do you have bzip2 installed?
i don't think i do how do i check

the ubuntu software repositories aren't working right now i don't know why but i think i'm going to have to install it from source unless theres an apt-get command to install it

Last edited by baronobeefdip; 07-19-2010 at 08:47 PM.
 
Old 07-20-2010, 12:27 PM   #7
nitro2010
LQ Newbie
 
Registered: Apr 2010
Location: Colorado
Distribution: Sidux
Posts: 9

Rep: Reputation: 1
After you run make bzimage and it fails, there will usually be an error message close by, sometimes you will need to scroll up a few lines to find it.
 
Old 07-20-2010, 02:46 PM   #8
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
i tried it again and i was able to copy the errormessage
Code:
make: *** No rule to make target `bzimage'.  Stop.
 
Old 07-20-2010, 04:41 PM   #9
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
i just wanted to update

i have been reading around several linux sites on the internet and most of the time making the bz image isn't reall necessary and that the kernel can live without it, is this true with debian and ubuntu based systems

i tried to install the kernel in zenwalk under virtualbox to test it out and it worked i restarted the virtual machine and opened a terminal and ran
Code:
uname -r
and it came up as 2.6.34.1 its the current kernel version i was planning on using if only it would work with ubuntu
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compile error (make bzImage) Nick_Stone Linux - Newbie 3 12-28-2006 08:03 PM
Having problem with 'make bzimage' during kernel compile beepee Linux - Kernel 2 11-21-2006 02:50 AM
Cannot compile kernel due to bzImage error zahoo Linux - Software 3 08-18-2005 07:33 AM
trouble make bzImage on kernel 2.6.9 danchiaperini Linux - Software 2 12-01-2004 03:16 PM
'make bzImage' doesn't seem to work KMcD Slackware 6 03-12-2004 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:57 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
Open Source Consulting | Domain Registration