Re: Problem with Kernel Compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/5/06, Manjunath Naik <peter.desouzain@xxxxxxxxx> wrote:
Hi all,

 I am trying to compile linux kernel first time. The kernel souce
version is 2.6.16. After issuing the command

   make zImage,

Use just plain "make" which will implicitly do "make bzImage" which
will create a "Big zImage".


[snip]
System is too big. Try using bzImage or modules.
[snip]

Could any one expain me what is this error meant by? I thought their
is space problem in hard disk. Whether it is correct or not? If not
what is the problem here.


It's not a disk space problem. There's a limit to how big a zImage can
be, and yours is too big. The solution is to either move more stuff to
modules (instead of build-in) or simply use a "big zImage" aka
"bzImage".

The build process changed from 2.4.x to 2.6.x kernels. For a 2.6.x
kernel what you need to do is :

(as a normal user)
1) extract source.
2) configure source (with "make menuconfig" or one of the other
configuration options.
3) build the kernel by running "make".
(as root)
4) install any modules that you build by running "make modules_install".
5) install the kernel image either with "make install" or by manually
copying System.map and arch/i386/boot/bzImage (or equivalent for other
archs) to /boot and adding the new kernel image to your bootloader.


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux