Ajouter xp dans grub

Résolu
tommy2 Messages postés 51 Statut Membre -  
jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   -
Bonjour a tous,
Je veux ajouter mon xp qui se trouve dans un autre disque dans grub... j'ai fait des recherches et bcp d'essai sans succès. svp aidez moi !!!

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc120c120

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4660 37431418+ 83 Linux
/dev/sda2 4661 4865 1646662+ 5 Extended
/dev/sda5 4661 4865 1646631 82 Linux swap / Solaris

Disk /dev/sdb: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4a410c34

Device Boot Start End Blocks Id System
/dev/sdb1 1 13054 104856223+ 7 HPFS/NTFS
/dev/sdb2 13055 19581 52428127+ 7 HPFS/NTFS
/dev/sdb3 19582 27414 62918572+ 7 HPFS/NTFS
/dev/sdb4 27415 36482 72838710 f W95 Ext'd (LBA)
/dev/sdb5 * 27415 36482 72838678+ 7 HPFS/NTFS

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

Device Boot Start End Blocks Id System
/dev/sdc1 1 9729 78148161 7 HPFS/NTFS

Mon xp est -dev-sdb5

voici le menu.lst

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 5208e008-eede-4102-a406-312d5b52418f
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=5208e008-eede-4102-a406-312d5b52418f 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 5208e008-eede-4102-a406-312d5b52418f
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=5208e008-eede-4102-a406-312d5b52418f ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 5208e008-eede-4102-a406-312d5b52418f
kernel /boot/memtest86+.bin
quiet

title Windows XP Prof
map (hd0)(hd1)
map (hd1)(hd0)
root (hd1,3)
makeactive
chainloader +1

Merci

--

que c,est facile la vie hahaha  en informatique
cest trop fun, trop coolllllllllllllllllllllllllllllll
Configuration: win xp pro
athlon 1.9 GHz
1.25 Go de RAM
carte graphique Geforce 6000

8 réponses

  1. redskins72 Messages postés 7466 Statut Membre 650
     
    tu veut crée une double partition ??
    0
  2. jns55
     
    Essaie de modifier la ligne
    root (hd1,3) (correspond a sdb4)
    ainsi :
    root (hd1,4) (correspond à sdb5)
    0
  3. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Salut,

    T'es sûr que ce n'est pas plutôt sdb1 ta partition Windows ?

    Car je doute que Windows puisse booter sur une partition étendue ;-((
    0
    1. jns55
       
      C'est curieux effectivement mais sdb5 est bien sa partition bootable.
      0
      1. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898 > jns55
         
        C'est juste un flag, rien ne nous dit que ce soit réellement celle là ;-\
        0
  4. tommy2 Messages postés 51 Statut Membre 7
     
    Bonjour a tous,

    J'ai essayé et ca me donne Error 12: Invalid device String

    Alors, j'ai change a (hd1, 0) et il me sort NTDL is missing...

    une solution ????

    Merci
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Si le (hd1, 0) ne marche pas, essaie (hd1, 1) ou (hd1, 2) :

    dev/sdb1 1 13054 104856223+ 7 HPFS/NTFS =>(hd1, 0)  
    /dev/sdb2 13055 19581 52428127+ 7 HPFS/NTFS =>(hd1, 1)  
    /dev/sdb3 19582 27414 62918572+ 7 HPFS/NTFS =>(hd1, 2)  

    0
  7. Noldhor Messages postés 279 Statut Membre 71
     
    Salut, vérifi bien que tes lignes corespondant à windows soient bien en dessous de:
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    La premiere fois je les avais ajouté en haut et ça ne fonctionait pas.

    Comme dans l'exemple suivant:

    title Linux Mint 7 Gloria, kernel 2.6.28-16-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.28-16-generic root=/dev/sda1 ro quiet splash
    initrd /boot/initrd.img-2.6.28-16-generic
    quiet

    title Linux Mint 7 Gloria, kernel 2.6.28-16-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.28-16-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.28-16-generic

    title Linux Mint 7 Gloria, kernel 2.6.28-15-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/sda1 ro quiet splash
    initrd /boot/initrd.img-2.6.28-15-generic
    quiet

    title Linux Mint 7 Gloria, kernel 2.6.28-15-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.28-15-generic

    title Linux Mint 7 Gloria, kernel 2.6.28-11-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda1 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Linux Mint 7 Gloria, kernel 2.6.28-11-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Linux Mint 7 Gloria, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    title Windows XP
    root (hd0,1)
    makeactive
    chainloader +1

    0
  8. tommy2 Messages postés 51 Statut Membre 7
     
    Bonjour a tous,

    J,ai reinstalle ubuntu, mtn il a reussis a map mon xp ... mais j,ai une autre erreur

    Error 18: Selected cylinder exceeds maximum supported by BIOS

    J'ai trouvé des info sur le site : https://wiki.linuxquestions.org/wiki/GRUB

    il parlait de créer une patition au debut du disque en installant kernel... j,ai aucune idee comme faire. qqu peut m'éclaicir ce point ?

    Merci
    0
  9. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Regarde dans le BIOS le paramètre (Access Mode) associé à tes disques durs (Auto, Normal, LBA ou Large), et jongle avec ces options (normalement Auto ou LBA), et ça devrait passer, enfin j'espère ;-\
    0