On Sun, 5 Dec 1999, Larry wrote:
> John Aldrich wrote:
>
> > On Sat, 04 Dec 1999, you wrote:
> > > Hello,
> > >
> > > After one downloads a kernel update how does one install it to make it work?
> > >
> > >
> > RPM??? RPM -ivh kernel*.rpm
> > Then, go edit your /etc/lilo.conf to add the new kernel to LILO and
> > run /sbin/lilo (one can NEVER run that TOO many times! <G>)
> > After that, it should be safe to reboot.
> > Please note that you should never REMOVE the old kernel until the new
> > one is safely installed and tested, which is a good reason to run "rpm
> > -ivh" instead of rpm -Uvh. rpm -Uvh would overwrite the existing
> > kernels and your machine might hang on reboot.
> > John
>
> John ..........(or anyone) :-)
>
> This is a subject that is of interest to me, as I guess it is to
> everyone
> expect experts.
> I have compiled my kernel a few time but sometimes ran into troubles
> and felt I just didn't do everything correctly. Like there were
> dependencies
> problems on boot up in one case. And this was just compiling the
> existing
> kernel, at least that is the way my memory serves me.
>
> So my questions are as follows:
> 1....when installing a new kernel are all the "make" commands necessary
> only if we wish to custimize the kernel to our needs. In other words ,
> is
> it the same with an existing kernel, no need to do it unless we wish.
New kernel yes, modifying something you've built once maybe depends on how
drastic. It can't hurt to do a mrproper though.
> 2.........Also along the same lines when we use the Mandrake Update is
> there
> a need to do a compile using all the "make" commands unless for the same
> reasons as above?
if you use it to upgrade kernel-source and kernel-headers and your running
a custom kernel you wanna rebuild.
> 3.....As I recall regarding my recompiles of the existing Mandrake 6.1
> kernel
> the new bzImage and systemmaps were automatically copied to the
> boot folder and therefore didn't require me to do that like some/all
> installations of tar files did.
that comes from either "make install" or "make bzlilo" (no different the a
vanilla src from kernel.org)
> 4.....If I want to retain the current kernal images in my boot dir do I
> need
> to do something during the process of upgrading other than redoing my
> lilo.conf of course? Seems to me downloading tar files and upgrading
> used to require renaming system maps to system maps.old or some
> such steps.
Yes for one leave the entry in lilo.conf, and edit the toplevel Makefile
to change the EXTRAVERSION to something we'll neve use like say "-1mine"
> Thanks
> Larry
>
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon