Compilation de linux

kfcr Messages postés 1 Date d'inscription   Statut Membre Dernière intervention   -  
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
j'ai un problème de compilation du noyau linux,
j'utilise sur mon portable SUSE 10.2 doté du noyau 2.6.18 et j'ai téléchargé un noyau 2.6.24 j'ai suivi les étapes de compilation (décompression dans le repertoire /usr/src/linux-2.6.24 ; utilisation des commandes make mrproper, make menuconfig, "ici ne sachant pas exactement quoi accepté ni quoi refuser j'ai pris la configuration par défaut" , make dep , make clean, make bzImage, make modules.
Pour l'installation, comme mon objectif est d'installer et faire cohabiter les deux noyaux 2.6.18 et 2.6.24, j'ai copier et renomer (en ajoutant la version) l'Image du noyau bzImage dans le repertoire /boot ainsi que le fichier system.map; l'étape suivante est normalement de faire make install mais quand je le fait il m'affiche ce méssage:




mylord:/usr/src/linux-2.6.24.4 # make install

sh /usr/src/linux-2.6.24.4/arch/x86/boot/install.sh 2.6.24.4-default arch/x86/boot/bzImage System.map "/boot"

You may need to create an initial ramdisk now.

mylord:/usr/src/linux-2.6.24.4 # mkinitrd

Root device: /dev/sda6 (mounted on / as ext2)

Module list: processor thermal piix ahci fan edd (xennet xenblk)



Kernel image: /boot/vmlinuz-2.6.18.2-34-default

Initrd image: /boot/initrd-2.6.18.2-34-default

Adding the root filesystem module (ext2)

Shared libs: lib/ld-2.5.so lib/libacl.so.1.1.0 lib/libattr.so.1.1.0 lib/libblkid.so.1.0 lib/libc-2.5.so lib/libcom_err.so.2.1 lib/libdl-2.5.so lib/libext2fs.so.2.4 lib/libhistory.so.5.1 lib/libncurses.so.5.5 lib/libpthread-2.5.so lib/libreadline.so.5.1 lib/librt-2.5.so lib/libutil-2.5.so lib/libuuid.so.1.2 lib/libvolume_id.so.0.73.0 lib/libnss_files-2.5.so lib/libnss_files.so.2 lib/libgcc_s.so.1

Driver modules: ide-core ide-disk scsi_mod sd_mod processor thermal piix libata ahci fan edd

Filesystem modules: mbcache ext2

Including: initramfs fsck.ext2

Bootsplash: SuSE (800x600)

14374 blocks

mylord:/usr/src/linux-2.6.24.4 # make install

sh /usr/src/linux-2.6.24.4/arch/x86/boot/install.sh 2.6.24.4-default arch/x86/boot/bzImage System.map "/boot"

You may need to create an initial ramdisk now.





j'ai essayé de créer un fichier Initrd mais je ne sais pas comment m'y prendre pour résoudre ce problème ; s'il vous plait donnez moi un coup de main.
A voir également:

2 réponses

jeanbi Messages postés 15119 Date d'inscription   Statut Contributeur Dernière intervention   2 184
 
bonjour,
il n'aurait pas ete plus simple de charger cela avec yast non !!!
a+
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
bonjour,

vraiment dans la mesure ou on ne peut pas faire autrement ......que donne les commandes suivantes :
ls -l /usr/src/
ls -l /boot/
0