Installation d'un noyau recompile sous Debian

トップ ページ

このメッセージに返信
著者: ML Guilde
日付:  
To: ML Guilde
題目: Installation d'un noyau recompile sous Debian
Bonjour,

Suite aux reponses concernant le non-arret automatique de la machine lors
du shutdown, je viens de recompiler mon noyau sur ma debian en desactivant
le support APIC.

Un 'make-kpkg kernel_image' m'a recompile le noyau et cree le paquet. Le
probleme est qu'il a utilise le meme nom que pour la compilation initiale.

Comment faire ensuite pour remplacer mon noyau existant pas celui du
nouveau paquet ? J'ai tente dpkg -i <nom du paquet>, et obtenu :

(Reading database ... 72120 files and directories currently installed.)
Preparing to replace kernel-image-2.4.18 10.00.Custom (using
kernel-image-2.4.18_10.00.Custom_i386.deb) ...
You are attempting to install a kernel image (version 2.4.18)
However, the directory /lib/modules/2.4.18 still exists. If this
directory belongs to a previous kernel-image-2.4.18 package, and if
you have deselected some modules, or installed standalone modules
packages, this could be bad. However, if this directory exists because
you are also installing some stand alone modules right now, and they
got unpacked before I did, then this is pretty benign. Unfortunately,
I can't tell the difference.

If /lib/modules/2.4.18 belongs to a old install of
kenel-image-2.4.18, this is your last chance to abort the
installation of this kernel image (nothing has been changed yet).

If this directory is because of stand alone modules being installed
right now, or if it does belong to an older kernel-image-2.4.18
package but you know what you are doing, and if you feel that this
image should be installed despite this anomaly, Please answer n to the
question.

Otherwise, I suggest you move /lib/modules/2.4.18 out of the way,
perhaps to /lib/modules/2.4.18.old or something, and then try
re-installing this image.
Do you want to stop now? [Y/n]

Puis-je repondre Y ?

Question annexe: j'ai installe des modules au noyau par une methode
classique de compilation et d'installation depuis un tar.gz (make et make
install). Dois-je les re-installer apres avoir re-installe mon noyau ?
De meme, sir des installations de modules via le mecanisme debian ont ete
faites (make-kpkg modules_image), dois-je le refaire egalement apre
l'installe du noyau ?

Merci de votre aide.

-- 
    Frederic