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:
00488351
Vues:
10
>>The directory /usr/src/linux is a link to the actual kernel.
>
>Actually, no. That is a link to the kernel source. ;)

My typo!

>
>>make mrproper
>
>You only need to make mrproper if you apply a patch. Otherwise, it just resets all of your options, which you may not want to do when recompiling the same kernel to get support for an additional device, etc.

Which is probably true if he is building a kernel for the first time...?


>
>>cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
>>cp /usr/src/linux/System.map /boot
>
>You should acutally use dd instead of cp.

Curious. Why is that? You're the first I've read who recommends using dd when copying the new kernel to /boot. Have something to do with binary copying?


>
>dd if=/usr/src/linux/arch/i386/boot/bzImage of=/boot/vmlinuz-x.x.x
>
>etc.
>
>Don't forget to dd the vmlinux file from you source directory as well.
>
>j


Questions for you Jaason:
The System.map: a new one is created every time the kernel is compiled and the kernel how to says to copy the System.map to /boot. The System.map is created by compiling the kernel. However, I haven't found a way where you can specify a particular System.map in lilo.conf. And, if you keep your old kernel around to boot in an emergency how does the new system map satisfy the old kernel? And if it does why is a new one necessary?
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform