Posted August 24, 200420 yr Bonjour a tous, J'ai installer grub pour un dual boot entre linux debian 2.6.7 & win xp... linux boot mais winxp pas. voici mes partition : >/sbin/fdisk -l /dev/hdc Disk /dev/hdc: 81.9 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdc1 * 1 6374 51199123+ 7 HPFS/NTFS /dev/hdc2 9868 9964 779152+ 82 Linux swap /dev/hdc3 6375 9867 28057522+ 83 Linux >grub-install /dev/hdc Partition table entries are not in disk order grub-install /dev/hdc Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/hdc (hd1) /dev/sda et voici mon fichier /boot/grub/menu.lst # Windows title Windows XP Pro rootnoverify (hd0,0) makeactive chaineloader +1 # GNU/Linux Debian title GNU/Linux Debian 2.6.7 kernel (hd0,2)/vmlinuz root=/dev/hdc3 merci d'avance pour votre aide a+ Edited August 24, 200420 yr by ramouz
August 24, 200420 yr pourquoi : rootnoverify (hd0,0) et pas simplement root (hd0,0) (je te demande pas d'essayer, hein, je pose la question, c'est tout...)
August 24, 200420 yr Author j'ai lu ca dans les different tuto que j'ai trouvé, mais j'ai test avec ta solution et ca ne marche pas non plus
August 24, 200420 yr pour rootnoverify, c'est ça qu'il faut mettre, sinon grub essaye de voir dedans et ça marche pas... pour le reste...je te montre mon grub.conf à midi
August 24, 200420 yr tu as d'autre disque dur? parce que dans ce cas, il faut faire un map grub.info.gz If you have installed DOS (or Windows) on a non-first hard disk, you have to use the disk swapping technique, because that OS cannot boot from any disks but the first one. The workaround used in GRUB is the command `map' ( map), like this: grub> map (hd0) (hd1) grub> map (hd1) (hd0)
August 24, 200420 yr euh, un détail, t'as recopié ton fichier ou tu l'as copier/coller ? Parce que c pas : chaineloader mais chainloader Voilà, voilà
August 24, 200420 yr Author wazaaa ca marche :) quel bete faute !!!!! que j'ai fais merci fabien et merci aux autres pour les réponse :) a+
August 24, 200420 yr tant que on est sur grub j'ai une question :) je vais devoir formatter ma partition windaube pour le reinstaller. a la reinstall il va me niker mon grub. comment reinstaller grub sans reinstaller tt ma debian?
August 24, 200420 yr soit tu boot ton cd debian, tu montes des partitions sans les initialiser ( sinon les donnees ) et tu installes grub soit tu boot un liveCd ( gentoo est ton amie ) et tu chroot pour reinstaller grub Edited August 24, 200420 yr by remy.harel
August 24, 200420 yr pour grub, à priori, pas besoin de chroot : grub> root (hdX,X) grub> setup (hdX) et normalement ça roule !!! (j'ai regardé, "grub" est dispo sur la knoppix, donc ça devrait être facile)
August 24, 200420 yr pour grub, à priori, pas besoin de chroot : Oui, en y repensant, tu as raison, je pense que pas besoin de chrooter.... C'est vraiment genial ce grub, mais je ne suis pas encore une star grub... c'est assez recent grub pour moi !
Archived
This topic is now archived and is closed to further replies.