On 2/12/06 12:12 PM, "Gilberto Martins" <[EMAIL PROTECTED]> wrote:

>> It can be called anything, but the file name you give it in /boot, of
>> course, has to be the one you call out in the grub.conf line.  So, you copy
>> (for instance) arch/i386/boot/bzImage to /boot/kernel-kernelversion (I
>> usually also copy .config to /boot/config-kernelversion).
> 
> That`s what I thought. The ".config" tip, I wil do the same. What I
> have to change in grub.conf ?
Okay, so you compile gentoo-sources.2.6.15-r4 (just as a made-up example).
So you copy arch/boot/bzImage to /boot/kernel-gentoo-2.6.15-r4, and copy
.config to /boot/config-gentoo-2.6.15-r4.  Then edit your
/boot/grub/grub.conf and copy the whole stanza that was already there,
including:
title  Linux-2.6.14-r2-2 win4lin enabled
root (hd0,0)
kernel /boot/kernel-2.6.14.2-w4l-2 root=/dev/hda2

Past it at the end.  Change the title line to match the name you gave on the
copy (Linux-2.6.15-r4), and the "kernel" line (/boot/kernel-2.6.15-r4).  At
the top of the file is the line:
default 0 (or whichever one is active).  Change the number to match the
stanza you just added (remember they are numbered from zero, not one).  Then
save the file.
> 
> thanx


-- 
gentoo-user@gentoo.org mailing list

Reply via email to