Re: pb kpkg

2004-01-18 Par sujet François TOURDE
Le 12434ième jour après Epoch,
Farid Messaoud écrivait:

 C bon cela fonctionne maintenant, merci  ; )

Super. En plus ça réponds aussi à la question que je me posais
concernant un kernel-image ... C'est la première fois que j'essayais
un kernel-image. Trop l'habitude de recompiler tout, sans initrd donc
:)

Et puis tu vois que la liste est réactive, des fois. Ça peut dépendre
de la façon dont la question est posée ;)

-- 
Andrea's Admonition:
Never bestow profanity upon a driver who has wronged you.
If you think his window is closed and he can't hear you,
it isn't and he can.



Re: pb kpkg

2004-01-17 Par sujet Sylvain LE GALL
On Sat, Jan 17, 2004 at 07:08:56PM +0100, Farid Messaoud wrote:
 Salut,
 Après la command suivante voila le resultat.
 Quelqu'un a une idée ?
 
 

Bonjour,

Non sans rire c'est une question ?

Donc je vois a peu prés le scénario : tu as répondu Y ( donc yes ) a la
question ( puisque c'est le choix par défaut ) où ca te demandé si tu
voulais interompre le processus d'installation, donc ca c'est arrété...

Ce qui m'améne a te demander, lis tu ce qu'on te demande avant
d'appeller au secour... En l'occurence, il n'y a rien d'inquiétant a ce
que dpkg fasse ce qu'on lui dise... 

Si tu veux installer to paquet tu répond a la question : Voulez vous
arréter maintenant ?, n ( pour Non ) ( je traduis de l'anglais
parceque la probleme vient peut etre de la ).

Un lecteur --reactif-- de la ML.
Sylvain LE GALL

 
 /usr/src# dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
 (Reading database ... 21578 files and directories currently installed.)
 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 (version 2.4.18)
 This will not work unless you have configured your boot loader to use
 initrd. (An initrd image is a kernel image that expects to use an INITial
 Ram Disk to mount a minimal root file system into RAM and use that for
 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 have already done
 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 do not,
 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
 
 



Re: pb kpkg

2004-01-17 Par sujet Alex Garacotche
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 currently installed.)
 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 (version 2.4.18)
 This will not work unless you have configured your boot loader to use
 initrd. (An initrd image is a kernel image that expects to use an INITial
 Ram Disk to mount a minimal root file system into RAM and use that for
 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 have already done
 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 do not,
 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
 



Re: pb kpkg

2004-01-17 Par sujet Alex Garacotche
Desole pour la syntaxe:

#man mkinitrd

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 currently installed.)
 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 (version 2.4.18)
 This will not work unless you have configured your boot loader to use
 initrd. (An initrd image is a kernel image that expects to use an INITial
 Ram Disk to mount a minimal root file system into RAM and use that for
 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 have already done
 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 do not,
 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
 



Re: pb kpkg

2004-01-17 Par sujet François Boisson
On Sat, 17 Jan 2004 19:08:56 +0100
Farid Messaoud [EMAIL PROTECTED] wrote:

 Salut,
 Après la command suivante voila le resultat.
 Quelqu'un a une idée ?
 

Oui, le noyau que tu installes utilise un initrd et il faut rajouter une
ligne à lilo pour qu'il puisse bouter dessus. Il suffit de rajouter
initrd=/initrd.img sur la ligne concernée de /etc/lilo.conf.

Même pbm si c'est grub (que je ne connais pas).

Une fois cela fait, on peut répondre yes.

François Boisson

  
 
 /usr/src# dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
 (Reading database ... 21578 files and directories currently installed.)
 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 (version 2.4.18)
 This will not work unless you have configured your boot loader to use
 initrd. (An initrd image is a kernel image that expects to use an
 INITial Ram Disk to mount a minimal root file system into RAM and use
 that for 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 have already
 done 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 do not,
 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
 
 
 -- 
 Pensez à lire la FAQ de la liste avant de poser une question :
 http://savannah.nongnu.org/download/debfr-faq/html/
 
 Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:
 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 



Re: pb kpkg

2004-01-17 Par sujet Farid Messaoud

Sylvain LE GALL wrote:


On Sat, Jan 17, 2004 at 07:08:56PM +0100, Farid Messaoud wrote:
 


Salut,
Après la command suivante voila le resultat.
Quelqu'un a une idée ?


   



Bonjour,

Non sans rire c'est une question ?

Donc je vois a peu prés le scénario : tu as répondu Y ( donc yes ) a la
question ( puisque c'est le choix par défaut ) où ca te demandé si tu
voulais interompre le processus d'installation, donc ca c'est arrété...

Ce qui m'améne a te demander, lis tu ce qu'on te demande avant
d'appeller au secour... En l'occurence, il n'y a rien d'inquiétant a ce
que dpkg fasse ce qu'on lui dise... 


Si tu veux installer to paquet tu répond a la question : Voulez vous
arréter maintenant ?, n ( pour Non ) ( je traduis de l'anglais
parceque la probleme vient peut etre de la ).

Un lecteur --reactif-- de la ML.
Sylvain LE GALL

 


/usr/src# dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
(Reading database ... 21578 files and directories currently installed.)
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 (version 2.4.18)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
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 have already done
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 do not,
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


   




 



Procedure :

1) vi /etc/lilo.conf et je rajoute la ligne initrd=/initrd.img 
sachant que  ce fichier devrais être généré par la commande dpkg -i 
/usr/src/kernel-image-2.4.18_HOST.1_i386.deb

--- ajouté comme cela :
default=Linux
image=/vmlinuz
   label=Linux
   read-only
#   restricted
#   alias=1
initrd=/initrd.img

2) vi /etc/kernel-img.conf et j'ajoute la ligne suivante do_initrd = Yes

3) mv /lib/modules/2.4.18-bf2.4 /lib/modules/2.4.18-bf2.4.old



ENSUITE :

dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
(Reading database ... 21578 files and directories currently installed.)
Preparing to replace kernel-image-2.4.18 HOST.1 (using 
.../kernel-image-2.4.18_HOST.1_i386.deb) ...

Unpacking replacement kernel-image-2.4.18 ...
Setting up kernel-image-2.4.18 (HOST.1) ...
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.18 (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
kernel-image-2.4.18





Re : pb kpkg

2004-01-17 Par sujet Jean-Luc Coulon (f5ibh)

Le 17.01.2004 19:26, François Boisson a écrit :

On Sat, 17 Jan 2004 19:08:56 +0100
Farid Messaoud [EMAIL PROTECTED] wrote:


Salut,
Après la command suivante voila le resultat.
Quelqu'un a une idée ?



Oui, le noyau que tu installes utilise un initrd et il faut rajouter
une
ligne à lilo pour qu'il puisse bouter dessus. Il suffit de rajouter
initrd=/initrd.img sur la ligne concernée de /etc/lilo.conf.

Même pbm si c'est grub (que je ne connais pas).


J'utilise grub avec un intird venant de lvm. Voici la syntaxe d'un bloc  
grub pour l'initrd (par exemple):


title  Debian 3.0, GNU/Linux 2.4.24 - LVM
root (hd0,0)
kernel /vmlinuz-2.4.24 root=3a00 reboot=warm \
hdc=ide-scsi hdd=ide-scsi pci=biosirq \
video=aty128fb:[EMAIL PROTECTED] \
ramdisk_size = 8192
initrd /initrd-lvm-2.4.24.gz

--
- Jean-Luc



Une fois cela fait, on peut répondre yes.

François Boisson



pgpQe3ewNEIrp.pgp
Description: PGP signature


Re: pb kpkg

2004-01-17 Par sujet François Boisson
On Sat, 17 Jan 2004 19:08:56 +0100
Farid Messaoud [EMAIL PROTECTED] wrote:

 Après la command suivante voila le resultat.
Cela dit, un dictionnaire d'anglais ou une lecture attentive du message
disait tout cela. J'aurais du peut être attendre avant de répondre. Désolé



Re: Re : pb kpkg

2004-01-17 Par sujet Farid Messaoud

Jean-Luc Coulon (f5ibh) wrote:


Le 17.01.2004 19:26, François Boisson a écrit :


On Sat, 17 Jan 2004 19:08:56 +0100
Farid Messaoud [EMAIL PROTECTED] wrote:


Salut,
Après la command suivante voila le resultat.
Quelqu'un a une idée ?



Oui, le noyau que tu installes utilise un initrd et il faut rajouter
une
ligne à lilo pour qu'il puisse bouter dessus. Il suffit de rajouter
initrd=/initrd.img sur la ligne concernée de /etc/lilo.conf.

Même pbm si c'est grub (que je ne connais pas).



J'utilise grub avec un intird venant de lvm. Voici la syntaxe d'un 
bloc  grub pour l'initrd (par exemple):


title  Debian 3.0, GNU/Linux 2.4.24 - LVM
root (hd0,0)
kernel /vmlinuz-2.4.24 root=3a00 reboot=warm \
hdc=ide-scsi hdd=ide-scsi pci=biosirq \
video=aty128fb:[EMAIL PROTECTED] \
ramdisk_size = 8192
initrd /initrd-lvm-2.4.24.gz

--
- Jean-Luc



Une fois cela fait, on peut répondre yes.

François Boisson




Sur le site :

http://reseaucitoyen.be/index.php?UpdateKernel

je suis la procedure suivante :

   * Avant d'installer une image du Kernel, il faut passer par deux étapes
 o Mettre à jour le fichier /etc/lilo.conf
   + L'éditer avec un programme vi, nano , via mc etc
   + Repérer la ligne *image=/vmlinuz*
   + Ajouter à la ligne suivante :*initrd=/initrd.img*
 o Créer un fichier
   + *echo do_initrd = Yes  /etc/kernel-img.conf*


J'ajoute ma sauce : mv /lib/modules/2.4.18-bf2.4 
/lib/modules/2.4.18-bf2.4.old



PUIS L'INSTANT DE VERITE ---

dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
(Reading database ... 21578 files and directories currently installed.)
Preparing to replace kernel-image-2.4.18 HOST.1 (using 
.../kernel-image-2.4.18_HOST.1_i386.deb) ...

Unpacking replacement kernel-image-2.4.18 ...
Setting up kernel-image-2.4.18 (HOST.1) ...
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.18 (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
kernel-image-2.4.18



IL échoue a la création de l'image initrd.img, d'après mon anglais .







Re: pb kpkg

2004-01-17 Par sujet Frédéric Bothamy
* Farid Messaoud [EMAIL PROTECTED] [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 currently installed.)
  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 (version 2.4.18)
  This will not work unless you have configured your boot loader to use
  initrd. (An initrd image is a kernel image that expects to use an INITial
  Ram Disk to mount a minimal root file system into RAM and use that for
  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 have already 
 done
  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 do not,
  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 mkinitrd

Il 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 donc
adapté pour un noyau qui doit supporter une multitude de configurations
différentes (comme le noyau Debian de base). L'intérêt est limité pour
un noyau compilé.


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Code de conduite des listes Debian
http://www.debian.org/MailingLists/index.fr.html#codeofconduct



Re : Re : pb kpkg

2004-01-17 Par sujet Jean-Luc Coulon (f5ibh)

Le 17.01.2004 20:19, Farid Messaoud a écrit :

Jean-Luc Coulon (f5ibh) wrote:


Le 17.01.2004 19:26, François Boisson a écrit :


On Sat, 17 Jan 2004 19:08:56 +0100
Farid Messaoud [EMAIL PROTECTED] wrote:


Salut,
Après la command suivante voila le resultat.
Quelqu'un a une idée ?



Oui, le noyau que tu installes utilise un initrd et il faut  
rajouter

une
ligne à lilo pour qu'il puisse bouter dessus. Il suffit de rajouter
initrd=/initrd.img sur la ligne concernée de /etc/lilo.conf.

Même pbm si c'est grub (que je ne connais pas).



J'utilise grub avec un intird venant de lvm. Voici la syntaxe d'un  
bloc  grub pour l'initrd (par exemple):


title  Debian 3.0, GNU/Linux 2.4.24 - LVM
root (hd0,0)
kernel /vmlinuz-2.4.24 root=3a00 reboot=warm \
hdc=ide-scsi hdd=ide-scsi pci=biosirq \
video=aty128fb:[EMAIL PROTECTED] \
ramdisk_size = 8192
initrd /initrd-lvm-2.4.24.gz

-- - Jean-Luc



Une fois cela fait, on peut répondre yes.

François Boisson




Sur le site :

http://reseaucitoyen.be/index.php?UpdateKernel

je suis la procedure suivante :

   * Avant d'installer une image du Kernel, il faut passer par deux  
étapes

 o Mettre à jour le fichier /etc/lilo.conf
   + L'éditer avec un programme vi, nano , via mc etc
   + Repérer la ligne *image=/vmlinuz*
   + Ajouter à la ligne suivante :*initrd=/initrd.img*
 o Créer un fichier
   + *echo do_initrd = Yes  /etc/kernel-img.conf*


J'ajoute ma sauce : mv /lib/modules/2.4.18-bf2.4 /lib/modules/2.4.18- 
bf2.4.old



PUIS L'INSTANT DE VERITE ---

dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
(Reading database ... 21578 files and directories currently  
installed.)
Preparing to replace kernel-image-2.4.18 HOST.1 (using .../kernel- 
image-2.4.18_HOST.1_i386.deb) ...

Unpacking replacement kernel-image-2.4.18 ...
Setting up kernel-image-2.4.18 (HOST.1) ...
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.18 (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
kernel-image-2.4.18



IL échoue a la création de l'image initrd.img, d'après mon anglais .



Avez-vous le paquet initrd-tools  installé ?

--
- Jean-Luc


pgpzrglsXQu7I.pgp
Description: PGP signature


Re : pb kpkg

2004-01-17 Par sujet Jean-Luc Coulon (f5ibh)

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 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 currently

installed.)

 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 (version

2.4.18)

 This will not work unless you have configured your boot loader to

use

 initrd. (An initrd image is a kernel image that expects to use an

INITial

 Ram Disk to mount a minimal root file system into RAM and use that

for

 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 have

already

done
 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 do

not,

 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 mkinitrd


Il 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 donc
adapté pour un noyau qui doit supporter une multitude de  
configurations

diffé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


Re: pb kpkg

2004-01-17 Par sujet Farid Messaoud

Frédéric Bothamy wrote:


* Farid Messaoud [EMAIL PROTECTED] [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 currently installed.)
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 (version 2.4.18)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
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 have already 
 


done
   


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 do not,
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 mkinitrd
   



Il 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 donc
adapté pour un noyau qui doit supporter une multitude de configurations
différentes (comme le noyau Debian de base). L'intérêt est limité pour
un noyau compilé.


Fred

 


C bon cela fonctionne maintenant, merci  ; )

En fait j'ai appliqué une multitude de patches au noyau de base pour 
avoir une compatibilitée à tout épreuve sur bcp d'architectures d'ou initrd.