Le 17.01.2004 20:25, Fr�d�ric Bothamy a �crit�:
* Farid Messaoud <[EMAIL PROTECTED]> [2004-01-17 19:18] :Fait un man Mkinitrd Tout y devrait etre expliqueAlex -- Enlever le mot 'spam' dans mon adresse email pour me contacter. Merci. "Farid Messaoud" wrote: > Salut, > Apr�s la command suivante voila le resultat. > Quelqu'un a une id�e ? > > > > /usr/src# dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb > (Reading database ... 21578 files and directories currentlyinstalled.)> Preparing to replace kernel-image-2.4.18 HOST.1 (using > .../kernel-image-2.4.18_HOST.1_i386.deb) ... > > You are attempting to install an initrd kernel image (version2.4.18)> This will not work unless you have configured your boot loader touse> initrd. (An initrd image is a kernel image that expects to use anINITial> Ram Disk to mount a minimal root file system into RAM and use thatfor> booting). > As a reminder, in order to configure lilo, you need to > add an 'initrd=/initrd.img' to the image=/vmlinuz > stanza of your /etc/lilo.conf > I repeat, You need to configure your boot loader. If you havealreadydone > so, and you wish to get rid of this message, please put > `do_initrd = Yes' > in /etc/kernel-img.conf. Note that this is optional, but if you donot,> you'll contitnue to see this message whenever you install a kernel > image using initrd. > Do you want to stop now? [Y/n] > Ok, Aborting> dpkg: error processing /usr/src/kernel-image-2.4.18_HOST.1_i386. deb> (--install): > subprocess pre-installation script returned error exit status 1 > Errors were encountered while processing: > /usr/src/kernel-image-2.4.18_HOST.1_i386.deb > No manual entry for mkinitrdIl te faut le paquet initrd-tools. Cela dit, c'est une id�e assez �trange de vouloir utiliser un initrd sur un noyau compil� soi-m�me ... Le but principal de l'initrd est de pouvoir charger des modules avant le chargement du noyau, c'est doncadapt� pour un noyau qui doit supporter une multitude de configurationsdiff�rentes (comme le noyau Debian de base). L'int�r�t est limit� pour un noyau compil�. Fred
J'utilise lvm et dans ce cas, il _faut_ un initrd... mais le paquet lvm fournit l'utilitaire lvmcreate-initrd pour cr�er l'intird en question.
--
- Jean-Luc
pgpGu7nEFUlyN.pgp
Description: PGP signature

