Hello tout le monde…
Je viens de compiler un noyau 2.6.8.1 (j’avais le noyau de base de la sarge: 2.4.27-1-386)
Voici la méthode utilisée (# = root; % = user)
- decompression des soures
% cd /usr/src
% tar xvjf linux-2.6.8.1.tar.bzip2
% ln -sfn linux-2.6.8.1 linux
% cd linux
- configuration du noyau
% make menuconfig
juske la rien d’interessant…
- installation du noyau
% make
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.8.1
# cp System.map /boot/System.map-2.6.8.1
# cp .config /boot/config-2.6.8.1
# cd /
# mv vmlinuz vmlinuz.old
# ln -sf boot/vmlinuz-2.6.8.1 vmlinuz
donc la voila on est content
maintenant, avec Grub, comment on fait pour ecrire les changement de boot?
Avec lilo je sais comment faire, mai pas avec grub : /
Du coup je l’ai tenté à la main et G droit a un bo kernel panic
voici un extrait du fichier de boot de grub ‘/boot/grub/menu.lst’
title Debian GNU/Linux, kernel 2.6.8.1
root (hd0,4)
kernel /boot/vmlinuz-2.6.8.1 root=/dev/hda5 ro noapic acpi=no
title Debian GNU/Linux, kernel 2.4.27-1-386
root (hd0,4)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda5 ro noapic acpi=no
initrd /boot/initrd.img-2.4.27-1-386
bon ben pour le kernel 2.6.8.1 G pas d’initrd.img donc G viré le champs…
KERNEL PANIC : /