Instalation d'Ubuntu, et perte de Windows ! (

alinou -  
Judex Messages postés 5022 Date d'inscription   Statut Contributeur Dernière intervention   -
bonsoir,
J'ai un petit problème, j'ai installée linux ce soir il y a 1 heures maintenant. Quand j'éteins mon ordinateur et que je veux allez sur windows, c'est impossible. Je peux que le démarrer sous linux et plus sous windows. Est-ce que j'ai supprimé windows en installant unbuntu ? Et si oui qu'est-ce que je peux faire pour ravoir windows ? merci de vos réponses

13 réponses

Résumé de la discussion

Le problème central est qu'après l'installation d'Ubuntu, le PC ne démarre plus Windows et ne propose que le démarrage sous Linux, ce qui indique une possible absence du chargeur Windows. Des éléments montrent que Windows est toujours présent sur le premier disque (/dev/sda1 HPFS/NTFS), tandis qu'Ubuntu est installé sur /dev/sdc, possiblement sur un disque différent ou externe. Des réponses suggèrent d'analyser GRUB et les partitions, avec le constat que Windows figure comme système démarrable sur /dev/sda1 et que GRUB peut ne pas l'afficher. En cas de besoin, plusieurs solutions évoquées incluent l'utilisation d'outils comme SuperGrub pour rétablir le démarrage Windows sans altérer Linux ou vérifier les partitions et les options de démarrage manuellement.

