#1 Le 12/03/2007, à 23:32
- Jean-lux
[GRUB] Démarrer sur le derniers système utilisé ?
Bonsoir,
Je voudrais savoir comment faire pour que GRUB se place sur le dernier système utilisé au démarrage ?
Merci
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#2 Le 12/03/2007, à 23:39
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Salut
Va voir de ce coté
http://www.gnu.org/software/grub/manual/grub.html#savedefault
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#3 Le 12/03/2007, à 23:44
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Désolé, mais je ne suis vraiment vraiment vraiment par fort en Anglais !!!
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#4 Le 12/03/2007, à 23:46
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Il faut éditer le fichier
/boot/grub/menu.lst
et remplacer le
default 0
par
default saved
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#5 Le 12/03/2007, à 23:51
- alejandro
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Il faut éditer le fichier
/boot/grub/menu.lstet remplacer le
default 0
par
default saved
Merci beaucoup pour cette explication!!
#6 Le 13/03/2007, à 00:06
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
non, cela ne fonctionne toujours pas !!!
Voici mon menu.lst
# 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'.
# 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 saved## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu# Pretty colours
#color cyan/blue white/blue## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
##
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=012e02b3-26fd-402b-8962-050055fdc7d0 ro
# kopt_2_6=root=/dev/hda5 ro## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=1## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=truegfxmenu (hd0,4)/boot/grub/message.ublues
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.17-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-11-generic
boottitle Debian GNU/Linux, kernel 2.6.17-11-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boottitle Debian GNU/Linux, kernel memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
boot### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Autres systemes d'exploitation :
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP dition familiale
root (hd0,0)
savedefault
makeactive
chainloader +1
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#7 Le 13/03/2007, à 00:10
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Il faut ajouter un
savedefault
entre les lignes
title Debian GNU/Linux, kernel 2.6.17-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boot
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#8 Le 13/03/2007, à 00:27
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Fontionne toujours pas
# 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'.
# 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 saved## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu# Pretty colours
#color cyan/blue white/blue## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
##
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=012e02b3-26fd-402b-8962-050055fdc7d0 ro
# kopt_2_6=root=/dev/hda5 ro## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=1## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=truegfxmenu (hd0,4)/boot/grub/message.ublues
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.17-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boottitle Debian GNU/Linux, kernel 2.6.17-11-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boottitle Debian GNU/Linux, kernel memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
boot### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Autres systemes d'exploitation :
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP dition familiale
root (hd0,0)
savedefault
makeactive
chainloader +1
Edit : Je souahite que cette options fonctionne que sur Microsoft Windows XP Édition familiale & Debian GNU/Linux, kernel 2.6.17-11-generic
Dernière modification par Jean-lux (Le 13/03/2007, à 00:36)
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#9 Le 13/03/2007, à 00:37
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
ben normalement, ca devrait ...
Essaye de mettre
default 2
ou
default 3
pour voir si la commande est bien prise en compte...
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#10 Le 13/03/2007, à 09:30
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
ben normalement, ca devrait ...
Essaye de mettre
default 2
ou
default 3pour voir si la commande est bien prise en compte...
cela me permet seulement de choisir sur quel ligne ce placer au démarrage, mais cela ne permet de se placer sur le dernier système utilisé.
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#11 Le 13/03/2007, à 11:30
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Et quel est le comportement quand tu mets
default saved ?
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#12 Le 13/03/2007, à 11:57
- figaro
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Le default saved permet que le boot se fasse automatiquement sur le dernier système booté, mais en aucune façon ne change l'ordre de la liste.
Il faut laisser Grub booter tout seul et ne pas choisir un système, et alors le boot se fera sur le dernier système utilisé à condition que la ligne savedefault soit présente dans sa procédure de boot.
Dernière modification par figaro (Le 13/03/2007, à 11:58)
Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04
Hors ligne
#13 Le 13/03/2007, à 12:15
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
cela me permet seulement de choisir sur quel ligne ce placer au démarrage, mais cela ne permet de se placer sur le dernier système utilisé.
Ben, je comprends pas la différence.
Cela permet de choisir la ligne par défaut, et tu attends 10 secondes, et ca boot, non?
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#14 Le 13/03/2007, à 18:21
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Ouai, mais des fois je vais sur Windows:P et des fois je vais sur Ubuntu:cool: , mais quand Windows redémarre tout seule, grub démarre a partir de 10 sec. sur Ubuntu et pas Windows.
Donc c'est pour ça que je veux que grub ce place directement sur le dernier système utilisé.
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#15 Le 13/03/2007, à 18:23
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Et quel est le comportement quand tu mets
default saved ?
Grub continue a démarrer sur Ubuntu alors que je viens de mettre Windows XP
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#16 Le 13/03/2007, à 18:46
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Salut
Essaye de mettre
savedefault 0
à la place du premer savedefault
et
savedefault 4
à la place du 2e.
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#17 Le 13/03/2007, à 19:06
- figaro
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Ouai, mais des fois je vais sur Windows:P et des fois je vais sur Ubuntu:cool: , mais quand Windows redémarre tout seule, grub démarre a partir de 10 sec. sur Ubuntu et pas Windows.
Donc c'est pour ça que je veux que grub ce place directement sur le dernier système utilisé.
qu'est-ce que tu veux faire exactement car tu n'es pas clair dans tes explications ?
Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04
Hors ligne
#18 Le 13/03/2007, à 19:16
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Tu peux pas modifier mon les trucs de mon menu.lst toi même stp ?
Merci
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#19 Le 13/03/2007, à 19:52
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
ben, c'est clair.
Au lieu de mettre savedefault, tu mets savedefault et un numéro derrière, qui est censé etre le système surligné au démarrage suivant.
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#20 Le 13/03/2007, à 19:52
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Je veux que GRUB démarre le dernier système utilisés au bout de 10 sec.
Ex.: Je démarre Windows, (je fait mes trucs), puis je fait redémarrer (Démarrer/Fermer la session/Redémarrer) et la Grub se positionne automatiquement sur Windows XP Edition Familiale et le démarre au bout de 10 sec.
Puis je quitte Windows, je vais sur Ubuntu, je redémarre (Système/Quitter/Redémarrer) et la... Grub se positionne automatiquement sur Ubuntu et le démarre au bout de 10 sec.
Donc je veux tout simplement que GRUB se place sur le dernier système utilisé et le démarre au bout de 10 sec.
J'espère que c'est assez clair
Merci.
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#21 Le 13/03/2007, à 19:58
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Normalement, ca se fait en mettant
saved
comme option de default
et savedefault pour les entrées concernées.
Essaye ce que je t'ai dit.
Si ca ne marche pas, controle le contenu de /boot/grub/default
pour voir ce qui ne marche pas.
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne
#22 Le 13/03/2007, à 20:04
- figaro
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Je démarre Windows, (je fait mes trucs), puis je fait redémarrer (Démarrer/Fermer la session/Redémarrer) et la Grub se positionne automatiquement sur Windows XP Edition Familiale et le démarre au bout de 10 sec.
Cela se fera si tu as mis l'option dans la configuration générale: default saved et si tu as mis savedefault dans le menu pour Windows.
Puis je quitte Windows, je vais sur Ubuntu, je redémarre (Système/Quitter/Redémarrer) et la... Grub se positionne automatiquement sur Ubuntu et le démarre au bout de 10 sec.
Pour qu'il redémarre sur Ubuntu tu devras le choisir dans la liste. Mais ensuite au boot suivant il redémarrera automatiquement sur Ubuntu seulement si tu as mis savedefault dans le menu pour Ubuntu.
Grub gardes en mémoire le dernier OS booté (à condition que savedefault soit dans la liste pour chaque OS) comme OS par défaut. Ne lui demandes pas de deviner ce que toi tu veux : il ne peut pas le pauvre.
Dernière modification par figaro (Le 13/03/2007, à 20:12)
Le blog de figaro (astuces diverses et tutos Samba pour débutants)
Le blog de cep (astuces Linux avancées)
Debian Lenny 6.0.1, Ubuntu 10.04.2, Ubuntu Remix 9.10, Ubuntu Netbook 10.04
Hors ligne
#23 Le 13/03/2007, à 23:32
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Jean-lux a écrit :Je démarre Windows, (je fait mes trucs), puis je fait redémarrer (Démarrer/Fermer la session/Redémarrer) et la Grub se positionne automatiquement sur Windows XP Edition Familiale et le démarre au bout de 10 sec.
Cela se fera si tu as mis l'option dans la configuration générale: default saved et si tu as mis savedefault dans le menu pour Windows.
Jean-lux a écrit :Puis je quitte Windows, je vais sur Ubuntu, je redémarre (Système/Quitter/Redémarrer) et la... Grub se positionne automatiquement sur Ubuntu et le démarre au bout de 10 sec.
Pour qu'il redémarre sur Ubuntu tu devras le choisir dans la liste. Mais ensuite au boot suivant il redémarrera automatiquement sur Ubuntu seulement si tu as mis savedefault dans le menu pour Ubuntu.
Grub gardes en mémoire le dernier OS booté (à condition que savedefault soit dans la liste pour chaque OS) comme OS par défaut. Ne lui demandes pas de deviner ce que toi tu veux : il ne peut pas le pauvre.
Justement, c'est ça que je veux faire, merci figaro
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#24 Le 13/03/2007, à 23:37
- Jean-lux
Re : [GRUB] Démarrer sur le derniers système utilisé ?
Justement, j'ai fait comme a dit figaro, mais ça ne fonctionne toujours pas !
Mon menu.lst :
# 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'.
# 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 saved## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu# Pretty colours
#color cyan/blue white/blue## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
##
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=012e02b3-26fd-402b-8962-050055fdc7d0 ro
# kopt_2_6=root=/dev/hda5 ro## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=1## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=truegfxmenu (hd0,4)/boot/grub/message.ublues
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.17-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-11-generic
savedefault
boottitle Debian GNU/Linux, kernel 2.6.17-11-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boottitle Debian GNU/Linux, kernel memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
boot### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Autres systemes d'exploitation :
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP dition familiale
root (hd0,0)
savedefault
makeactive
chainloader +1
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
#25 Le 13/03/2007, à 23:44
- best_friend_fr
Re : [GRUB] Démarrer sur le derniers système utilisé ?
essaye de mettre des numéros après tes savedefault.
Et regarde ce que contient
/boot/grub/default
après les démarrages.
sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr
Hors ligne