如果想要卸载 Tails 并用将 USB 记忆棒做他用,您必须重置 U盘。

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.

您有可能会覆盖计算机上的磁盘。

如果您在任何时候不确定选择的设备,请勿继续。

  1. 确保您想要重置的 USB 记忆棒还未插入计算机中。

  2. Start Disk Utility.

    A list of all the storage devices on the computer appears in the left pane of the window.

  3. 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.

  4. In the list of storage devices, verify that the device corresponds to the USB stick that you want to reset, its brand, its size, etc.

  5. To reset the USB stick:

    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.

  6. In the confirmation dialog, click on the Erase button to confirm.

  7. 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
  8. Click Erase.

If the erase process fails, try formatting the USB stick using the command line first.

Resetting a USB stick using the command line

  1. Unplug the USB stick from the computer.

  2. Open the Terminal utility from Applications ▸ Utilities.

  3. Execute the following command.

    diskutil list

    It returns a list of the storage devices on the system. For example:

    /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
    
  4. Plug in the USB stick that you want to reset.

  5. Execute again the same command.

    diskutil list

    Your USB stick appears as a new device in the list. Check that its size corresponds to the size of your USB stick.

    /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
    
  6. 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.

    If you are unsure about the device name, you should stop proceeding or you risk overwriting any hard disk on the system.

  7. Execute the following command to safely eject the USB stick. Replace device with the device name found in step 6.

    diskutil unmountDisk device

  8. Execute the following command to format the USB stick. Replace device with the device name found in step 6.

    sudo fdisk -iy device

  9. You can try to reset the USB stick again using Disk Utility from the beginning of this page.