Probleme de boot

Bonjour,
j'ai installer linux mandriva sur une nouvel partiton et quand je demarre mon pc l'ecran me demande pas si je veut booter sur windows il marque que mandriva donc j'ai ajouté l'entré pour windows donc a l'ecran de demarage je met amorcer microsoft windows et donc j'ai ce message qui aparé:
root (hd 0.4)
file system type unknown, partition type 0x7
chainlooder +1

quelqu'un peut m'aider ??? merci
Configuration: Linux Mandriva
Firefox 2.0.0.13

20 réponses

  1. Modérateur
    Salut,

    affiche le résultat de (la 2ème commande il faut la faire en root)
    grep -vE '^(#|$)' /boot/grub/menu.lst
    fdisk -l
    1. [roxane@localhost ~]$ grep -vE '^(#|$)' /boot/grub/menu.lst
      timeout 10
      color black/cyan yellow/cyan
      gfxmenu (hd0,0)/boot/gfxmenu
      default 0
      title linux
      kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=24f19c9a-88aa-463c-9e8a-f7c02e92963e splash=silent vga=788
      initrd (hd0,0)/boot/initrd.img
      title linux-nonfb
      kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=24f19c9a-88aa-463c-9e8a-f7c02e92963e splash=silent
      initrd (hd0,0)/boot/initrd.img
      title failsafe
      kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=24f19c9a-88aa-463c-9e8a-f7c02e92963e failsafe
      initrd (hd0,0)/boot/initrd.img
      title windows
      root (hd0,0)
      chainloader +1
      [roxane@localhost ~]$ fdisk -l

      j'ai ca dans la comande mais je ne sais plus comment on fait en root sa fait longtemps ke j'ai pas utilisé linux!!
      1. [roxane@localhost ~]$ su -
        Mot de passe :
        [root@localhost ~]# grep -vE '^(#|$)' /boot/grub/menu.lst
        timeout 10
        color black/cyan yellow/cyan
        gfxmenu (hd0,0)/boot/gfxmenu
        default 0
        title linux
        kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=24f19c9a-88aa-463c-9e8a-f7c02e92963e splash=silent vga=788
        initrd (hd0,0)/boot/initrd.img
        title linux-nonfb
        kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=24f19c9a-88aa-463c-9e8a-f7c02e92963e splash=silent
        initrd (hd0,0)/boot/initrd.img
        title failsafe
        kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=24f19c9a-88aa-463c-9e8a-f7c02e92963e failsafe
        initrd (hd0,0)/boot/initrd.img
        title windows
        root (hd0,0)
        chainloader +1
        [root@localhost ~]# fdisk -l

        voila dsl j'avais zaper la manip su -
        1. oui c'est vrai desolé voila:

          [root@localhost ~]# fdisk -l

          Disque /dev/sda: 200.0 Go, 200049647616 octets
          240 heads, 63 sectors/track, 25841 cylinders
          Units = cylindres of 15120 * 512 = 7741440 bytes
          Disk identifier: 0x271b271a

          Périphérique Amorce Début Fin Blocs Id Système
          /dev/sda1 * 1 4056 30663328+ 83 Linux
          /dev/sda2 4057 25840 164687040 5 Extended
          /dev/sda5 4057 25840 164687008+ 7 HPFS/NTFS

          Disque /dev/sdf: 250.0 Go, 250059350016 octets
          255 heads, 63 sectors/track, 30401 cylinders
          Units = cylindres of 16065 * 512 = 8225280 bytes
          Disk identifier: 0x93dca330

          Périphérique Amorce Début Fin Blocs Id Système
          /dev/sdf1 1 30401 244196001 b W95 FAT32
          1. Modérateur
            Salut,

            au lieu de
            title windows
            root (hd0,0)
            chainloader +1 


            met
            title windows
            root (hd0,4)
            chainloader +1 
            en fait tu n'as qu'à mettre 4 au lieu de 0 (voir en gras)
            et fait un test
            1. Modérateur
              A faire en root :

              tu ouvres le fichier avec un editeur de texte par exemple gedit (si tu n'as pas gedit essaie kwrite)
              gedit /boot/grub/menu.lst
              et ensuite fait la modification comme tu le fait dans n'importe quel éditeur de texte

              1. quel fichier je doit ouvrire dsl j'ai du male!!!^^ et puis tu a mi a faire en root: et il n'y a rien ??
                1. Modérateur
                  quand tu vois cette invité

                  [root@localhost ~]#

                  tape ça
                  gedit /boot/grub/menu.lst
                  et le fichier s'ouvrira

                  1. sa donne ca:
                    [roxane@localhost ~]$ su -
                    Mot de passe :
                    [root@localhost ~]# gedit /boot/grub/menu.lst
                    -bash: gedit: command not found
                    [root@localhost ~]#
                    1. ben j'ai modifier j'ai mi le 4 mais sa ne change rien toujour le meme message d'ereure!!
                      a tu une autre solution??
                      1. Modérateur
                        alors rajoute ce que tu vois en gras

                        title windows
                        savedefault
                        makeactive
                        root (hd0,4)
                        chainloader +1 
                        boot

                        1. dacord j'ai modifier je redemarre mon pc!! a tout de suite alors!!
                          1. bon donc maintenant toujours le message d'erure avec les rajout suivant:

                            savedefault
                            makeactive
                            oot (hd 0.4)
                            file system type unknown, partition type 0x7
                            chainlooder +1
                            boot

                            tu crois que on peut fair quelque chose?
                            ou je reinstalle mon xp et je formate tout?
                            1. ou alors peut etre faut t'il changer ou ajouter queleque chose dans les fichier de windows come systeme 32 ou autre juste une suggestion!!!
                              1. Modérateur
                                ce n'est pas
                                (hd 0.4)

                                mais
                                (hd0,4)

                                A vrai dire, pour ne pas trop se casser la tête si tu n'as pas des données à sauvegarder, peut être qu'une réinstallation sera mieux.
                                D'abord Windows et ensuite Linux.
                                Et choisi la 1ère partition pour Windows (donc répartitionne ton disque)

                                Chez moi j'ai
                                lami20j@debian:~$ grep -vE '^(#|$)' /boot/grub/menu.lst
                                default         0
                                timeout         5
                                color cyan/blue white/blue
                                title           Debian GNU/Linux, kernel 2.6.22.7
                                root            (hd0,6)
                                kernel          /boot/vmlinuz-2.6.22.7 root=/dev/hda7 ro vga=792
                                initrd          /boot/initrd.img-2.6.22.7
                                savedefault
                                title           Debian GNU/Linux, kernel 2.6.22.7 (single-user mode)
                                root            (hd0,6)
                                kernel          /boot/vmlinuz-2.6.22.7 root=/dev/hda7 ro single vga=792
                                initrd          /boot/initrd.img-2.6.22.7
                                savedefault
                                
                                title           Microsoft Windows XP Professional
                                root            (hd0,0)
                                savedefault
                                makeactive
                                chainloader     +1
                                boot
                                lami20j@debian:~$ sudo fdisk -l
                                Password:
                                
                                Disk /dev/hda: 164.6 GB, 164696555520 bytes
                                255 heads, 63 sectors/track, 20023 cylinders
                                Units = cylinders of 16065 * 512 = 8225280 bytes
                                
                                   Device Boot      Start         End      Blocks   Id  System
                                /dev/hda1   *           1        1276    10249438+   7  HPFS/NTFS
                                /dev/hda2            1277       15053   110663752+   f  W95 Ext'd (LBA)
                                /dev/hda5            1277        8925    61440561    7  HPFS/NTFS
                                /dev/hda6            8926        8974      393561   82  Linux swap / Solaris
                                /dev/hda7            8975       10190     9767488+  83  Linux
                                /dev/hda8           10191       13837    29294496   83  Linux
                                /dev/hda9           13838       15053     9767488+  83  Linux
                                
                                et ça marche très bien
                                1. le probleme doit venir du (hd0.4) je pense si je savais ce que c'etait deja peutr etre que je pourais trouver le bon num!!!bon c'est pas grvae je vais tout reinstaller!!
                                  merci bcp pour ton aide!!