Le 17.01.2004 20:25, Frédéric Bothamy a écrit :
* Farid Messaoud <Farid.Messaoud@free.fr> [2004-01-17 19:18] :Fait un man Mkinitrd Tout y devrait etre explique Alex -- 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
Attachment:
pgpzvoUd8rC37.pgp
Description: PGP signature