Thomas Hertweck wrote:
suse-linux list complained about this fact, so I decided in 2002 to
write an up-to-date kernel howto in German. In principle, I could
Oh, now I see

it's worth doing. As mentioned above, there is quite a lot of stuff
available in English - it's maybe not SuSE-specific. However, for the
I have been looking at those items from your earlier post as well
as one mentioned by Randall.  The problem is that being a non-expert,
I have a difficult time applying some of that to SuSE.

SuSE-specific part you can always refer to Andreas Gruenbacher's
documentation which is included in the SuSE kernel sources.
I have and it is helping me.  I tinkered a little more last night
but still have some questions.  Of the three listed docs:
 1. http://www.suse.de/~agruen/kernel-doc/
 2. http://www.howtoforge.com/kernel_compilation_suse_p3
 3. http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

docs 2 and 3 cover the idea of keeping the old kernel along
with the new one in case the new one doesn't work but it isn't
very clear for me.  Doc 1 has a really nice summary of the steps
for building but doesn't mention keeping the old kernel.  Is there
some really easy way to keep the old?  I vaguely remember something
about copying /boot/vmlinuz.  Do I copy that and the
/boot/initrd-x.img files then tamper with /boot/grub/menu.lst
to include the old one?  Am I understanding the process correctly
if I modify doc 1 instructions like this

  (1)  Install kernel-source.$ARCH.rpm. Change to the /usr/src/linux
       directory.

  (2)  Configure the kernel (for example, ``make oldconfig'' or ``make
       cloneconfig'', see HOW TO CONFIGURE THE KERNEL SOURCES).

  (3)  Copy /boot/vmlinuz and /boot/initrd-x.img

  (4)  Build the kernel and all its modules (``make'').

  (5)  Install the kernel and the modules (``make modules_install'',
       followed by ``make install''). This will automatically create
       an initrd for the new kernel as well (see ``mkinitrd -h'').

  (6)  Add the kernel to the boot manager. When using lilo, run ``lilo''
       to update the boot map.

Doesn't the new kernel already get put into grub by the make install?
could step 6 be changed to something like this

  (6)  Add the old kernel copied in step 3 to the boot manager. When using
       lilo, run ``lilo'' to update the boot map.


Damon Register

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to