aolrs, je vous montre ce que j'ai et ce que j'ai fait:
[root@localhost ~]# fdisk -l
Disk /dev/hda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hda doesn't contain a valid partition table
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 36483 292945275 8e Linux LVM
a noter que avant le reboot, mes deux partitions de winXP sur NTFS étaient reconnues.
donc, linux est sur sd0,0 et windows sur hd0,0
or mon grub.conf se présente ainsi (sans modifs):
# 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,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/mapper/nvidia_begdedfb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
j'ai donc remplacé tous les hd0,0 par des sd0,0 puisque Linux est sur le sda1et j'ai rajouté
title Windows XP
rootnoverify (hd0,0)
chainloader +1
puisque winXP est sur le hda1
j'ai donc fait un reboot, et là, plantage, boot impossible et grub en lignes de commandes, et si j'essaye de lancer FC6, il se lance pas, si j'essaye de lancer XP, il dit que le format n'est pas supporté... (erreur 23 je crois, mais suis pas sûr du tout). j'ai tout de meme réussi a tout remettre en ordre.
voila.......