Bonjour,
Ce sujet est résolu mais j'aimerais avoir une précision supplémentaire concernant "grub.cfg".
Après plusieurs problèmes voici le résultat de ma commande "gdisk" :
[root@PC-ASUS jean-pierre]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1465149168 sectors, 698.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): A45B7038-DAD1-4897-962A-95550116B3BC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1465149134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3757 sectors (1.8 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB EF00 EFI system partition
2 616448 1845247 600.0 MiB 2700 Basic data partition
3 1845248 2107391 128.0 MiB 0C01 Microsoft reserved part
4 2107392 362883071 172.0 GiB 0700 Basic data partition
5 362883072 363292671 200.0 MiB EF00 EFI System Partition
6 363292672 364316671 500.0 MiB 0700
7 1423183872 1465147391 20.0 GiB 2700 Basic data partition
8 364316672 1423183871 504.9 GiB 8E00
et la commande "blkid" :
[root@PC-ASUS jean-pierre]# blkid /dev/sda1
/dev/sda1: LABEL="SYSTEM" UUID="1026-36EA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7142155b-a36d-41ee-941d-bed8bf0e0d74"
Si j'ai bien compris les explications de "balustre" je dois modifier mon fichier "/boot/efi/EFI/fedora/grub.cfg" à la main. Mais :
[root@PC-ASUS fedora]# cat grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
Alors comment faire pour modifier cette partie de "grub.cfg" ???
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-EA2E9D362E9CFCAF' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 EA2E9D362E9CFCAF
else
search --no-floppy --fs-uuid --set=root EA2E9D362E9CFCAF
fi
drivemap -s (hd0) ${root}
chainloader +1
Il faut mettre sda1 à la place de sda4 et le bon UUID soit = "1026-36EA" puis ajouter "/EFI/microsoft/BOOT/bootmgfw.efi" au chainloader.
Peut-on utiliser : grug2-mkconfig ???
Merci pour votre aide.
Jean-Pierre