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

Ubuntu Discussion :

Boot xp avec grub impossible!


Sujet :

Ubuntu

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    27
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2008
    Messages : 27
    Par défaut Boot xp avec grub impossible!
    Salut à tous!
    (Je suis en dual boot ) J'étais tranquillement sur xp quand un écran bleu apparu avec une partie du message avec des caractères en hexadécimal. Il s'en suit un vidage de la mémoire physique . Je redémarre sans trop m'inquiéter et là impossible de démarer xp .

    Le message suivant apparait dès que je sélectionne xp dans grub : " Error 13 : Invalid or unsupported executable format ."

    Ubuntu fonctionne c'est le principal sauf que j'ai quand meme vraiment vraiment besoin d'xp en ce moment .

    alors voilà mon : sudo fdisk -l
    Disque /dev/sda: 250.0 Go, 250059350016 octets
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylindres of 16065 * 512 = 8225280 bytes
    Identifiant disque: 0x5522c1dd

    Périphérique Amorce Début Fin Blocs Id Système
    /dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
    /dev/sda2 3825 30401 213479752+ f W95 Etendu (LBA)
    /dev/sda5 3825 15297 92156841 7 HPFS/NTFS
    /dev/sda6 15298 15304 56196 83 Linux
    /dev/sda7 15305 25030 78124063+ 83 Linux
    /dev/sda8 25031 30276 42138463+ 83 Linux
    /dev/sda9 30277 30401 1004031 82 Linux swap / Solaris
    mon : sudo gedit /boot/grub/menu.lst
    # 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=118ae402-517c-4339-ad1e-ad967509f462 ro

    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0

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

    ## 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 vga=771

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

    ## 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 8.04.1, kernel 2.6.24-19-generic
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro quiet splash locale=fr_FR vga=771
    initrd /boot/initrd.img-2.6.24-19-generic
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro single
    initrd /boot/initrd.img-2.6.24-19-generic

    title Ubuntu 8.04.1, kernel 2.6.24-18-generic
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro quiet splash locale=fr_FR vga=771
    initrd /boot/initrd.img-2.6.24-18-generic
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-18-generic (recovery mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro single
    initrd /boot/initrd.img-2.6.24-18-generic

    title Ubuntu 8.04.1, kernel 2.6.24-17-generic
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro quiet splash locale=fr_FR vga=771
    initrd /boot/initrd.img-2.6.24-17-generic
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-17-generic (recovery mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro single
    initrd /boot/initrd.img-2.6.24-17-generic

    title Ubuntu 8.04.1, kernel 2.6.24-16-generic
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro quiet splash locale=fr_FR vga=771
    initrd /boot/initrd.img-2.6.24-16-generic
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=118ae402-517c-4339-ad1e-ad967509f462 ro single
    initrd /boot/initrd.img-2.6.24-16-generic

    title Ubuntu 8.04.1, memtest86+
    root (hd0,7)
    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
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1

    boot
    En effet mon xp n'est pas détect car : sudo update-grub
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
    Searching for splash image ... found: (hd0,7)/boot/grub/splashimages/grubsty.xpm.gz

    Found kernel: /boot/vmlinuz-2.6.24-19-generic
    Found kernel: /boot/vmlinuz-2.6.24-18-generic
    Found kernel: /boot/vmlinuz-2.6.24-17-generic
    Found kernel: /boot/vmlinuz-2.6.24-16-generic
    Found kernel: /boot/memtest86+.bin
    Updating /boot/grub/menu.lst ... done
    Alors voilà si on pouvait me donner une solution pour résoudre ce problème se serait vraiment cool.

  2. #2
    Membre Expert
    Avatar de supersnail
    Homme Profil pro
    Inscrit en
    Novembre 2006
    Messages
    1 719
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Novembre 2006
    Messages : 1 719
    Par défaut
    hmm... à mon avis,l'écran bleu de XP a viré le bootLoader...
    Le plus simple c'est de se munir d'un CD d'XP... (ou télécharger un CD d'éval XP si ça se trouve encore...),d'aller dans la console de récupération et de taper fixboot c:
    Reviens nous dire les résultats..

  3. #3
    Membre Expert Avatar de jeanbi
    Profil pro
    Inscrit en
    Avril 2003
    Messages
    1 703
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2003
    Messages : 1 703
    Par défaut
    bonjour,
    à mon avis,l'écran bleu de XP a viré le bootLoader...
    ben non puisque ubuntu fonctionne , par contre teste voir
    title Microsoft Windows XP dition familiale
    root (hd0,0) modifie par (hd0,1)
    savedefault
    makeactive
    chainloader +1
    a+

  4. #4
    Membre averti
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    27
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2008
    Messages : 27
    Par défaut
    bonsoir

    Merçi de s'etre tourné vers mon problème

    En effet j'avais déjà essayé de remplacer (hd0,0) par (hd0,1)
    mais cette fois le message est différent et m'a ressorti :"Error 12 :Invalid device requested"



    j'ai fais un :

    grub install
    grub> find /boot.ini
    bizarrement celà me ressort :

    [Error 15: File not found
    Es-ce que celà veux dire que mon boot xp à été viré ou laisse présagé d'un autre problème ?

    En autre celà fait 2 ans que je switch entre xp/ubuntu et tout d'un coup ... est-ce normal ?
    Ps: De faire "fixboot c: " n'y a-t-il pas de risques pour mes autres partitions ?

  5. #5
    Membre Expert Avatar de jeanbi
    Profil pro
    Inscrit en
    Avril 2003
    Messages
    1 703
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2003
    Messages : 1 703
    Par défaut
    bonjour,
    non simplement tu va virer le grub et donc plus de demarrage de ubuntu et la il faut reinstaller grub .
    de plus ta commande n'est pas bonne cat il n'est pas sur que tu soit sur la partoche de windows , monte plutot la partition xp sous linux et la verifie que le boot.ini est bien la .
    a+

  6. #6
    Membre averti
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    27
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2008
    Messages : 27
    Par défaut
    Salut
    euhh.. ben vue que j'ai deux partition NtFS J'ai réussi à monter une seule sauf que la sda1 refuse de ce monter :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    sudo ntfs-3g /dev/sda1 /media/X -o force
     
    NTFS signature is missing.
    Failed to mount '/dev/sda1': Argument invalide
    The device '/dev/sda1' doesn't have a valid NTFS.
    Apperemment la signature Ntfs est "missing" ou je me goure complètement ?
    Après avoir virer grub on le réinstalle comment depuis le live cd ?
    ? Serait-ce " grub install /dev/sda " en ligne de commande après avoir sélectionner install ubuntu ?

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

Discussions similaires

  1. Boot avec Grub
    Par Raf2507 dans le forum Administration système
    Réponses: 2
    Dernier message: 18/12/2009, 17h51
  2. choix de /etc/network/interfaces au boot avec grub
    Par rutabagas dans le forum Réseau
    Réponses: 2
    Dernier message: 06/09/2009, 15h40
  3. boot avec grub
    Par hamma2 dans le forum Ubuntu
    Réponses: 3
    Dernier message: 23/11/2008, 14h34
  4. Boot avec Grub
    Par mmaximum dans le forum Programmation d'OS
    Réponses: 5
    Dernier message: 20/06/2008, 17h19
  5. Impossible de lancer win d'un Sata avec grub
    Par zlavock dans le forum Administration système
    Réponses: 5
    Dernier message: 09/11/2005, 17h29

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