Pour désinstaller Tails d'une clé USB et l'utiliser pour autre chose, vous devez la réinitialiser.
The content of the USB stick is lost in the operation, but an attacker might still be able to tell that Tails was installed on that USB stick using data recovery techniques.
You might overwrite any hard disk on the computer.
If at some point you are not sure about which device to choose, stop proceeding.
Assurez-vous que la clé USB que vous voulez réinitialiser est débranchée.
Démarrez l'Utilitaire de disque.
A list of all the storage devices on the computer appears in the left pane of the window.
Plug in the USB stick that you want to reset.
A new device appears in the list of storage devices. This new device corresponds to the USB stick that you plugged in. Click on it.
Dans la liste des périphériques de stockage, vérifiez que le périphérique correspond à la clé USB que vous voulez réinitialiser, sa marque, sa taille, etc.
Pour réinitialiser la clé USB :
a. If there is an Erase tab in the right pane, click on it and then click on the Erase button on the bottom right
b. If there is an Erase button on the top middle, click on it.
Dans la boite de confirmation, cliquez sur le bouton Effacer pour confirmer.
In the Erase dialog, if you want the USB stick to also work on Windows and Linux, specify:
- Format: MS-DOS (FAT)
- Scheme: Master Boot Record
Click Erase.
Si le processus d'effacement échoue, essayez de formater la clé USB en ligne de commande d'abord.
Resetting a USB stick using the command line
Débranchez la clé USB de votre ordinateur.
Open the Terminal utility from Applications ▸ Utilities.
Execute the following command.
diskutil list
Cela affiche la liste des périphériques de stockage. Par exemple :
/dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI 209.7 MB disk0s1 2: Apple_HFS MacDrive 250.0 GB disk0s2 3: EFI 134.1 GB disk0s3 4: Microsoft Basic Data BOOTCAMP 115.5 GB disk0s4
Plug in the USB stick that you want to reset.
Execute again the same command.
diskutil list
Votre clé USB apparaît comme un nouveau périphérique dans la liste. Vérifiez si sa taille correspond à la taille de votre clé USB.
/dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI 209.7 MB disk0s1 2: Apple_HFS MacDrive 250.0 GB disk0s2 3: EFI 134.1 GB disk0s3 4: Microsoft Basic Data BOOTCAMP 115.5 GB disk0s4 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *8.0 GB disk1 1: Apple_HFS Untitled 1 8.0 GB disk1s1
Take note of the device name of your USB stick.
In this example, the USB stick is 8.0 GB and its device name is /dev/disk1. Yours might be different.
Si vous n'avez pas la certitude d'avoir le bon nom de périphérique, vous devriez ne pas poursuivre ou vous risquez d'écraser les données d'un disque dur de votre système.
Execute the following command to safely eject the USB stick. Replace device with the device name found in step 6.
diskutil unmountDisk device
Execute the following command to format the USB stick. Replace device with the device name found in step 6.
sudo fdisk -iy device
Vous pouvez essayer à nouveau de réinitialiser la clé USB avec l'Utilitaire de disque en retournant au début de cette page.