« Linux - check disk for errors | Linux Monitor Autodetection » |
QuickList: Kernel Upgrade for Gentoo
# uname -a
Linux mythtv 2.6.23-gentoo #2 PREEMPT Tue Oct 23 12:57:42 PDT 2007 i686 Intel(R) Celeron(TM) CPU 1300MHz GenuineIntel GNU/Linux
# eselect kernel list
# eselect kernel set 4
# cd /usr/src/linux
[copy over your previous .config file from the previous kernel compile ]
# cp /usr/src/linux-2.6.23-gentoo-r2/.config
# make oldconfig && make prepare
[ answer all questions using default ]
# lspci
# cat /proc/cpuinfo
# make menuconfig
[ answer all questions using known hardware values from lspci and cpuinfo ]
# make
# make modules_install
# mount /boot
# cp arch/i386/boot/bzimage /boot/kernel-2.6.25-r8-2008-09-19
(these next two are optional - .config stores the options used to create the kernel, and System.map stores the hardware info (?) )
# cp .config /boot/config-2008-09-19
# cp System.map /boot/system-2008-09-19
# nano /boot/grub/grub.conf
[add in an entry near the top pointing to the new kernel file, using a previous entry]
# reboot
This post has 1 feedback awaiting moderation...