[Newbie] Modifier l'ordre du boot

Salut à tous,

Avec une installation fraiche de DEBIAN sur mon PC, au démarrage, j’ai le choix entre DEBIAN et WINDOWS, mais le problème, c’est que je voudrais modifier cet ordre, car par défaut, c’est DEBIAN qui est séléctionné, et j’ai à peine 5 secondes pour changer. Je voudrais donc opérer un changement sur le boot, pour rallonger le temps pour le choix et modifier aussi l’ordre des SE.

Comment je peux faire ça ?

Merci

Tu modifies la ligne timeout dans le fichier /boot/grub/menu.lst.
5 secondes chez moi:

[quote="/boot/grub/menu.lst"]## timeout sec

Set a timeout, in SEC seconds, before automatically booting the default entry

(normally the first entry defined).

timeout 5[/quote]
Et pour modifier l’ordre du boot, tu les mets dans le bon ordre tjs dans /boot/grub/menu.lst.
Chez moi:

[quote="/boot/grub/menu.lst"]title Debian GNU/Linux, kernel 2.6.18lol1
root (hd0,0)
kernel /boot/vmlinuz-2.6.18lol1 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18lol1
savedefault

title Debian GNU/Linux, kernel 2.6.18lol1 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18lol1 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.18lol1
savedefault

title Debian GNU/Linux, kernel 2.6.18-3-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-3-686 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18-3-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-3-686 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-3-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.18-3-686
savedefault
[/quote]

salut

pour l’ordre des OS, dans ce même /boot/grub/menu.lst,mets celui que tu veux en premier.Le copié-collé fonctionne dans le terminal.Modifs à faire en root :

Pour enregistrer : Ctrl + o
pour fermer : Ctrl + x
Fais une sauvegarde avant :

Edit:
ooops,je t’avais pas vu yanlolot !

Ouais enfin c’est violent de déplacer le texte alors qu’il y a une ligne à changer pour lui dire quel ligne lire en premier… :wink:

[quote]## 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’.

WARNING: If you are using dmraid do not change this entry to ‘saved’ or your

array will desync and will not let you boot your system.

default 0
[/quote]

0 correspond à la première ligne de démarrage, 1 la deuxième, etc.
Et comme expliqué, si tu mets « savedefault » à la place d’un chiffre, il sélectionne par défaut le dernier truc qui a été démarré.