Hi mathieu,

Thanks for your detail advice. I have following points expected to be advised.

- snip -
Kindly advise what will be the correct command line to upgrade kernel
from Gentoo website to retain old kernel. So there will be 2 kernels at
boot for selection. I use Grub.



1. emerge the new kernel, configure and build:
# emerge gentoo-sources
# cd /usr/src
# rm -f linux
# ln -s linux-2.4.20-gentoo-r8 linux
# cp linux-2.4.20-gentoo-r7/.config linux


Is it ".config" a hidden file under "linux-2.4.20-gentoo-r7/"

# cd linux
# make oldconfig
... answer questions if any ...
# make clean dep
# make bzImage modules
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-gentoo-r8


I suppose "arch/i386/boot/bzImage" will be created after "make modules_install"

2. optinal: if you use alsa-driver
# cd /lib/modules
# touch 2.4.20-gentoo-r7/kernel/sound
(should be enough to protect r7's alsa modules, but it would be better to backup them)
# emerge alsa-driver


I have not installed "alsa-driver" yet. Gentoo 1.4 is without sound. At time of installing Gentoo1.4 I installed "emerge emu10k1" because the box has a "Creative Sound Blaster Live" sound card. The installation was interrupted unexpectedly. I posted for assistance on this List and I was advised that I should install "alsa-driver". Therefore I just left it there incomplete. Now at boot the OS can't detect the sound module

I tried to find the bootlog to show it here but could not find it under /var/log/

3. optional: if you use nvidia-kernel
# cd /lib/modules
# touch 2.4.20-gentoo-r7/video/nvidia.o
(should be enough to protect r7's nvidia modules, but it would be better to
# emerge nvidia-kernel


What is nvidia-kernel?

4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed.


What shall I add to /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi
initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7

Thanks in advance.

B.R.
Stephen


-- [EMAIL PROTECTED] mailing list



Reply via email to