🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.help
7 messages
7 total messages Started by Glenn Jayaputera Tue, 11 Apr 1995 00:00
Kernel too big...how to fix it?
#146
Author: Glenn Jayaputera
Date: Tue, 11 Apr 1995 00:00
10 lines
851 bytes
Managed to compile my kernel.  I have now run into another problem.  When 
I run 'lilo' it complains with

/vmlinuz  too big.

WHy is this happening, do I have to 'scale down' my options to get a 
smaller kernel??

thanks in advance
Glenn
Re: Kernel too big...how to fix it?
#114
Author: Dan Linder
Date: Tue, 11 Apr 1995 00:00
5 lines
975 bytes
I do a "make zImage" and it creates a compressed kernel in the 
boot/i386.../zImage.  The directory is shows as one of the last
"leaving" lines when you do the make zImage...

  Dan
Re: Kernel too big...how to fix it?
#147
Author: Ralph Lyman
Date: Tue, 11 Apr 1995 00:00
19 lines
1784 bytes
You are using the wrong kernel image. The image that you want is  
src/linux/arch/i386/boot/zImage. Move this zImage to your /vmlinuz
(rename the old one first just in case). when you have done this 
run lilo. This zImage is the compressed kernel image that lilo uses
to boot. This is in the README in the src/linux directory.

hope this helps.

-- 
---------------------------------------------------------------
| Ralph D. Lyman                        | (W) (716) 726-6210  |
| Eastman Kodak Co.                     |                     |
| 901 Elmgrove Road                     |                     |
| 2/5/EP MC: 35400                      |                     |
| Rochester, N.Y. 14653-5400            |                     |
|---------------------------------------|---------------------|
|    (Internet Address)                   lyman@ycc.kodak.com |
|    (Compuserve Address)                 71053,2600          |
---------------------------------------------------------------
Re: Kernel too big...how to fix it?
#115
Author: Graham Broadbridge
Date: Wed, 12 Apr 1995 00:00
20 lines
1508 bytes
Glenn Jayaputera (gtj@werple.mira.net.au) wrote:
: Managed to compile my kernel.  I have now run into another problem.  When 
: I run 'lilo' it complains with

: /vmlinuz  too big.

Are you attempting to install the image contained in /usr/src/linux or the
one in /usr/src/linux/arch/i386/boot.

The second path contains the real compressed boot image.

I usually compile the kernel with `make zlilo`.  This installs the correct
image for you.

--
+----------------------------------------------------------------------------+
  Graham Broadbridge        Internet <graham@peachy.apana.org.au>
  Marsfield   NSW                    <vk2yui@amsat.org>
  Australia                 amprnet  <vk2yui@vk2yui.ampr.org>
+----------------------------------------------------------------------------+
Re: Kernel too big...how to fix it?
#116
Author: MATTHEW TIPPETT
Date: Wed, 12 Apr 1995 00:00
18 lines
1213 bytes
In article <3mdthl$oc5@werple.mira.net.au>, gtj@werple.mira.net.au (Glenn Jayaputera) writes:
> Managed to compile my kernel.  I have now run into another problem.  When
> I run 'lilo' it complains with
>
> /vmlinuz  too big.
>
> WHy is this happening, do I have to 'scale down' my options to get a
> smaller kernel??
>
> thanks in advance
> Glenn
o
Sounds like you are using the kernel in the bottom of the source tree.
This is uncompressed.  the zImage kernel is in arch/i386/boot I believe.

But look for it in the /arch/i386 directory tree.

Matt
Re: Kernel too big...how to fix it?
#117
Author: James Vahn
Date: Wed, 12 Apr 1995 00:00
8 lines
1116 bytes
Dan Linder (dlinder@inacom.com) wrote:
: I do a "make zImage" and it creates a compressed kernel in the 
: boot/i386.../zImage.  The directory is shows as one of the last
: "leaving" lines when you do the make zImage...

Now try a "make boot". I just finished 1.2.1 and "make zImage"
actually made "vmlinuz" while "make boot" created zImage. You 
have to do both. I'm using loadlin/zImage.
Re: Kernel too big...how to fix it?
#118
Author: Jacob L. Cybulski
Date: Wed, 19 Apr 1995 00:00
21 lines
1675 bytes
jvahn@short.circuit.com (James Vahn) writes:

>Dan Linder (dlinder@inacom.com) wrote:
>: I do a "make zImage" and it creates a compressed kernel in the 
>: boot/i386.../zImage.  The directory is shows as one of the last
>: "leaving" lines when you do the make zImage...
>Now try a "make boot". I just finished 1.2.1 and "make zImage"
>actually made "vmlinuz" while "make boot" created zImage. You 
>have to do both. I'm using loadlin/zImage.

I haven't seen the original posting, but you can get the message
complaining about the size of the newly installed kernel from Lilo.
This happened to me when I forgot to reconfigure Lilo after kernel
compilation (or after you install a different kernel from some
distribution).

Jacob
-- 
============================================================================
Jacob L. Cybulski, CS&CE, La Trobe University, Bundoora, Vic 3083, Australia
Phone: +61 3 479 1270,  Fax: +61 3 470 4915, E-Mail: jacob@cs.latrobe.edu.au
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads