Bonjour.
Depuis la mise à jour de mon systeme en Lenny et du Noyau 2.6.26 je n’arrive plus à utiliser la commande savedefault.
Le fichier /boot/grub/default contient la valeur 1 suite à la commande grub-set-default 1
Mais au reboot il démarre toujours sur la première entrée ?
d’ou peut venir le problème ?
voici mon fichier menu.lst
[code]# menu.lst - See: grub(8), info grub, update-grub(8)
grub-install(8), grub-floppy(8),
grub-md5-crypt, /usr/share/doc/grub
and /usr/share/doc/grub-doc/.
default num
Set the default entry to the entry number NUM. Numbering starts from 0, and
the entry number 0 is the default if the command is not used.
You can specify ‘saved’ instead of a number. In this case, the default entry
is the entry saved with the command ‘savedefault’.
default saved
timeout sec
Set a timeout, in SEC seconds, before automatically booting the default entry
(normally the first entry defined).
timeout 5
…
## End Default Options
title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.26-2-686
savedefault
title PowerOff
root (hd0,0)
savedefault 0
halt
title Debian GNU/Linux, kernel 2.6.26-2-686 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.18vdr
root (hd0,0)
kernel /boot/vmlinuz-2.6.18vdr root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18vdr
title Debian GNU/Linux, kernel 2.6.18vdr (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18vdr root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.18vdr
title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.8-2-386
title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.8-2-386
END DEBIAN AUTOMAGIC KERNELS LIST[/code]
la version de Grub
root@vdrbox:~# apt-cache policy grub
grub:
Installé : 0.97-47lenny2
Candidat : 0.97-47lenny2
Table de version :
*** 0.97-47lenny2 0
500 http://ftp.fr.debian.org lenny/main Packages
100 /var/lib/dpkg/status
root@vdrbox:~#