Si MacOS propose par défaut de taper 0B
et vous vouliez 0C
Vous n'avez donc pas besoin d'un outil tiers pour effectuer le changement. Il suffit d'utiliser la commande fdisk
avec le -e
pour effectuer le changement. Dans votre cas, les commandes seraient les suivantes.
diskutil unmountdisk disk3
sudo fdisk -e /dev/disk3
s 1
c
q
Note : Le diskutil unmountdisk disk3
Démontage de tous les volumes sur disk3
. Le site fdisk -e /dev/disk3
doit être saisie immédiatement après, sinon les volumes risquent de se remonter automatiquement. (Dans ce cas, il ne devrait y avoir qu'un seul volume). fdisk
tp tente un verrouillage partagé. S'il réussit, alors un y
(pour yes
) devra être saisi après avoir saisi le q
comando.
Un exemple est donné ci-dessous.
Marlin-3:~ davidanderson$ diskutil unmountdisk disk3
Unmount of all volumes on disk3 was successful
Marlin-3:~ davidanderson$ sudo fdisk -e /dev/disk3
Password:
fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1> s 1
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: 0B 1023 254 63 - 1023 254 63 [ 2 - 1953186] Win95 FAT-32
Partition id ('0' to disable) [0 - FF]: [B] (? for help) c
fdisk:*1> q
Writing current MBR to disk.
Marlin-3:~ davidanderson$
Le reste de cette réponse n'est qu'une information générale. Vous pouvez passer outre si vous le souhaitez.
Le site fdisk
avec la commande -e
est interactive. Le site s
La commande est l'abréviation de setpid
et le q
La commande est l'abréviation de quit
. Vous trouverez ci-dessous une liste des commandes interactives. Elle est tirée de la sortie de man fdisk
.
help Display a list of commands that fdisk understands in the interac-
tive edit mode.
manual Display this manual page.
reinit Initialize the currently selected, in-memory copy of the boot
block.
auto Partition the disk with one of the automatic partition styles.
disk Display the current drive geometry that fdisk has probed. You
are given a chance to edit it if you wish.
edit Edit a given table entry in the memory copy of the current boot
block. You may edit either in BIOS geometry mode, or in sector
offsets and sizes.
setpid Change the partition identifier of the given partition table
entry. This command is particularly useful for reassigning an
existing partition to OpenBSD.
flag Make the given partition table entry bootable. Only one entry
can be marked bootable. If you wish to boot from an extended
partition, you will need to mark the partition table entry for
the extended partition as bootable.
update Update the machine code in the memory copy of the currently
selected boot block. Note that this option will overwrite the NT
disk signature, if present.
select Select and load into memory the boot block pointed to by the
extended partition table entry in the current boot block.
print Print the currently selected in-memory copy of the boot block and
its MBR table to the terminal.
write Write the in-memory copy of the boot block to disk. You will be
asked to confirm this operation.
exit Exit the current level of fdisk, either returning to the previ-
ously selected in-memory copy of a boot block, or exiting the
program if there is none.
quit Exit the current level of fdisk, either returning to the previ-
ously selected in-memory copy of a boot block, or exiting the
program if there is none. Unlike exit it does write the modified
block out.
abort Quit program without saving current changes.
Remarque : Le message d'avertissement fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
est correcte. Le site /usr/standalone/i386/boot0
ne fait pas partie de MacOS. Au lieu de lire ce fichier, fdisk
remplace les zéros. Le résultat est le suivant update
La commande efface tout code machine existant au lieu de le mettre à jour avec le code machine réel.
1 votes
Jetez un coup d'oeil : Formateur de cartes mémoire SD pour Mac
1 votes
@user3439894 Merci beaucoup. J'ai formaté ma carte SD en utilisant "Overwrite format" et en la vérifiant dans le Terminal, je vois qu'elle est maintenant "MBR part 12" (0x0C). Parfait !
0 votes
Le gros problème que j'ai trouvé avec l'application Formatter que vous recommandez est qu'elle n'a pas de paramètres de préférence et que vous ne pouvez donc pas savoir ce que vous allez obtenir à la fin. Avec une carte de 32 Go, j'ai obtenu une partition FAT32 de type 12, ce qui correspond à mes besoins. Mais après avoir formaté une carte de 128 Go, j'ai découvert qu'elle était de type 7 (exFAT ?). Donc l'application ne vous donne pas de manière fiable le Type 12 pour chaque carte SD. Cela varie selon la taille de la carte.