Généré automatiquement par IA
sur la base des meilleures réponses
  1. initials 76
     
    Re alinou ;-)

    Je vois :

    /dev/sda1 * 1 4864 39070048+ 7 HPFS/NTFS


    Ton windows est toujours là ;-)

    Et tu as installé GNU/Linux sur /dev/sdc qui doit être ton disque dur externe ;-)

    Tu dois maintenant nous dire quelle est ta version d'Ubuntu.

    9.04?
    9.10?
    1
    1. alinou
       
      bonne nouvelle alors : ). Et oui je l'ai installé sur mon disque dur externe. et ma version de Ubuntu est 9.04
      0
  2. initials 76
     
    Salut ;-)

    On va vérifier que Windows se trouve toujours sur ton disque:

    Copies/colles cette commande dans ton terminal:(si c'est Ubuntu)

    sudo fdisk -l


    Si pas ubuntu:

    su -
    (mot de passe root)
    /sbin/fdisk -l


    Et tu nous colles le résultat ici ;-)
    0
  3. informapierre Messages postés 465 Statut Membre 49
     
    Normalement si on ne te propose pas de choisir le système, c'est par ce qu'il n'y en a qu'un !

    Il est alors fort possible que tu est enlevé Windows (bon debarat ;) mais ne t'inquiète pas c'est forcément grave. Il faudrais pour commencer, que tu crée un partition et que tu réinstalle Windows sur celle ci.

    Tien moi au courant, Pierre
    0
  4. alinou
     
    initial-76 : voilà ce que ça me donne quand je copie ce que tu m'as demandé dans le terminal

    alinou@alinou-desktop:~$ sudo fdisk -l
    [sudo] password for alinou:

    informatpierre : comment on créer une partition ? et si je n'ai pas le cd d'instalations de wondows :s je fais comment ?
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. initials 76
     
    Re,

    alinou@alinou-desktop:~$ sudo fdisk -l
    [sudo] password for alinou: 


    Et les reste?
    0
  7. alinou
     
    Re
    c'est tout ce qu'il y a marqué car je n'arrive pas a rentrer mon mot de passe ( désolée je m'y connais pas en informatique)
    0
    1. initials 76
       
      Si il ne s'affiche pas c'est normal, mais il est entré quand même.

      Tapes le en regardant ton clavier en fais [enter]

      ;-)
      0
  8. alinou
     
    ah ok lol sa a marché et ça m'a donné :

    Disque /dev/sda: 40.0 Go, 40016019456 octets
    255 têtes, 63 secteurs/piste, 4865 cylindres
    Unités = cylindres de 16065 * 512 = 8225280 octets
    Identifiant de disque : 0x8f988f98

    Périphérique Amorce Début Fin Blocs Id Système
    /dev/sda1 * 1 4864 39070048+ 7 HPFS/NTFS

    Disque /dev/sdc: 640.1 Go, 640135028736 octets
    255 têtes, 63 secteurs/piste, 77825 cylindres
    Unités = cylindres de 16065 * 512 = 8225280 octets
    Identifiant de disque : 0x3c046c45

    Périphérique Amorce Début Fin Blocs Id Système
    /dev/sdc1 * 1 77499 622510686 c W95 FAT32 (LBA)
    /dev/sdc2 77500 77825 2618595 5 Etendue
    /dev/sdc5 77500 77803 2441848+ 83 Linux
    /dev/sdc6 77804 77825 176683+ 82 Linux swap / Solaris
    alinou@alinou-desktop:~$
    0
  9. informapierre Messages postés 465 Statut Membre 49
     
    Moi je suis sur mandriva donc je connais pas Ubuntu par cœur mais tu doit avoir un outil pour partitioner ton disque. Après si tu n'a plus aucun cd tu a trois solution
    -tu te fais un crack de Windows (illégal)
    -tu achete Windows (je sais! C'est la honte pour les geek !)
    -tu reste sous Linux et tu émule les programmes de windaude avec Wine

    voilà :D tien moi au courant
    0
    1. alinou
       
      j'ai regardé mais pas trouvé pour partitionner le disque... Et si je prends une version cracker sa va faire quelque chose pour le pc ? et puis comme j'ai pas l'argent pour acheter une nouvelle version de windows bah je resterais sous linux :P
      0
  10. informapierre Messages postés 465 Statut Membre 49
     
    ba .... Linux c'est Bien il suffit de si abituer !
    Ta fait une boulette , OK ! Sauf ke le blem c'est
    que ta plus rien donc tu n'a pas vraiment le choix
    C'est pas dramatique ! Avec Wine tu lancer les programme Windows !
    0
  11. alinou
     
    et avec Wine je peux ancer tout les programme de windows c'est ça ? ok merci beaucoup informapierre
    0
  12. initials 76
     
    Super,

    colles le résultat de :

    cat /boot/grub/menu.lst | egrep -v '^(#|;|$)'


    Merci :-)
    0
    1. alinou
       
      voilà le resultat

      default 0
      timeout 10
      title Ubuntu 9.04, kernel 2.6.28-11-generic
      uuid 22ee0be1-a89a-4055-82c3-5c86e86f0efd
      kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=22ee0be1-a89a-4055-82c3-5c86e86f0efd ro quiet splash
      initrd /boot/initrd.img-2.6.28-11-generic
      quiet
      title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
      uuid 22ee0be1-a89a-4055-82c3-5c86e86f0efd
      kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=22ee0be1-a89a-4055-82c3-5c86e86f0efd ro single
      initrd /boot/initrd.img-2.6.28-11-generic
      title Ubuntu 9.04, memtest86+
      uuid 22ee0be1-a89a-4055-82c3-5c86e86f0efd
      kernel /boot/memtest86+.bin
      quiet
      title Other operating systems:
      root
      title Microsoft Windows XP �dition familiale
      rootnoverify (hd0,0)
      savedefault
      makeactive
      chainloader +1
      alinou@alinou-desktop:~$
      0
  13. initials 76
     
    Ok, maintenant:

    cat /boot/grub/menu.lst
    0
    1. alinou
       
      je pense que je copie a nouveau lol et merci déjà : )

      # 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 use 'savedefault' or your
      # array will desync and will not let you boot your system.
      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 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=22ee0be1-a89a-4055-82c3-5c86e86f0efd ro

      ## default grub root device
      ## e.g. groot=(hd0,0)
      # groot=22ee0be1-a89a-4055-82c3-5c86e86f0efd

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

      ## should update-grub lock old automagic boot options
      ## e.g. lockold=false
      ## lockold=true
      # lockold=false

      ## Xen hypervisor options to use with the default Xen boot option
      # xenhopt=

      ## Xen Linux kernel options to use with the default Xen boot option
      # xenkopt=console=tty0

      ## altoption boot targets option
      ## multiple altoptions lines are allowed
      ## e.g. altoptions=(extra menu suffix) extra boot options
      ## altoptions=(recovery) 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=all

      ## specify if running in Xen domU or have grub detect automatically
      ## update-grub will ignore non-xen kernels when running in domU and vice versa
      ## e.g. indomU=detect
      ## indomU=true
      ## indomU=false
      # indomU=detect

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

      ## should update-grub adjust the value of the default booted system
      ## can be true or false
      # updatedefaultentry=false

      ## should update-grub add savedefault to the default options
      ## can be true or false
      # savedefault=false

      ## ## End Default Options ##

      title Ubuntu 9.04, kernel 2.6.28-11-generic
      uuid 22ee0be1-a89a-4055-82c3-5c86e86f0efd
      kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=22ee0be1-a89a-4055-82c3-5c86e86f0efd ro quiet splash
      initrd /boot/initrd.img-2.6.28-11-generic
      quiet

      title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
      uuid 22ee0be1-a89a-4055-82c3-5c86e86f0efd
      kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=22ee0be1-a89a-4055-82c3-5c86e86f0efd ro single
      initrd /boot/initrd.img-2.6.28-11-generic

      title Ubuntu 9.04, memtest86+
      uuid 22ee0be1-a89a-4055-82c3-5c86e86f0efd
      kernel /boot/memtest86+.bin
      quiet

      ### 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/sda1
      title Microsoft Windows XP �dition familiale
      rootnoverify (hd0,0)
      savedefault
      makeactive
      chainloader +1
      0
  14. initials 76
     
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title Microsoft Windows XP �dition familiale
    rootnoverify (hd0,0)
    savedefault
    makeactive
    chainloader +1


    L'entrée pour Windows s'y trouve ;-)

    Que se passe t'il lorsque tu sélectionne Windows au démarrage de l'ordinateur (en bas de la liste)?

    Microsoft Windows XP Èdition familiale
    0
    1. alinou
       
      Je ne peux même pas sélectionner Windows au démarrage, je peux que sélectionner Ubuntu
      0
    2. initials 76 > alinou
       
      Lorsque le menu s'affiche tu dois voir:

      Ubuntu 9.04, kernel 2.6.28-11-generic
      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
      Ubuntu 9.04, memtest86+
      Other operating systems:

      Microsoft Windows XP �dition familiale


      non?
      0
    3. alinou > initials 76
       
      non je vois que ça

      Ubuntu 9.04, kernel 2.6.28-11-generic
      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
      Ubuntu 9.04, memtest86+


      ça je le vois pas

      Other operating systems:

      Microsoft Windows XP �dition familiale

      maintenant si tu veux je redémarre le pc pour m'assurer que ce que je t'ai dit est bien vrai, mais a mes souvenir il n'y avais pas marqué windows
      0
    4. initials 76 > alinou
       
      Re ;-)

      Oui ce serait bien si tu vérifies :-)

      0
    5. alinou > initials 76
       
      oki donc je vais le faire tout de suite alors ;) et merci de m'avoir aidé :D
      0