bonjour à tous,
suite à une erreur de partitionnement, j’ai du passer à grub-pc (j’ai au passage réussi à récupérer mes données )
et depuis la migration à grub-pc je n’arrive plus à booter sur XP (qui est sur un disque dur à part)et d’ailleurs j’ai été obligé de changer l’ordre de boot des disques pour pouvoir booter sous debian …
j’ai essayé de changer le boot.ini de windows pour lui dire qu’il était désormais sur le deuxième disque et non plus le premier, aucun résultat
voici quelques infos qui peuvent être nécessaires :
*le détail de mon partitionnement :
[code]quentin-desktop:/home/quentin# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9fb89fb8
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9728 78140128+ 7 HPFS/NTFS
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004f1e8
Device Boot Start End Blocks Id System
/dev/sdb1 1 521 4184901 6 FAT16
/dev/sdb2 * 522 1826 10482412+ 83 Linux
/dev/sdb3 18828 60620 335702272+ 83 Linux
/dev/sdb4 60621 60801 1453882+ 5 Extended
/dev/sdb5 60621 60801 1453851 82 Linux swap / Solaris
quentin-desktop:/home/quentin#
[/code](/dev/sdb1 est le fichier d’échange d’XP)
*détail de mon fichier de grub.cfg :
[code]### BEGIN /etc/grub.d/10_linux ###
menuentry “Debian GNU/Linux, linux 2.6.26-2-686” {
set root=(hd1,2)
search --fs-uuid --set 524814cd-31e8-4178-b10b-c58e0c35943f
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=524814cd-31e8-4178-b10b-c58e0c35943f ro
initrd /boot/initrd.img-2.6.26-2-686
}
menuentry “Debian GNU/Linux, linux 2.6.26-2-686 (single-user mode)” {
set root=(hd1,2)
search --fs-uuid --set 524814cd-31e8-4178-b10b-c58e0c35943f
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=524814cd-31e8-4178-b10b-c58e0c35943f ro single
initrd /boot/initrd.img-2.6.26-2-686
}
END /etc/grub.d/10_linux
BEGIN /etc/grub.d/30_os-prober
menuentry “Microsoft Windows XP Professionnel (on /dev/sda1)” {
set root=(hd0,1)
chainloader +1
}
END /etc/grub.d/30_os-prober
BEGIN /etc/grub.d/40_custom
This file is an example on how to add custom entries
END /etc/grub.d/40_custom
[/code]
- mon boot.ini :
[boot loader]
timeout=15
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /fastdetect /NoExecute=OptIn
merci d’avance à ceux qui pourront m’aider