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

Re: System is too Big; son of make menuconfig



Hello,

Am Samstag, 12. Oktober 2002 04:39 schrieb Michael Olds:
> Ok, first time rebuilding the kernel so I'm not too upset it's
> going all wrong...but
> my books tell me what to do when I run make zImage and the system
> is too big: run make bzImage. But they don't tell me what to do
> when that too is too big. And how could it be too big? I use the
> M option as my yes key and I didn't select anything that I didn't
> recognize and I have a pretty stripp't down system. I get the
> message: Boot Sector 512 bytes
> System is 601 bytes after make bzImage
>
> What else can I do? Am I correct in assuming that this does not
> have anything to do with my boot partition size? Which just
> happens to be about 512MB. But I've looked, it's hardly being
> used.
>
It seems you are using the normal way to build the kernel (make 
clean, make dep, make bzImage)
Try to use the debian-tools.  A short description:
Install packeages bin86, libc-dev, debian-utils, make, bzip2 and 
kernel-package
Then copy the config-file to your kernel-sources and run make 
menuconfig. Edit the options in your way. 
Then run "make-kpkg clean" in /usr/src/linux and then "make-kpkg 
-revision=<SOMETHING> kernel_image". If this works without errors 
you can find a new kernel... .deb in /usr/src. Install this with 
"dpkg -i kernel... .deb" This should work.

> Also, I took a chance and just exited the terminal after this
> message. Am I correct in assuming nothing on my system was
> changed? I rebooted and nothing seems changed.
>
> Since my current configuration seems to be acceptable in size, is
> there a way of just using it as the basis for making changes? The
> book suggests that this be done on subsequent rebuilds, but
> doesn't say anything about using the current configuration for
> the first rebuild.

In  /boot is file called config-<kernel-version>. This contains the 
configuration of the installed kernel. Copy this file to 
/usr/src/linux/.config and you can use it base-configuration

> Best Wishes!
> Mike Olds www.buddhadust.org

Cheers,
Torsten



Reply to: