Re: Differences between binary images and compiled kernels
On Thursday 16 September 2004 08:41 am, Eric Dickner wrote:
> --- Silvan <dmmcintyr@users.sourceforge.net> wrote:
> > Not enough information.
>
> Thanks for you time! I didn't want to get too
> specific in case there was a general and simple answer
> to this situation (getting an old configuration from a
> binary install to work).
I don't remember if I ever responded to this? Did I? (I haven't been getting
much sleep lately.)
> questions I get the new kernel to compile properly but
> it boots up with radically logs. MOST things work,
Configging a kernel is an arduous process of booting and then figuring out
what you got wrong. It's a pain in the ass. I have that T-shirt in spades.
In fact, I had a need to do up a custom kernel recently, and I only made it
to the third configure/compile/install/lilo/reboot phase before I said the
hell with it and decided I didn't have as much need after all. That was
starting with someone else's config too. There are a million little things
to get wrong. Starting with a known good config from two kernel versions ago
is not a panacea.
> > What basic procedure was that?
>
> make mrproper
> make oldconfig
> make dep
> make bzImage
> make modules
> make modules_install
> "user fools with links and lilo"
>
> I've seen is outlined for all the distros.
I hate those instructions. Like someone else has already mentioned, make
mrproper puts you back to a virgin config, and leaves you to solve ALL the
problems for yourself, with the make xconfig||menuconfig you left out.
> I need/want to develop a "distribution agnostic" set
> of procedures that will be applicable to all (or as
> many) distributions if/as possible. It may be that
> Debian upgrades MUST be done their way and the
> "vanilla" way (ie make dep, make bzImage, ...) will
> not work right. If that is the case, then so be it,
> but I am surprised the old way will not still work...
No, it still works, although Debian doesn't have a good kernel install script
the way some other distros do, so make install sometimes leaves you with
extra work to do by hand.
I seem to recall. I haven't built a kernel the old fashioned way in years.
Debian's kernel-package kernel build system is an idea other distros should
rip off. Even though it's not distro-agnostic, you might want to look at it
anyway, just to see what you're missing. It's the reason Debian doesn't have
a good kernel-install script. It doesn't need one.
--
Michael McIntyre ---- Silvan <dmmcintyr@users.sourceforge.net>
Linux fanatic, and certified Geek; registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/
Reply to: