UBUNTU

Résolu/Fermé
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 - 7 mai 2006 à 13:31
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 - 7 mai 2006 à 16:41
Bonjour il y à 2-semaine que j'ai installé UBUNTU sur mon disque dur où il y avait déjà le windows xp mais chaque fois quand je démarre l'ordinateur j'ai un ecran qui s'affiche pour que je puisse fair un choix entre UBUNTU et le Windows xp.
Comment je peux fair pour que par defaut c'est le windows se démarre et pas UBUNTU j'ai cherché bcp mais j'ai pas trouvé cet option.

Si vous pouvez m'aider.

Merci beaucoup.
A voir également:

12 réponses

Phiphi57 Messages postés 789 Date d'inscription samedi 26 février 2005 Statut Contributeur Dernière intervention 19 juillet 2009 295
7 mai 2006 à 13:39
Salut!

alors, je ne sais pas s'il existe un outil graphique pour faire ca, mais sinon, il suffit d'éditer le fichier de configuration adéquate : ouvres une console, et édites le fichier /boot/grub/menu.lst
et modifie le numéro "défaut" pour demander windows comme défaut.

si tu as un doute, donne nous le contenu de ton ficher /boot/grub/menu.lst

Phiphi
0
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 14:23
Voila le contenu de mon fichier menu.list
Mais je n'ai pas compris ce que je dois changer et avant de faire des betises j'aierais que vous me disiait ce que je dois faire

Merci




# 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 0

## 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 specifiv 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=root=/dev/hda8 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)

## 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

## 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

## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

## 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=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## ## End Default Options ##

title Ubuntu, kernel 2.6.12-10-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot

title Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.12-10-386
boot

title Ubuntu, kernel 2.6.12-9-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

title Ubuntu, memtest86+
root (hd0,7)
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 Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1

Voila le contenu de mon fichier menu.list
Mais je n'ai pas compris ce que je dois changer et avant de faire des betises j'aierais que vous me disiait ce que je dois faire

Merci



# 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 0

## 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 specifiv 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=root=/dev/hda8 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)

## 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

## 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

## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

## 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=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## ## End Default Options ##

title Ubuntu, kernel 2.6.12-10-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot

title Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.12-10-386
boot

title Ubuntu, kernel 2.6.12-9-386
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

title Ubuntu, memtest86+
root (hd0,7)
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 Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
0
Zempachi Messages postés 7472 Date d'inscription vendredi 14 octobre 2005 Statut Contributeur Dernière intervention 5 juin 2020 906
7 mai 2006 à 14:26
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 895
7 mai 2006 à 14:37
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 14:37
Choix du système d'exploitation par défaut
Par défaut, c"est Ubuntu qui se charge, mais vous préféreriez que ce soit Windows?

Au menu de Grub, vérifiez à quelle position se trouve Windows dans votre menu.

Puis, soustrayez 1 à ce nombre.

Enfin, dans Ubuntu, ouvrez le fichier /boot/grub/menu.lst tel que décrit à l"étape précédente et recherchez la ligne suivante:

default 4


Remplacez 0 par le nombre que vous avez obtenu.


En lisant ce doc j'ai pas trouvé la ligne default 4
Et à quel nombre je doit soustrayez 1
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 895
7 mai 2006 à 14:45
Re-

Essaie : default 5 ou default 6

Y'a un truc qui me gène dans ton fichier de conf :
title Other operating systems:
root

C'est pour ça que je suis indécis sur le choix, mais un des deux doit marcher sinon ;-))
0
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 15:19
Ca ne fonction tjs pas j'ai essayé avec defaut 1, 2, 3 ,4, 5, 6, 7 il me met tjs sur le meme ligne le ligne qui s'appele meme test
J'ai au total quand je demarre l'ordinateur 7-ligne et des que je change la valeur 0 par une autre valeur automatiquement il me met pendant le demarrage de l'ordinateur sur le ligne memtest

Est-ce que je dois encore changer d'autres chose?
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 895
7 mai 2006 à 15:20
Tu fais comment pour modifier ton fichier ?
Avec quel éditeur de texte ?
Es-tu bien en "root" ?
0
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 15:27
J'ouvre le Terminal après je tape su après mon mot de passe et enfin je tape gedit le programme s'ouvre et apres je clique sur ouvrire un fichier et j'ouvre menu.lst je fais les modification et je l'inregistre voila.

Je fais une erreur?
0
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 15:30
Pour ce message je crois c'est parce que une partie de mon disque dur n'est pas format" ni configurer cette partie est totalement vide et n'as j'amais etait formate
Jpense pour ca que ubuntu donne le choix de demarrer a partire de cette partie Other operating systems:
Other operating systems:
root
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 895
7 mai 2006 à 15:44
Other operating systems:
root

Bon tout compte fait cette ligbe est normale ;-))

Par contre dans ton fichier de conf (menu.lst), essaie de rajouter un dièse (#) comme ci-après en gras et de supprimer celui devant "memtest86=false" :
## should update-grub create memtest86 boot option
## e.g. memtest86=true
# memtest86=false
## memtest86=true 
Je garantie rien, mais sait-on jamais ;-))
0
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 15:53
Merci bcp tu m'as bcp aider efectivement c'etait le numéro 6
alors je ne sais pas comment mais re lu mon fichier menu.lst et j'ai constaté que apres la ligne defaut 4
J'avais coller les ligne suivant et pourtant je ne me rappelle pas d'avoire fait ca surement c'est le fruit de par hasard

<<<<<<<<<<Au menu de Grub, vérifiez à quelle position se trouve Windows dans votre menu.

Puis, soustrayez 1 à ce nombre.

Enfin, dans Ubuntu, ouvrez le fichier /boot/grub/menu.lst tel que décrit à l"étape précédente et recherchez la ligne suivante:

default 4>>>>>


Après avoire completement supprimer ces lignes et enregistrant le fichier j'ai redemarre l'ordinateur et ca fonction.


Désole pour mon copier coller

Et encore merci à vous tous ---::::))))
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 895
7 mai 2006 à 15:58
Tout est bien qui finit bien, c'est le principal ;-))
0
POPOK Messages postés 138 Date d'inscription lundi 24 janvier 2005 Statut Membre Dernière intervention 13 avril 2011 41
7 mai 2006 à 16:41
oui :):):):):):):
0