LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   MAKE BZIMAGE doesn't work when i try to compile and install new linux kernel (http://www.linuxquestions.org/questions/linux-general-1/make-bzimage-doesnt-work-when-i-try-to-compile-and-install-new-linux-kernel-820730/)

baronobeefdip 07-19-2010 11:13 AM

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

adiehl 07-19-2010 11:46 AM

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'

baronobeefdip 07-19-2010 12:45 PM

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

apnicservices 07-19-2010 12:56 PM

Do you have bzip2 installed?

nitro2010 07-19-2010 04:27 PM

What is the error message you are getting?

baronobeefdip 07-19-2010 08:44 PM

Quote:

Originally Posted by apnicservices (Post 4038374)
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

nitro2010 07-20-2010 12:27 PM

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.

baronobeefdip 07-20-2010 02:46 PM

i tried it again and i was able to copy the errormessage
Code:

make: *** No rule to make target `bzimage'.  Stop.

baronobeefdip 07-20-2010 04:41 PM

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


All times are GMT -5. The time now is 04:43 PM.