Ds l’ordre : le update-grub plante au m^ endroit :
ricardod2@lns-vlq-16-mar-82-255-31-186:~$ su -
Password:
lns-vlq-16-mar-82-255-31-186:~# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz
Mon menu.lst complet et qui me permet bien d’entrer ds (presque tout : Fedora plante mais je m’en fous)
[code]## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.8-2-686
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-2-686 (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux, kernel 2.6.8-ricardo-2.6.8
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-ricardo-2.6.8 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.8-ricardo-2.6.8
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-ricardo-2.6.8 (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-ricardo-2.6.8 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.8-ricardo-2.6.8
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux, kernel 2.4.27-1-386
root (hd0,6)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda7 ro
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.4.27-1-386 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux, kernel 2.6.9-2-386
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-2-386 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.9-2-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.9-2-386 (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-2-386 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.9-2-386
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
END DEBIAN AUTOMAGIC KERNELS LIST
This is a divider, added to separate the menu items below from the Debian
ones.
title Other operating systems:
root
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda1.
title Fedora Core release 2 (Tettnang) (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.5-1.358 root=/dev/hda1
savedefault
boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda5.
title AUROX Linux distribution (on /dev/hda5)
root (hd0,4)
kernel /boot/vmlinuz-2.4.22-1.2188.nptl root=/dev/hda5
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux_1er, kernel 2.4.27-1-386
root (hd0,5)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda6 ro
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
[/code]
résultat de ls -l /boot
[code]## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.8-2-686
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-2-686 (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux, kernel 2.6.8-ricardo-2.6.8
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-ricardo-2.6.8 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.8-ricardo-2.6.8
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-ricardo-2.6.8 (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-ricardo-2.6.8 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.8-ricardo-2.6.8
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux, kernel 2.4.27-1-386
root (hd0,6)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda7 ro
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.4.27-1-386 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux, kernel 2.6.9-2-386
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-2-386 root=/dev/hda6 ro
initrd /boot/initrd.img-2.6.9-2-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.9-2-386 (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-2-386 root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.9-2-386
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
END DEBIAN AUTOMAGIC KERNELS LIST
This is a divider, added to separate the menu items below from the Debian
ones.
title Other operating systems:
root
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda1.
title Fedora Core release 2 (Tettnang) (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.5-1.358 root=/dev/hda1
savedefault
boot
This entry automatically added by the Debian installer for an existing
linux installation on /dev/hda5.
title AUROX Linux distribution (on /dev/hda5)
root (hd0,4)
kernel /boot/vmlinuz-2.4.22-1.2188.nptl root=/dev/hda5
savedefault
boot
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
title Debian GNU/Linux_1er, kernel 2.4.27-1-386
root (hd0,5)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda6 ro
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
[/code]
résultat de ls -l /boot :
ricardod2@lns-vlq-16-mar-82-255-31-186:~$ su -
Password:
lns-vlq-16-mar-82-255-31-186:~# ls -l /boot
total 13768
-rw-r--r-- 1 root root 864503 Dec 31 18:35 System.map
-rw-r--r-- 1 root root 541783 Dec 1 12:29 System.map-2.4.27-1-386
-rw-r--r-- 1 root root 841849 Jan 9 01:00 System.map-2.6.8-2-686
-rw-r--r-- 1 root root 44853 Dec 1 11:42 config-2.4.27-1-386
-rw-r--r-- 1 root root 55379 Jan 8 22:39 config-2.6.8-2-686
drwxr-xr-x 2 root root 4096 Jan 8 19:11 grub
-rw-r--r-- 1 root root 3878912 Jan 2 01:04 initrd.img-2.4.27-1-386
-rw-r--r-- 1 root root 4734976 Jan 17 00:51 initrd.img-2.6.8-2-686
-rw-r--r-- 1 root root 1092090 Dec 31 18:35 vmlinuz
-rw-r--r-- 1 root root 816054 Dec 1 12:28 vmlinuz-2.4.27-1-386
-rw-r--r-- 1 root root 1163114 Jan 9 01:00 vmlinuz-2.6.8-2-686
lns-vlq-16-mar-82-255-31-186:~#
Pour le grub/menu.lst, tu l’as en tête de cette liste
Pour le /usr/src/ : il est vide car c’est moi qui en ai fait le ménage.
Je m’explique :
En dehors de Fedora et de Aurox qui ne ns intéressent pas ici,
Au départ, j’ai créé une “test_1”(2.4.27) sur le hda6.((la dernière ds la liste))
Rappelle-toi que j’avais eu des problèmes qui ont été réglés ensuite avec ton aide et Knoppix.
En attendant cette réparation, j’avais créé une deuxième “test_2”(2.4.27) sur le hda7 donc une partoche différente.((en 3ème position ds la liste))
Comme c’est la dernière créée, c’est elle qui gère le grub
mais c’est aussi celle-là qui merde.
Comme les essais de compil étaient infructueux à partir de cette “test_2” et que la “test_1” était de nouveau fonctionnelle, j’ai retenté mes essai de mutation --> 2.6xx, à partir de cette dernière.
Ces différents essais sont + ou - concluants, puisque je ne suis pas sûr qu’ils soient bien compilés mais ils fonctionnent et sont ts sur hda6, bien sûr : 2.6.8-2-686 ((premier ds la liste))
2.6.8-ricardo-2.6.8 ((2ème ds la liste et peut-être le seul qui soit bien compilé puisque le nom a été ajouté))
2.6.9-2-386 ((4ème ds la liste))
Je pense que le plus sage serait de ne pas se prendre la tête avec la “test_2”(2.4.27) puisque j’en ai maintenant assez pour m’amuser.
Ns verrons par la suite comment résoudre qq petits problèmes mineurs, il me semble, de compilation.
Le problème que j’aimerais résoudre maintenant, c’est de virer cette “test_2” tout en reprenant le départ de grub sur hda6 alors qu’actuellement, il est sur hda7 et ça je ne sais pas faire.