Bonjour à tous.

Je cherche à créer une clé USB multiboot.

Voici les étapes que j'ai déjà réalisées :
1-formater ma clé en GPT
2-créer plusieurs partitions avec cfdisk :
*1 : 1M = bios
*2 : 50M = EFI en FAT32
*3 : 25G = DATA en FAT32
*4 : 32G = DISTRIBUTIONS en ext4

J'utilise l'utilitaire DISK pour formater la partition 3 et 4 en FAT32 et EXT4 puis la 2ème en FAT32.

J'arrive à monter la 3ème partition mais non la 2ème qui est de type EFI !

Après j'utiliserais cette ligne de commande :

sudo grub2-install --target=x86_64-efi --efi-directory=/mnt/EFI --boot-directory=/mnt/DISTRI/boot --removable --recheck && sync

J'ai suivi le tutoriel présent sur cette page section "Hybrid UEFI GPT + BIOS GPT/MBR boot" :
https://wiki.archlinux.org/index.php...boot_USB_drive

J'avais aussi fait ceci :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
GDISK :
 
[jo@localhost ~]$ sudo gdisk /dev/sdd
[sudo] Mot de passe de jo : 
GPT fdisk (gdisk) version 1.0.1
 
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present
 
Found valid GPT with protective MBR; using GPT.
 
Command (? for help): r
 
Recovery/transformation command (? for help): h
 
WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.
 
Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 1 2 3
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): N
 
Creating entry for GPT partition #1 (MBR partition #1)
Enter an MBR hex code (default EF): 
Set the bootable flag? (Y/N): N
 
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default EF): 
Set the bootable flag? (Y/N): N
 
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default 07): 83
Set the bootable flag? (Y/N): N
 
Recovery/transformation command (? for help): x
 
Expert command (? for help): h
 
Expert command (? for help): w
 
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
 
Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/sdd.
The operation has completed successfully.
Merci d'avance et bonne semaine.