Pages : 1
#1 Le 24/11/2006, à 18:24
- Henri-Louis
Ordre de Boot
D'abord bonjour à tous,
Je viens d'installer Ubuntu 6.10 et je n'ai pas eu de problèmes particuliers pendant l'installation.
Ubuntu est installé en Dualboot avec Windows et j'ai actuellement un problème avec l'instalation des drivers wifi pour Linux et n'ai pas le temps de le résoudre dans l'immédiat. Je souhaiterais donc que mon ordinateur boot par défault (1er dans la liste) sur windows. Or dans la liste présentée au démarage Linux est premier et boot automatiquement au bout de 10s si je ne suis pas a coté pour selectionner windows.
Je voudrais donc savoir comment on peut modifier l'ordre de cette liste.
Merci d'avance pour vos réponses.
Au revoir Henri-Louis
#2 Le 24/11/2006, à 18:41
- best_friend_fr
Re : Ordre de Boot
Bonjour
Il te suffit d'éditer le fichier /boot/grub/menu.lst
Change la ligne default =
Et le tour est joué
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 24/11/2006, à 18:43
- misaine
Re : Ordre de Boot
il faut que tu changes dans le fichier /boot/grub/menu.lst le N° attribué a defaut
## 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
un exemple
0 Ubuntu, kernel 2.6.15-27-386
1 Ubuntu, kernel 2.6.15-27-386 (recovery mode)
2 Ubuntu, memtest 86+
3 Other operating systems :
4 Microsoft Windows 2000 Professionnel
dans mon exemple tu mets 4
a adapter a ta situation
grilled...
Dernière modification par misaine (Le 24/11/2006, à 18:45)
la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.
Hors ligne
#4 Le 24/11/2006, à 18:43
- Henri-Louis
Re : Ordre de Boot
Merci beaucoup je fais ca tout de suite
#5 Le 26/11/2006, à 18:54
- laurent1981
Re : Ordre de Boot
Et dans mon cas ou j'ai ceci, où dois-je apposer le "0" pour que Windows boot en premier ?
## ## End Default Options ##
title Ubuntu, kernel 2.6.15-27-k7
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-k7 root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-k7
savedefault
boot
title Ubuntu, kernel 2.6.15-27-k7 (recovery mode)
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-k7 root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.15-27-k7
boot
title Ubuntu, kernel 2.6.15-27-386
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-386
savedefault
boot
title Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.15-27-386
boot
title Ubuntu, kernel 2.6.15-26-386
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-386
savedefault
boot
title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.15-26-386
boot
title Ubuntu, memtest86+
root (hd0,11)
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 Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
J'ai bien tenté de mettre un "0" après "savedefault" dans les lignes de windows, mais ca n'a rien changé...
Merci...
Hors ligne
#6 Le 26/11/2006, à 19:13
- laurent1981
Re : Ordre de Boot
En essayant, je viens de trouver...
Il suffit donc de copier les lignes relatives a windows et de les mettre en premiere position, donc avant les lignes linux.
Comme ceci :
## ## End Default Options ##
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1title Ubuntu, kernel 2.6.15-27-k7
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-k7 root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-k7
savedefault
boottitle Ubuntu, kernel 2.6.15-27-k7 (recovery mode)
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-k7 root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.15-27-k7
boottitle Ubuntu, kernel 2.6.15-27-386
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-386
savedefault
boottitle Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.15-27-386
boottitle Ubuntu, kernel 2.6.15-26-386
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda12 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-386
savedefault
boottitle Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root (hd0,11)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda12 ro single
initrd /boot/initrd.img-2.6.15-26-386
boottitle Ubuntu, memtest86+
root (hd0,11)
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 Other operating systems:
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
Et ca marche...
Ya juste que j'ai alors deux lignes reprenant windows, puisque je n'ai pas supprimé la fin...
En haut et en bas...
Hors ligne
#7 Le 26/11/2006, à 22:34
- misaine
Re : Ordre de Boot
@laurent1981 tu es libre de faire ça mais ce n'est pas du tout ce que j'ai expliqué
la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.
Hors ligne
Pages : 1