Xp dans le menu GRUB

Bonjour,
Dans mon pc deux disque dur l un contien Kubuntu l autre contient XP
mon GRUB n affiche pas XP au demmarage malgres le DD est detecte
comment le configurer ...
Configuration: Linux
Konqueror 3.5

12 réponses

  1. Modérateur
    Salut,

    Affiches le résultat des commandes suivantes (en root ou précédées de "sudo" pour les versions basées sur Ubuntu) :
    /sbin/fdisk -l
    egrep -v '^(#|$)' /boot/grub/menu.lst
    C'est un ELLE minuscule et non pas un UN !

    ;-))
    1. le resultat est l ensemble des SE de boot comment acceder pour ajouter XP...merci
      1. Modérateur
        Si tu n'affiches pas le résultat des commandes demandées, il nous sera très difficile de t'aider ;-(
        1. voila le resultat
          caldera@caldera-desktop:~$ /sbin/fdisk -l
          caldera@caldera-desktop:~$ egrep -v '^(#|$)' /boot/grub/menu.lst
          default 0
          timeout 3
          hiddenmenu
          title Ubuntu, kernel 2.6.20-15-generic
          root (hd0,0)
          kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=e89efb36-24d8-426a-ac8e-da553f4957ae ro quiet splash
          initrd /boot/initrd.img-2.6.20-15-generic
          quiet
          savedefault
          title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
          root (hd0,0)
          kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=e89efb36-24d8-426a-ac8e-da553f4957ae ro single
          initrd /boot/initrd.img-2.6.20-15-generic
          title Ubuntu, memtest86+
          root (hd0,0)
          kernel /boot/memtest86+.bin
          quiet
          merci
          1. Modérateur
            Retapes la 1ère comme suit :
            sudo /sbin/fdisk -l 
            s'il te plaît, merci.
        2. j ai tape
          et voila ...
          caldera@caldera-desktop:~$ sudo /sbin/fdisk -l
          Password:

          Disk /dev/sda: 80.0 GB, 80026361856 bytes
          255 heads, 63 sectors/track, 9729 cylinders
          Units = cylinders of 16065 * 512 = 8225280 bytes

          Device Boot Start End Blocks Id System
          /dev/sda1 * 1 1867 14996646 83 Linux
          /dev/sda2 1868 9729 63151515 5 Extended
          /dev/sda5 1868 2245 3036253+ 82 Linux swap / Solaris
          /dev/sda6 2246 9729 60115198+ 83 Linux

          Disk /dev/sdb: 6400 MB, 6400235520 bytes
          255 heads, 63 sectors/track, 778 cylinders
          Units = cylinders of 16065 * 512 = 8225280 bytes

          Device Boot Start End Blocks Id System
          /dev/sdb1 * 1 778 6249253+ b W95 FAT32
          caldera@caldera-desktop:~$

          comment faire? merci
          1. Modérateur
            Commences par faire une copie de ton fichier "/boot/grub/menu.lst" :
            sudo cp /boot/grub/menu.lst  /boot/grub/menu.lst.bak
            Puis à la fin de ton fichier "/boot/grub/menu.lst", rajoutes ces lignes :
            title Windows
            root (hd1,0)
            chainloader +1
            ;-)
            1. comment acceder a u menu pour ecrire ---title Windows
              root (hd1,0)
              chainloader +1
              merci
              1. kdesudo kate /boot/grub/menu.lst
                bash: kdesudo: command not found
                caldera@caldera-desktop:~$

                pourquoi ce message
                1. salut
                  voila le menu apres l ajout
                  default 0
                  timeout 3
                  hiddenmenu
                  title Ubuntu, kernel 2.6.20-15-generic
                  root (hd0,0)
                  kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=e89efb36-24d8-426a-ac8e-da553f4957ae ro quiet splash
                  initrd /boot/initrd.img-2.6.20-15-generic
                  quiet
                  savedefault
                  title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
                  root (hd0,0)
                  kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=e89efb36-24d8-426a-ac8e-da553f4957ae ro single
                  initrd /boot/initrd.img-2.6.20-15-generic
                  title Windows xp
                  root (h1,0)
                  makeactive
                  chainloader +1
                  quiet

                  mais quand je redemare le pc et je choisit win xp il affiche erreur123 5numerating...
                  1. Modérateur
                    title Windows xp
                    root (h1,0)
                    makeactive
                    chainloader +1
                    quiet


                    Il manque le "d" :
                    title Windows xp
                    root (hd1,0)
                    makeactive
                    chainloader +1
                    quiet