Problem de boot loader ?

Résolu
Bonjour,

j'ai installer deux distribution (fedora9+mandrova2008.0) avec windows xp SP2;

dans la liste de dimarage il affiche mandriva et windows mais fedora non,

comment ajouter fedora dans la liste de demarage ??

merci pour aide ^_^
Configuration: Linux Mandriva
Firefox 2.0.0.6

18 réponses

  1. Contributeur
    si tu est sous mandriva il faut editer le fichier grub
    il se trouve dans
    /boot/grub/menu.lst
    et il faut ajouter fedora dans ce fichier avec la partition qui corespond a fedora

    http://ebdomino.free.fr/tutoriaux/grub.html
    http://linux-wizard.net/howto.php?section=0&key=chainloading
    -1
    1. merci bro ;

      ça c'est mon fichie menu.lst //

      timeout 10
      color black/cyan yellow/cyan
      gfxmenu (hd0,4)/boot/gfxmenu
      default 0
      
      title linux
      kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda5  resume=/dev/hda11 splash=silent vga=788
      initrd (hd0,4)/boot/initrd.img
      
      title linux-nonfb
      kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda5  resume=/dev/hda11
      initrd (hd0,4)/boot/initrd.img
      
      title failsafe
      kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda5  failsafe
      initrd (hd0,4)/boot/initrd.img
      
      title windows
      root (hd0,0)
      makeactive
      chainloader +1


      comment ajouter fedo ?
      merci
      -1
      1. Contributeur
        commme ça

        title fedora
        kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda5 resume=/dev/hda11 splash=silent vga=788
        initrd (hd0,4)/boot/initrd.img

        mais ce que j'ai mis en gras faut le changer
        mais ça depend sur laquelle partition
        combien as tu de DD et de partition en tout ?

        ensuite ya une metode plus simple tu te telecharge supergrubdisk (5Mo) tu le grave tu boote dessus et tu pourra restaurer le grub pour demarer sous fedora
        -1
        1. slt ;

          j'est 1 seule DD, partager sur 5 partitions ;

          C : pour windows
          D : pour mandriva (partager sur 3 "/ , home, swap")
          E : pour mp3's est videos
          F : pour mais dossiers et fichiers personel
          G : pour mandriva (partager sur 4 " /, home, boot , swap ")

          merci
          -1
          1. Contributeur
            tu peut aussi me donner l'odre d'installation de tes OS?
            -1
          2. @mum1989windows xp c'est le 1er,
            Fedora9 le 2eme
            mandriva 3eme
            -1
        2. Contributeur
          est ce que avant que tu est installé mandriva , fedora demarrait?

          si oui
          tu va mettre, ajouter :

          title Fedora
          root (hd0,2)
          chainloader +1
          boot

          ce qui est en gras je sais pas trop ce qu'on va mettre on va en essayer plusieurs (car je sais pas sur quelle partition fedora est installé)

          peut etre hd0,1 ou hd0,2 ou hd0,3
          -1
          1. Bonjour,
            non n'est pas demarer
            partition de fedora est hda6
            -1
        3. Contributeur
          donc avant que tu installe mandriva fedora ne demarrait pas ? ok
          -1
          1. Contributeur
            donc il faudrait rajouter

            tu peut essayer ça

            title fedora
            kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda6
            -1
            1. une minute svp , regarde ça //

              # fdisk -l /dev/hda
              
              Disque /dev/hda: 250.0 Go, 250059350016 octets
              255 heads, 63 sectors/track, 30401 cylinders
              Units = cylindres of 16065 * 512 = 8225280 bytes
              Disk identifier: 0x11c211c2
              
              Périphérique Amorce    Début         Fin      Blocs    Id  Système
              /dev/hda1   *           1        6378    51231253+   7  HPFS/NTFS
              /dev/hda2            6379       30400   192956715    f  W95 Etendu (LBA)
              /dev/hda5            6379        7397     8185086   83  Linux
              /dev/hda6           13285       20190    55472413+   7  HPFS/NTFS
              /dev/hda7           20191       26543    51030441    7  HPFS/NTFS
              /dev/hda8           26544       26581      305203+  83  Linux
              /dev/hda9           26582       30005    27503248+  83  Linux
              /dev/hda10          30006       30400     3172806   82  Linux swap / Solaris
              /dev/hda11           7398        7906     4088511   82  Linux swap / Solaris
              /dev/hda12           7907       13284    43198753+  83  Linux
              
              Les entrées de la table de partitions ne sont pas dans l'ordre du disque
              -1
              1. Contributeur
                ouai c'est un peu la galere honnetement je sais pas trop
                a part que hda5 et hda11 doit etre mandriva

                ces partitons doivent corespondre a fedora
                /dev/hda8 26544 26581 305203+ 83 Linux
                /dev/hda9 26582 30005 27503248+ 83 Linux
                /dev/hda12 7907 13284 43198753+ 83 Linux

                pourrai tu me dire la taille de chacune pour determiner la partition de fedora?

                fait cette commande
                find /boot/grub/stage1

                et dis moi ce que ça fait

                http://www.linux-france.org/article/sys/chargeurs/ix86/grub/grub-manual-fr.html

                -1
                1. ok ;

                  # find /boot/grub/stage1
                  /boot/grub/stage1
                  
                  -1
              2. Contributeur
                ca fait ça ??
                bon j'ai trop de mal
                je te conseille de poster sur un forum de mandriva ou fedora
                ou
                de telcharger supergrubdisk (5mo) de le graver et de booter dessus
                normalement tu poura recuperer fedora
                https://www.supergrubdisk.org/?pid=5
                -1
                1. ok,

                  merci bien frére, ^_^
                  -1
              3. Contributeur
                bonjour,
                au lieu de tourner en rond si mandriva demarre ,il suffit d'aller dans centre de config de mandriva , il y a un un outils graphique pour ajouter un os dans le menu.lst
                a+
                -1
                1. lol
                  0
                2. salut jeanbi,

                  j'ai testé ça mai ça marche pas !!
                  -1
              4. Contributeur
                re,
                c'est laquelle la partition de fedora ?
                sous mandriva tu la monte et tu regarde s'il y a un /boot/grub/menu.lst
                si oui tu l'ouvre et tu m'en donne le contenu .
                a+
                -1
                1. ok ,

                  j'ai entrer dans Fedora avec cd Super Grub ;

                  et le fichier menu.lst est //

                  # grub.conf generated by anaconda
                  #
                  # Note that you do not have to rerun grub after making changes to this file
                  # NOTICE:  You have a /boot partition.  This means that
                  #          all kernel and initrd paths are relative to /boot/, eg.
                  #          root (hd0,7)
                  #          kernel /vmlinuz-version ro root=/dev/sda9
                  #          initrd /initrd-version.img
                  #boot=/dev/sda
                  default=0
                  timeout=5
                  splashimage=(hd0,7)/grub/splash.xpm.gz
                  hiddenmenu
                  title Fedora (2.6.25.14-108.fc9.i686)
                     root (hd0,7)
                     kernel /vmlinuz-2.6.25.14-108.fc9.i686 ro root=UUID=0a8a3d7e-6002-4ee8-922e-b5a28d6a0975 rhgb quiet
                     initrd /initrd-2.6.25.14-108.fc9.i686.img
                  title Fedora (2.6.25.11-97.fc9.i686)
                     root (hd0,7)
                     kernel /vmlinuz-2.6.25.11-97.fc9.i686 ro root=UUID=0a8a3d7e-6002-4ee8-922e-b5a28d6a0975 rhgb quiet
                     initrd /initrd-2.6.25.11-97.fc9.i686.img
                  title Windows_XP
                     rootnoverify (hd0,0)
                     chainloader +1
                  -1
                  1. Contributeur
                    si on rajoute ça a l'autre grub (celui de mandriva) a mon avis ça devrait fonctionner ça ne coute rien d'essayer

                    title Fedora (2.6.25.14-108.fc9.i686)
                    root (hd0,7)
                    kernel /vmlinuz-2.6.25.14-108.fc9.i686 ro root=UUID=0a8a3d7e-6002-4ee8-922e-b5a28d6a0975 rhgb quiet
                    initrd /initrd-2.6.25.14-108.fc9.i686.img
                    title Fedora (2.6.25.11-97.fc9.i686)
                    root (hd0,7)
                    kernel /vmlinuz-2.6.25.11-97.fc9.i686 ro root=UUID=0a8a3d7e-6002-4ee8-922e-b5a28d6a0975 rhgb quiet
                    initrd /initrd-2.6.25.11-97.fc9.i686.img
                    -1
                    1. ca marche pas , il affiche //

                      grub >
                      -1
                  2. Contributeur
                    re,
                    et ben maintenant tu ouvres celui de mandriva ( c'est bien celui qui lance windows )
                    tu y colle ces lignes
                    title Fedora (2.6.25.14-108.fc9.i686)
                    root (hd0,7)
                    kernel /vmlinuz-2.6.25.14-108.fc9.i686 ro root=UUID=0a8a3d7e-6002-4ee8-922e-b5a28d6a0975 rhgb quiet
                    initrd /initrd-2.6.25.14-108.fc9.i686.img

                    et tu essayes d'y coller aussi celle ci
                    tittle fedora_grub
                    rootnoverify (hd0,7)
                    chainloader +1
                    et tu essayes les 2
                    en principe le 1er boot directement sur fedora et le 2 em tu doit avoir le grub de fedora
                    a+
                    -1
                    1. Contributeur
                      mes 2 solutions ? aucunes ne marche ?
                      a+

                      -1
                      1. j'ai testé la 2eme solution aussi , la meme resultat //

                        grub >


                        regard cet resultat dans le terminal //

                        # grub
                        Probing devices to guess BIOS drives. This may take a long time.
                        
                        
                            GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
                        
                         [ Minimal BASH-like line editing is supported.  For the first word, TAB
                           lists possible command completions.  Anywhere else TAB lists the possible
                           completions of a device/filename.]
                        grub> find /boot/grub/stage1
                        find /boot/grub/stage1
                         (hd0,4)
                         (hd0,7)
                        Erreur de segmentation
                        
                        -1
                      2. lol
                        0
                    2. ok, le problem et resolu comme suit //

                      dans le terminal ecrir ..

                      # grub-install /dev/sda


                      merci bien a tous pour aide et pour le temp

                      ^$^
                      -1