Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upgrading a Kernel
Message
Information générale
Forum:
Linux
Catégorie:
Autre
Divers
Thread ID:
00487225
Message ID:
00488143
Vues:
11
>How do you go about upgrading a kernel. What are the do's and don'ts.
>Thanks

The directory /usr/src/linux is a link to the actual kernel.
If you have more than one kernel installed it will point to the live one. If you upgrade to a new kernel you usually install it in /usr/src/2.2.xx or /usr/scr/2.4.x as the case may be. Then rename your /boot/vmlinuz to something like /boot/vmlinuz-xyz. Make a copy of /boot/System.map as /boot/System.map-xyz. Relink /usr/src/linux to point to the new kernel source tree.
CD /usr/src/linux.
make mrproper
make menuconfig
make dep clean bzImage
make modules
make modules_install

cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
cp /usr/src/linux/System.map /boot

Edit /etc/lilo.conf and make a copy of the vmlinux section and put it below the existing vmlinux section. Rename the second vmlinuz to vmlinuz-xyz

The Lilo howto gives examples.
JLK
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform