LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-27-2002, 08:53 AM   #1
celtic32
Member
 
Registered: Aug 2002
Location: Dublin
Distribution: Rock
Posts: 53

Rep: Reputation: 15
Cool Compiling the kernel...bzImage..


when compiling the kernel and you run ''make bzImage'
the newly complied kernel shold be created and compressed to this directory 'usr/src/linux/arch/i386/boot '
when I do it, it doesnt....
is there anywhere else it could be created or how do I find it?

thanks

R
 
Old 08-27-2002, 10:16 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What architecture do you have?
 
Old 08-27-2002, 10:18 AM   #3
celtic32
Member
 
Registered: Aug 2002
Location: Dublin
Distribution: Rock
Posts: 53

Original Poster
Rep: Reputation: 15
what do u mean?
kernel version is: 2.4.19
distribution: linux rock
i386???

is this what you need
R
 
Old 08-27-2002, 10:34 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What processor do you have? Is your machine a PC or mac or what? That's what I meant, sorry for the confusion.
 
Old 08-27-2002, 10:43 AM   #5
celtic32
Member
 
Registered: Aug 2002
Location: Dublin
Distribution: Rock
Posts: 53

Original Poster
Rep: Reputation: 15
dell precision laptop..
pentium 3 1200mhz
pc
 
Old 08-27-2002, 10:51 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Wow, damn, I thought I was onto something

Are you sure it's not in there? If you are going to /usr/src/linux are you sure the symlink linux is set to your correct kernel version? I would go to the absolute path, and not follow symlinks just to be sure if I were you. So if this is kernel 2.4.19, it would be /usr/src/linux-2.4.19/arch/i386/boot/bzImage

Also, if you are going in there with a GUI fileman, try the command line:
cd /usr/src/linux-2.4.19/arch/i386/boot
ls -l (LS -L but lowercase)

And then see if it's there.

HTH
 
Old 08-27-2002, 10:52 AM   #7
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
And if for some odd reason I am correct, and your symlink is wrong, once you get your system running with your new kernel, and everything is cool, change the symlink to fit your new kernel:
ln -sf /usr/src/linux-2.4.19 /usr/src/linux

Cool
 
Old 08-27-2002, 11:32 AM   #8
celtic32
Member
 
Registered: Aug 2002
Location: Dublin
Distribution: Rock
Posts: 53

Original Poster
Rep: Reputation: 15
the following files are i the /usr/src/linux-2.4.19/arch/i386/boot

Makefile
bootsect.S
compressed
install.sh
setup.S
tools
video.S

however no bzImage
in the src directory are the following:

kernel
linux-2.4.17
linux-2.4.17.tar.bz2
linux-2.4.19
linux-2.4.19.tar.bz
rock-1.5
rock-src

ps.. thanks for the help
 
Old 08-27-2002, 11:36 AM   #9
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I have read that some distros when compiling the new kernels automagically move them to their respective directories for you. So bzImage might be /boot already.

How did you run your kernel compile, and what distro do you have?

Oh wait, I am guessing Rock is your distro, never heard of that one...

What is linux-2.4.19.tar.bz ?

And, Hi! Welcome to LQ even though I am ~11 posts late.

And can you also show me what's in your linux-2.4.19 directory? Thanks.

Cool
 
Old 08-27-2002, 11:47 AM   #10
celtic32
Member
 
Registered: Aug 2002
Location: Dublin
Distribution: Rock
Posts: 53

Original Poster
Rep: Reputation: 15
compiled using:
make menuconfig
make dep
make clean
make modules
make modules_install
make zImage

contents of linux-2.4.19 directory directory:
COPYING
CREDITS
Documentation
MAINTAINERS
Makefile
REPORTING-BUGS
drivers
init
lib
scripts
Rules.make
fs
ipc
README
arch
include
kernel
mm
net


and finally distribution is linux rock
 
Old 08-27-2002, 12:02 PM   #11
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You know, I don't see a System.map file in there, which after each kernel compile I have ever done is in the linux-2.4.xx directory.

I do make bzImage, but that shouldn't matter. Are you doing it as root, or does your user have write-ability in those directories. To be safe I'd do it as root.

And I checked out rock a bit just now, it appears to be a developing distro to develop distros. Cool idea!

But being that, it may put the kernel and System.map directly into /boot for you, I am not sure though.

Check that directory and see if it already put it there for you. Did you get your kernel from the kernel.org? And did you get the whole thing (I would assume a yes to both these questions). If so, I have no idea what's going on if none of those other ideas return zilch. Like I said though, try it with root if you aren't already.

Cool
 
Old 08-28-2002, 02:29 AM   #12
celtic32
Member
 
Registered: Aug 2002
Location: Dublin
Distribution: Rock
Posts: 53

Original Poster
Rep: Reputation: 15
hay there...
you were right... the System.map file is in /boot

all this has been done as root privilage.
i dont know where the kernel actually came from cause it was already on the machine when I got it.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
make bzImage - error with kernel 2.4.26 2mk-master Linux - Newbie 2 03-02-2005 03:28 PM
Kernel compiling process problem. make bzimage fails. RJARRRPCGP Linux - Newbie 2 08-24-2004 04:14 PM
Problems compiling kernel 2.6.8.1 (make bzImage) omegaworks Linux - General 3 08-18-2004 06:54 PM
Cannot cp the bzImage. Help plz first time compiling kernel sendas4 Linux - Newbie 6 07-20-2004 12:48 AM
New kernel and bzImage problems.... Oxy Linux - Software 4 02-21-2004 06:31 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration