Unix Technical Forum

No bzImage

This is a discussion on No bzImage within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> New to Gentoo, I installed per instructions and compiled my own kernel and everything went well. I then did ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 05:31 AM
Doug
 
Posts: n/a
Default No bzImage

New to Gentoo,

I installed per instructions and compiled my own kernel and everything went
well. I then did the "make dep && make clean bzImage modules
modules_install" and then tried the next step "cp
/usr/src/linux/arch/i386/boot/bzImage /boot" Guess what, no bzImage. I tried
"make dep && make clean bzImage modules modules_install" two more times
still nothing.

What am I missing.

Doug


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 05:31 AM
AthlonRob
 
Posts: n/a
Default Re: No bzImage

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On Sat, 1 Nov 2003 19:51:49 -0600, Doug <dsommer@NOSPAM.sommer.gotdns.com> wrote:
> New to Gentoo,


Welcome. :-)

> I installed per instructions and compiled my own kernel and everything went
> well. I then did the "make dep && make clean bzImage modules
> modules_install" and then tried the next step "cp
> /usr/src/linux/arch/i386/boot/bzImage /boot" Guess what, no bzImage. I tried
> "make dep && make clean bzImage modules modules_install" two more times
> still nothing.


That's odd -

You don't need to run through the whole thing again like that. Are
there any error messages that pop up as you go along?

What all appears in /usr/src/linux/arch/i386/boot/?

Try make bzImage all by itself and see if there are any errors that
appear.

Just to be sure, you're working with a kernel source inside
/usr/src/linux, right? I mean, if you're working in
/usr/src/linux-2.4.22 with no symlinks to /usr/src/linux, the file won't
be there and you need to redirect accordingly.

Let us know what's happening...

--
Rob | If not safe,
Email and Jabber: | one can never be free.
athlonrob at axpr dot net |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/pHPrhm6KEoOOAe0RAnWjAJ9Z1mxl46jLIAeXDyOUeNOReUovEQ Cg3X1T
1SucmQhxJuR3e+fVzVRgIXY=
=p2Y5
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 05:31 AM
Jason
 
Posts: n/a
Default Re: No bzImage

You're using a capital "I", right? I ask because I spent about an
hour a few weeks ago trying to figure out why my kernel wasn't being
built correctly and I was typing "bzimage" instead of "bzImage". The
worst part is that I've been using Linux for a few years and I've done
more kernel builds than I can remember...

On Sat, 1 Nov 2003 19:03:05 -0800, AthlonRob <junkmail@axpr.net>
wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>NotDashEscaped: You need GnuPG to verify this message
>
>On Sat, 1 Nov 2003 19:51:49 -0600, Doug <dsommer@NOSPAM.sommer.gotdns.com> wrote:
>> New to Gentoo,

>
>Welcome. :-)
>
>> I installed per instructions and compiled my own kernel and everything went
>> well. I then did the "make dep && make clean bzImage modules
>> modules_install" and then tried the next step "cp
>> /usr/src/linux/arch/i386/boot/bzImage /boot" Guess what, no bzImage. I tried
>> "make dep && make clean bzImage modules modules_install" two more times
>> still nothing.

>
>That's odd -
>
>You don't need to run through the whole thing again like that. Are
>there any error messages that pop up as you go along?
>
>What all appears in /usr/src/linux/arch/i386/boot/?
>
>Try make bzImage all by itself and see if there are any errors that
>appear.
>
>Just to be sure, you're working with a kernel source inside
>/usr/src/linux, right? I mean, if you're working in
>/usr/src/linux-2.4.22 with no symlinks to /usr/src/linux, the file won't
>be there and you need to redirect accordingly.
>
>Let us know what's happening...


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 05:31 AM
Doug
 
Posts: n/a
Default Re: No bzImage

It was a kernel error, I got it now. I still can not get the damn thing to
boot. I guess I just keep working on it.

Doug


"AthlonRob" <junkmail@axpr.net> wrote in message
news:95s1ob.8oj.ln@dsl-gervais-88.web-ster.com...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NotDashEscaped: You need GnuPG to verify this message
>
> On Sat, 1 Nov 2003 19:51:49 -0600, Doug <dsommer@NOSPAM.sommer.gotdns.com>

wrote:
> > New to Gentoo,

>
> Welcome. :-)
>
> > I installed per instructions and compiled my own kernel and everything

went
> > well. I then did the "make dep && make clean bzImage modules
> > modules_install" and then tried the next step "cp
> > /usr/src/linux/arch/i386/boot/bzImage /boot" Guess what, no bzImage. I

tried
> > "make dep && make clean bzImage modules modules_install" two more times
> > still nothing.

>
> That's odd -
>
> You don't need to run through the whole thing again like that. Are
> there any error messages that pop up as you go along?
>
> What all appears in /usr/src/linux/arch/i386/boot/?
>
> Try make bzImage all by itself and see if there are any errors that
> appear.
>
> Just to be sure, you're working with a kernel source inside
> /usr/src/linux, right? I mean, if you're working in
> /usr/src/linux-2.4.22 with no symlinks to /usr/src/linux, the file won't
> be there and you need to redirect accordingly.
>
> Let us know what's happening...
>
> --
> Rob | If not safe,
> Email and Jabber: | one can never be free.
> athlonrob at axpr dot net |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQE/pHPrhm6KEoOOAe0RAnWjAJ9Z1mxl46jLIAeXDyOUeNOReUovEQ Cg3X1T
> 1SucmQhxJuR3e+fVzVRgIXY=
> =p2Y5
> -----END PGP SIGNATURE-----



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 05:32 AM
Robert Crawford
 
Posts: n/a
Default Re: No bzImage

"Doug" <dsommer@NOSPAM.sommer.gotdns.com> wrote in message news:<3fa52403$1_2@newspeer2.tds.net>...
> It was a kernel error, I got it now. I still can not get the damn thing to
> boot. I guess I just keep working on it.
>
> Doug


Did you mount /boot? In Gentoo, if you want to write to /boot, you
have to do a mount /boot, as root, as /boot is not mounted at boot
time. The first time I tried to copy over a new kernel image, I
wondered what was going on, as it didn't work! Coming from Mandrake, I
had forgotten to manually mount /boot. Then I forgot to umount /boot,
and got an error at shutdown (it fixes itself at reboot,that is, it
reverts to being unmounted as is the Gentoo default, so it was no big
deal).

Robert Crawford
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 05:32 AM
Doug
 
Posts: n/a
Default Re: No bzImage

Yea success!!!!! Well sort of. I still have some kernel errors on boot but
it boots. Missing modules since I started with a Gentoo script and changed
my mind later. Yes I know, dumb, but I learned.

So, some questions.

1. How do I start over with the config for the kernel? There is a default
there but I want to start over.

2. How do you make the install smaller? Right now with nothing, not even
GUI, it is at 1.1 gigs. Redhat's minimal install and then loading the
packages that I needed barely broke 600 megs.

I started with stage 3 and this is maybe going on a PII 266. So complies
will be an issue. This has been an awesome server of me and I really have no
reason to change it. Again no GUI. Don't need it, don't want it.

Doug

"Robert Crawford" <flacycads@access4less.net> wrote in message
news:e26419d6.0311021016.6b0105d6@posting.google.c om...
> "Doug" <dsommer@NOSPAM.sommer.gotdns.com> wrote in message

news:<3fa52403$1_2@newspeer2.tds.net>...
> > It was a kernel error, I got it now. I still can not get the damn thing

to
> > boot. I guess I just keep working on it.
> >
> > Doug

>
> Did you mount /boot? In Gentoo, if you want to write to /boot, you
> have to do a mount /boot, as root, as /boot is not mounted at boot
> time. The first time I tried to copy over a new kernel image, I
> wondered what was going on, as it didn't work! Coming from Mandrake, I
> had forgotten to manually mount /boot. Then I forgot to umount /boot,
> and got an error at shutdown (it fixes itself at reboot,that is, it
> reverts to being unmounted as is the Gentoo default, so it was no big
> deal).
>
> Robert Crawford



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 05:32 AM
Pez Mohr
 
Posts: n/a
Default Re: No bzImage

Doug wrote:
> Yea success!!!!! Well sort of. I still have some kernel errors on
> boot but it boots. Missing modules since I started with a Gentoo
> script and changed my mind later. Yes I know, dumb, but I learned.
>
> So, some questions.
>
> 1. How do I start over with the config for the kernel? There is a
> default there but I want to start over.


Gah, top post. Anyway, enter the kernel source tree and 'make
mrproper', there you go, clean as can be.


> 2. How do you make the install smaller? Right now with nothing, not
> even GUI, it is at 1.1 gigs. Redhat's minimal install and then
> loading the packages that I needed barely broke 600 megs.


Check /usr/portage/distfiles, that contains all of the source packages
you've downloaded when running emerge. Those can all safely be deleted,
but mind you should you need to re-emerge something, you'll need to
re-download the package, although these days with most people having
some sort of broadband access to the net, not that big of an issue.

Also, /var/tmp/portage, I believe is the directory, can be wiped out
completely. If you, for example, cancel a compile, all kinds of crap is
left in the tmp dir for portage. (Of course, if you changed the portage
temp directory in /etc/make.conf, change to suit your needs).

> I started with stage 3 and this is maybe going on a PII 266. So
> complies will be an issue. This has been an awesome server of me and
> I really have no reason to change it. Again no GUI. Don't need it,
> don't want it.
>
> Doug



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 05:32 AM
Matt
 
Posts: n/a
Default Re: No bzImage

On Sun, 02 Nov 2003 13:32:11 -0600, Doug wrote:

> So, some questions.
>
> 1. How do I start over with the config for the kernel? There is a
> default there but I want to start over.


I'm going to add to that:
I was going to recompile the kernel, so I did
cd /usr/src/linux
make menuconfig
Then I went through everything and changed lots of things, then I
chickened out and quit. (I've never compiled a kernel myself before, I
used genkernel when I installed).

1) Is it OK to run make menuconfig again, and have a default kernel to
start with?
2) I'm using a laptop with a PCMCIA net card, at the moment it works,
is there any risk of things breaking if I recompile the kernel? I
don't have that much time to spare, so I don't want things to break.
3) Is there any reason to recompile it, other than "for the sake of it"?
4) How do I back up my current kernel in case I mess up?

Thanks :-)

--
Matt


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com