Linux dd_tails 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Install Tails using dd
  2. Make sure that the USB stick on which you want to install Tails is unplugged.
  3. Execute the following command:
  4. ls -1 /dev/sd?
  5. It returns a list of the storage devices on the system. For example:
  6. /dev/sda
  7. Plug in the USB stick on which you want to install Tails.
  8. All the data on this USB stick will be lost.
  9. Execute again the same command:
  10. ls -1 /dev/sd?
  11. Your USB stick appears as a new device in the list.
  12. /dev/sda
  13. /dev/sdb
  14. Take note of the device name of your USB stick.
  15. In this example, the device name of the USB stick is /dev/sdb. Yours might be different.
  16. If you are unsure about the device name, you should stop proceeding or you risk overwriting any hard disk on the system.
  17. Execute the following commands to copy the USB image that you downloaded earlier to the USB stick.
  18. Replace:
  19. tails.img with the path to the USB image
  20. device with the device name found in step 5
  21. dd if=tails.img of=device bs=16M oflag=direct status=progress
  22. You should get something like this:
  23. dd if=/home/dani/tails.img of=/dev/sdb bs=16M oflag=direct status=progress
  24. If no error message is returned, Tails is being copied on the USB stick. The copy takes some time, generally a few minutes.
  25. If you get a Permission denied error, try adding sudo at the beginning of the command:
  26. sudo dd if=tails.img of=device bs=16M oflag=direct status=progress
  27. The installation is complete after the command prompt reappears.