IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration système Discussion :

Problème boot XP/Ubuntu


Sujet :

Administration système

  1. #1
    Membre habitué
    Inscrit en
    Septembre 2005
    Messages
    747
    Détails du profil
    Informations forums :
    Inscription : Septembre 2005
    Messages : 747
    Points : 174
    Points
    174
    Par défaut Problème boot XP/Ubuntu
    Bonjour,

    j'ai un très gros problème car je n'ai plus Windows XP dans mon PC qui était booté avec Ubuntu
    Ce matin ,j'ai reçu un message me demandant d'installer les mises à jour,ce que j'ai fait.

    Maitenant lorsque je démarre le PC ,je n'ai que Ubuntu comme choix et le net n'est plus présent sur Ubuntu(je suis conncté à un autre PC)


    J'aurais besoin d'aide car je ne sais pas comment faire.


    Merci d'avance de votre aide

  2. #2
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    'ai un très gros problème car je n'ai plus Windows XP dans mon PC qui était booté avec Ubuntu
    Ce matin ,j'ai reçu un message me demandant d'installer les mises à jour,ce que j'ai fait.

    Maitenant lorsque je démarre le PC ,je n'ai que Ubuntu comme choix
    ben il a dû supprimer l'entrée windows dans ton gestionnaire de démarrage (grub sous ubuntu je crois...)

    tout est dans ce fichier /boot/grub/menu.lst

  3. #3
    Membre habitué
    Inscrit en
    Septembre 2005
    Messages
    747
    Détails du profil
    Informations forums :
    Inscription : Septembre 2005
    Messages : 747
    Points : 174
    Points
    174
    Par défaut
    Citation Envoyé par gorgonite
    'ai un très gros problème car je n'ai plus Windows XP dans mon PC qui était booté avec Ubuntu
    Ce matin ,j'ai reçu un message me demandant d'installer les mises à jour,ce que j'ai fait.

    Maitenant lorsque je démarre le PC ,je n'ai que Ubuntu comme choix
    ben il a dû supprimer l'entrée windows dans ton gestionnaire de démarrage (grub sous ubuntu je crois...)

    tout est dans ce fichier /boot/grub/menu.lst
    Bonjour,

    Que faut-il que je fasse ?

  4. #4
    Rédacteur/Modérateur

    Avatar de gorgonite
    Homme Profil pro
    Ingénieur d'études
    Inscrit en
    Décembre 2005
    Messages
    10 322
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur d'études
    Secteur : Transports

    Informations forums :
    Inscription : Décembre 2005
    Messages : 10 322
    Points : 18 681
    Points
    18 681
    Par défaut
    ben regardes si l'entrée windows y est toujours...

    si non, tu la remets

  5. #5
    Membre habitué
    Inscrit en
    Septembre 2005
    Messages
    747
    Détails du profil
    Informations forums :
    Inscription : Septembre 2005
    Messages : 747
    Points : 174
    Points
    174
    Par défaut
    Citation Envoyé par gorgonite
    ben regardes si l'entrée windows y est toujours...

    si non, tu la remets
    Alors j'ai tapé
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sudo gedit /boot/grub/menu.lst
    et j'ai en autre ceci:
    ...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    #
    #examples
    #
    #title Windows 95/98/NT/2000
    #root (hd0,0)
    #makeactive
    #chainloader +1
    #
    #title Linux
    #root (hd0,0)
    kernel /vmlinuz root=/dev/hda2 ro

    puis en fin de page(ce qui apparait sur mon ecran de demarrage)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    # # End Default Options ##
    .....
    Que faut-il que je copie-colle dans la partie
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    # # End Default Options ##
    (c'est bien dans cette partie ?) pour avoir une entrée Windows

  6. #6
    Membre expert
    Avatar de hiko-seijuro
    Profil pro
    Inscrit en
    Mai 2004
    Messages
    2 011
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France

    Informations forums :
    Inscription : Mai 2004
    Messages : 2 011
    Points : 3 065
    Points
    3 065
    Par défaut
    je te mets à disposition mon fichier menu.lst voila :


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    # 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/hda7 ro vga=771
     
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,6)
     
    ## 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-686 
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.12-10-686 root=/dev/hda7 ro vga=771 quiet splash
    initrd		/boot/initrd.img-2.6.12-10-686
    savedefault
    boot
     
    title		Ubuntu, kernel 2.6.12-10-686 (recovery mode)
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.12-10-686 root=/dev/hda7 ro vga=771 single
    initrd		/boot/initrd.img-2.6.12-10-686
    boot
     
    title		Ubuntu, kernel 2.6.12-9-686 
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.12-9-686 root=/dev/hda7 ro vga=771 quiet splash
    initrd		/boot/initrd.img-2.6.12-9-686
    savedefault
    boot
     
    title		Ubuntu, kernel 2.6.12-9-686 (recovery mode)
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.12-9-686 root=/dev/hda7 ro vga=771 single
    initrd		/boot/initrd.img-2.6.12-9-686
    boot
     
    title		Ubuntu, memtest86+
    root		(hd0,6)
    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

  7. #7
    Membre habitué
    Inscrit en
    Septembre 2005
    Messages
    747
    Détails du profil
    Informations forums :
    Inscription : Septembre 2005
    Messages : 747
    Points : 174
    Points
    174
    Par défaut
    Salut hiko-seijuro,
    dans tonfichier,je vois que tu as ceci :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
     
    ### 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
    Dans le mien ,j'ai ceci :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    ### 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
    mais à part ce que j'ai mis c'est à dire :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    # 
    #examples 
    # 
    #title Windows 95/98/NT/2000 
    #root (hd0,0) 
    #makeactive 
    #chainloader +1 
    # 
    #title Linux 
    #root (hd0,0) 
    kernel /vmlinuz root=/dev/hda2 ro
    Il n'y a rien dans mon fichier qui fait référence à mon Windows

    Voici les caractéristique de mon PC :
    http://www.packardbell.fr/products/node1821.asp?partnumber=PB40E00102

  8. #8
    Membre éclairé

    Inscrit en
    Juin 2004
    Messages
    1 397
    Détails du profil
    Informations forums :
    Inscription : Juin 2004
    Messages : 1 397
    Points : 763
    Points
    763
    Par défaut
    Reste à savoir sur quelle partition est ton windows ?
    Car là, par défaut dans le menu.lst de hiko-seijuro, c'est la partition 0 du disque 0, mais ce n'est peut-être pas ça chez toi...

  9. #9
    Membre habitué
    Inscrit en
    Septembre 2005
    Messages
    747
    Détails du profil
    Informations forums :
    Inscription : Septembre 2005
    Messages : 747
    Points : 174
    Points
    174
    Par défaut
    Citation Envoyé par progman
    Reste à savoir sur quelle partition est ton windows ?
    Car là, par défaut dans le menu.lst de hiko-seijuro, c'est la partition 0 du disque 0, mais ce n'est peut-être pas ça chez toi...
    Salut,
    avant d'avoir fait la mise à jour de mon Ubuntu tout allait très bien mais depuis...

    Comment,je fais pour savoir sur quelle partition est mon Windows car Windows n'apparait pas en entree.

  10. #10
    Membre expert
    Avatar de hiko-seijuro
    Profil pro
    Inscrit en
    Mai 2004
    Messages
    2 011
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France

    Informations forums :
    Inscription : Mai 2004
    Messages : 2 011
    Points : 3 065
    Points
    3 065
    Par défaut
    est ce que tu sais monté les partitions sous linux ?
    si oui essai de monter chaque partition de type : /dev/hdaX et regarde ce quelle contient
    des qu'ils s'agit des dossiers windows (type windows, program files, ...)

    alors tu as le numéro de la partition windows

  11. #11
    Membre averti
    Avatar de ghostdogpr
    Étudiant
    Inscrit en
    Octobre 2003
    Messages
    198
    Détails du profil
    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2003
    Messages : 198
    Points : 354
    Points
    354
    Par défaut
    Citation Envoyé par Man_Utd
    Comment,je fais pour savoir sur quelle partition est mon Windows car Windows n'apparait pas en entree.
    Tente voir (en root) un

  12. #12
    Membre habitué
    Inscrit en
    Septembre 2005
    Messages
    747
    Détails du profil
    Informations forums :
    Inscription : Septembre 2005
    Messages : 747
    Points : 174
    Points
    174
    Par défaut
    Salut,

    merci à tous pour votre aide,j'ai réussi à remettre Windows XP et le net sur les 2.

    Est ce que vous avez une idée de pourquoi la mise à jour de mes paquets sous Ubuntu a fait que mon PC se dérègle ?
    Je ne ferais plus les mises à jour car

    Je voudrais également que quelqu'un m'aide pour mettre Windows en 1ère position dans les entrées.

    Mon menu.lst:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    # 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
     
     
     
    #
    # 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/hdc1 ro
     
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,0)
     
    ## 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-9-386 
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/hdc1 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,0)
    kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/hdc1 ro single
    initrd		/boot/initrd.img-2.6.12-9-386
    boot
     
    title		Ubuntu, kernel 2.6.12-10-386 
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/hdc1 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,0)
    kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/hdc1 ro single
    initrd		/boot/initrd.img-2.6.12-10-386
    boot
     
     
    title		Ubuntu, memtest86+
    root		(hd0,0)
    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
     
    title		Windows NT/2000/XP
    root		(hd0,1)
    savedefault
    makeactive
    chainloader	+1

  13. #13
    Membre éclairé

    Inscrit en
    Juin 2004
    Messages
    1 397
    Détails du profil
    Informations forums :
    Inscription : Juin 2004
    Messages : 1 397
    Points : 763
    Points
    763
    Par défaut
    Ca, c'est facile !
    Il te suffit de changer le numéro . 0 c'est le premier, et si tu comptes, tu arrives à 6 pour que windows soit le système par défaut.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème boot .Iso Ubuntu
    Par XubuntuX dans le forum Ubuntu
    Réponses: 2
    Dernier message: 28/05/2009, 00h35
  2. Supprimer dual boot XP-Ubuntu (désinstallé)
    Par rachid2013 dans le forum Windows XP
    Réponses: 2
    Dernier message: 08/02/2009, 09h24
  3. multi-boot vista ubuntu
    Par ralf91 dans le forum Ubuntu
    Réponses: 5
    Dernier message: 04/01/2009, 21h17
  4. [Dual Boot] Vista + Ubuntu
    Par Sun3clipse dans le forum Administration système
    Réponses: 6
    Dernier message: 08/07/2008, 15h35
  5. Disquette boot pour ubuntu
    Par pierrot10 dans le forum Ubuntu
    Réponses: 6
    Dernier message: 17/04/2008, 15h33

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo