[gull] Installation du kernel 2.6.1

Mitch tentaal at yahoo.fr
Mon Jan 26 21:13:01 CET 2004


Bonjour,

J'ai tenté d'ajouter le kernel 2.6.1 sur un poste qui
contient une distribution Mandrake 9.2 (2.4.22-10). Je
m'attendais à des effets de bords mais c'est pire,
impossible de démmarer sur le nouveau noyau. J'ai des
lacunes dans ce domaine... Voici la procédure que j'ai
suivie :

décompressé linux-2.6.1.tar.bz2 dans /usr/src
make xconfig
make dep && bzImage &&  modules
make modules_install

Aucune erreur à ce stade

j'ai copié bzImage dans /boot/2.6.1/bzImage-2.6.1
J'ai copié le System.map-2.6.1 dans
/boot/2.6.1/System.map-2.6.1 (Je ne vois pas l'utilité
de ce fichier)
J'ai crée un fichier initrd-2.6.1.img (Je ne vois pas
l'utilité de ce fichier --??)
--> mkinitrd initrd-2.6.1.img 2.6.1
J'ai créé 2 liens symboliques :
ln -s System.map-2.6.1 System.map
ln -s initrd-2.6.1.img initrd.img

J'ai modifié /etc/lilo.conf :

map=/boot/map
default="linux"
keytable=/boot/fr_CH-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
        label="linux"
        root=/dev/hda5
        initrd=/boot/initrd.img
        append="devfs=mount hdc=ide-scsi hdd=ide-scsi
acpi=ht"
        read-only
image=/boot/vmlinuz
        label="failsafe"
        root=/dev/hda5
        initrd=/boot/initrd.img
        append="devfs=nomount hdc=ide-scsi hdd
ide-scsi acpi=ht failsafe"
        read-only
image=/boot/2.6.1/bzImage-2.6.1
        label="Kernel-2.6.1"
        initrd=/boot/2.6.1/initrd.img
        append="devfs=nomount hdc=ide-scsi hdd
ide-scsi acpi=ht failsafe"
other=/dev/fd0
        label="floppy"
        unsafe

puis lancé lilo -v


En démarrant sur le nouveau kernel j'obtiens ces
messages
 .
ext3 : Unknown Symbol journal_restart
error inserting '/lib/ext3.ko' :-1 Unknown Symbol
.
.
.
Mounting root filesystem
mount: error 19 mounting ext3 flags defaults
.
.
.
pivot root: pivot_root (/sysroot, /sysroot/initrd)
failed:2
kernel panic : No init found. Try passing init=option
to kernel

Mon approche est elle  à côté de la plaque? :)

Merci d'avance.

Michel

_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the gull mailing list