How to encrypt a USB thumb drive in Ubuntu Ako šifrovať palec USB disk v Ubuntu

by Ken Murray on November 12, 2008 Ken Murray dňa 12.Novembra 2008

LinuxBezpečnosť

TrueCrypt is a free, open source, system for establishing and maintaining an on-the-fly-encrypted filesystem. TrueCrypt je zadarmo, open source systém pre vytvorenie a udržiavanie-on-fly-šifrovaného súborového systému. TrueCrypt is available for Linux, Windows, and Mac OS X. Encrypted volumes can be used with any supported OS regardless of which OS they were created on. TrueCrypt je k dispozícii pre Linux, Windows a Mac OS X. šifrovaných zväzkov možno použiť u všetkých podporovaných OS, bez ohľadu na OS, ktoré boli vytvorené.

  1. To install TrueCrypt visit Ak chcete inštalovať TrueCrypt návštevu http://www.truecrypt.org/downloads.php http://www.truecrypt.org/downloads.php , scroll down to Linux , select Ubuntu – x86.deb , then click Download . , Prejdite na Linux, vyberte Ubuntu - x86.deb, kliknite na tlačidlo Download.

  2. click to enlarge kliknite pre zväčšenie

  3. When the download is complete, browse to it in the File Browser, right-click on it, and select Extract Here . Keď je sťahovanie ukončené, vyhľadajte ho v Prehliadač súborov pravým-kliknite naň a vyberte Extract Here.

  4. click to enlarge kliknite pre zväčšenie

  5. Now double-click on the extracted file and click Run when prompted what to do with the file. Teraz double-kliknite na extrahovaný súbor a kliknite na tlačidlo Spustiť, keď výzvy, čo robiť so súborom.

  6. click to enlarge kliknite pre zväčšenie

  7. Next, click Extract .deb Package File . Ďalšie, kliknite na tlačidlo Rozbaliť. Deb balíku.

  8. click to enlarge kliknite pre zväčšenie

  9. You must agree to the TrueCrypt License. Musíte súhlasiť s TrueCrypt License. Click I accept and agree to be bound by the license terms . Kliknite na Súhlasím a súhlasíte s tým, licenčné podmienky.

  10. click to enlarge kliknite pre zväčšenie

  11. The TrueCrypt installation package is extracted and placed in /tmp TrueCrypt inštalačný balíček sa extrahuje a umiestni sa do / tmp

  12. click to enlarge kliknite pre zväčšenie

  13. Using the File Browser, browse to /tmp and right-click on the TrueCrypt .deb file, then select Open with “GDebi Package Installer” . Používanie prehliadača súborov, prejdite do / tmp a pravým-kliknite na TrueCrypt. Deb súbor, potom zvoľte Otvoriť s "gdebi Package Installer".

  14. click to enlarge kliknite pre zväčšenie

  15. Now click Install Package . Teraz kliknite na tlačidlo Inštalovať balík.

  16. click to enlarge kliknite pre zväčšenie

  17. When prompted, enter your password and click OK . Až budete vyzvaní, zadajte heslo a kliknite na tlačidlo OK.

  18. click to enlarge kliknite pre zväčšenie

  19. The package manager will automatically download and install any dependencies as well as install TrueCrypt. Správca balíčkov automaticky stiahne a nainštaluje všetky závislosti, ako aj inštalovať TrueCrypt.

  20. click to enlarge kliknite pre zväčšenie


    click to enlarge kliknite pre zväčšenie

  21. Run TrueCrypt by clicking Applications -> Other -> TrueCrypt . Spustiť TrueCrypt kliknutím na Aplikácie -> Ostatné -> TrueCrypt.

  22. click to enlarge kliknite pre zväčšenie

  23. Click Create Volume to start the Volume Creation Wizard . Kliknite na tlačidlo Vytvoriť Objem začať Zväzok Sprievodca vytvorením.

  24. click to enlarge kliknite pre zväčšenie

  25. In this example I'm going to create an encrypted volume on an entire USB stick rather than the default encrypted file container. V tomto príklade sa budem vytvoriť šifrovaný zväzok na celý USB skôr ako štandardný šifrovaný súbor kontajnera. Click Create a volume within a partition/drive then click Next . Kliknite na tlačidlo Vytvoriť zväzok vnútri oddielu / disku kliknite na tlačidlo Ďalej.

  26. click to enlarge kliknite pre zväčšenie

  27. The default Volume Type is a Standard TrueCrypt volume , which is fine with me. Predvolený typ zväzku je štandard TrueCrypt zväzok, ktorý je v poriadku so mnou. Click Next . Kliknite na tlačidlo Ďalej.

  28. click to enlarge kliknite pre zväčšenie

  29. Next we have to choose the Volume Location . Potom máme zvoliť umiestnenie zväzkov. Click Select Device . Kliknite na tlačidlo Vybrať zariadení.

  30. click to enlarge kliknite pre zväčšenie

  31. My USB stick shows up as /dev/sdb , so I selected /dev/sdb and clicked OK . Môj USB objaví ako / dev / sdb, takže som vybral / dev / sdb a kliknete na tlačidlo OK. Your USB stick may show up as a different device. USB kľúčenky sa môžu javiť ako iné zariadenie. Make sure you are selecting the correct device. Uistite sa, že výber správneho zariadenia.

  32. click to enlarge kliknite pre zväčšenie

  33. Now the Volume Location shows /dev/sdb . Teraz Volume Location prehliadky / dev / sdb. Click Next . Kliknite na tlačidlo Ďalej.

  34. click to enlarge kliknite pre zväčšenie

  35. When prompted if you're sure you want to encrypt the entire device, click Yes . Až budete vyzvaní, ak ste si istí, ktorú chcete zašifrovať celé zariadenie, kliknite na tlačidlo Áno.

  36. click to enlarge kliknite pre zväčšenie

  37. The following error message surprised me. Nasledujúce chybové hlásenie ma prekvapila. I would have though TrueCrypt would have given me the option to delete the partitions. Já bych ale TrueCrypt by mi dal možnosť zmazať diskové oddiely. Instead I had to do it manually. Namiesto toho som musel urobiť ručne. Click OK . Kliknite na tlačidlo OK.

  38. click to enlarge kliknite pre zväčšenie

  39. Now click Applications -> Accessories -> Terminal . Teraz kliknite na Aplikácie -> Príslušenstvo -> Terminál.

  40. click to enlarge kliknite pre zväčšenie

  41. The following steps will delete the existing partition from the USB stick. Nasledujúce kroky odstrániť existujúce oddiel z USB kľúčenky. This will erase any files on the device so make sure you have a backup if there's anything on it that you want to keep. Tým sa zmaže všetky súbory v zariadení, takže sa uistite, že máte zálohu, ak je niečo, čo na tom, že chcete zachovať.

    In the terminal window type sudo fdisk /dev/sdb substituting sdb with the correct device name for your USB stick. V termináli sudo okna zadajte príkaz fdisk / dev / sdb zámena sdb sa správnym názov zariadenia pre USB kľúčenky. Enter your password if prompted, then simply enter d to delete the partition, then w to write the changes to the device. Zadajte svoje heslo, ak budete vyzvaní, potom jednoducho zadať d odstrániť oddiel, potom w zapísať zmeny do prístroja. Close the terminal window. Zavrieť okno terminálu.


  42. click to enlarge kliknite pre zväčšenie

  43. Now we're back at the TrueCrypt Volume Creation Wizard. Teraz sme späť na vzniku Zväzok TrueCrypt Wizard. Click Next . Kliknite na tlačidlo Ďalej.

  44. click to enlarge kliknite pre zväčšenie

  45. Enter your password when prompted and click OK . Zadajte svoje heslo, keď výzvy a kliknite na tlačidlo OK.

  46. click to enlarge kliknite pre zväčšenie

  47. The default Encryption Options are good enough for me. Voľby predvolené šifrovanie sú dosť dobré pre mňa. Click Next . Kliknite na tlačidlo Ďalej.

  48. click to enlarge kliknite pre zväčšenie

  49. Now enter and confirm the password you want to use for your encrypted volume, then click Next . Teraz zadajte a potvrďte heslo, ktoré chcete použiť pre vaše šifrovaný zväzok, kliknite na tlačidlo Ďalej.

  50. click to enlarge kliknite pre zväčšenie

  51. TrueCrypt warned me that the password I chose was too short, but seeing how this is just an example I clicked Yes to confirm that I was fine with the short password. TrueCrypt ma varoval, že heslo, ktoré som vybral, bola príliš krátka, ale keď videl, ako je to len príklad som klikol Áno potvrďte, že som bol v pohode s krátkou heslo.

  52. click to enlarge kliknite pre zväčšenie

  53. I chose to accept the default Format Options . Rozhodla som sa prijať predvolený formát Voľby. Note that if you want to be able to use your encrypted USB stick with Windows systems too, you must use the FAT filesystem. Všimnite si, že ak chcete mať možnosť používať šifrované USB kľúčenky s operačnými systémami Windows aj, musíte použiť súborový systém FAT. Click Next . Kliknite na tlačidlo Ďalej.

  54. click to enlarge kliknite pre zväčšenie

  55. Wiggle your mouse cursor around within the TrueCrypt window for a bit, then click Format . Krútiť kurzorom myši kdekoľvek v okne TrueCrypt o kúsok, kliknite na tlačidlo Formát.

  56. click to enlarge kliknite pre zväčšenie

  57. You will be warned that all files currently on your USB stick will be erased. Budete upozornení, že všetky súbory v súčasnosti na vašej USB kľúčenky budú vymazané. Click Yes . Kliknite na tlačidlo Áno.

  58. click to enlarge kliknite pre zväčšenie

  59. You might want to grab a coffee at this stage. Možno budete chcieť zájsť na kávu v tejto fáze. Formatting the volume took far longer for me than the estimated 105 seconds. Formátovanie objem trvalo oveľa dlhšie, ako pre mňa okolo 105 sekúnd.

  60. click to enlarge kliknite pre zväčšenie

  61. Hopefully when you come back from coffee, you'll see the following and click OK . Dúfajme, že až sa vrátiš z kávy, uvidíte nasledujúce údaje a kliknite na tlačidlo OK.

  62. click to enlarge kliknite pre zväčšenie

  63. We're not going to create another TrueCrypt volume, so click Exit . Nebudeme-li vytvoriť ďalší zväzok TrueCrypt, tak kliknite na tlačidlo Koniec.

  64. click to enlarge kliknite pre zväčšenie

  65. Now we need to mount the encrypted volume so we can use it. Teraz sa musíme pripojiť šifrovaný zväzok, takže ju môžeme použiť. Select Slot 1 in the top pane, then click Select Device . Vyberte Slot 1 na hornom paneli, kliknite na tlačidlo Vybrať zariadení.

  66. click to enlarge kliknite pre zväčšenie

  67. I chose /dev/sdb and clicked OK . Vybral som si / dev / sdb a kliknete na tlačidlo OK.

  68. click to enlarge kliknite pre zväčšenie

  69. Now click Mount . Teraz kliknite na tlačidlo Mount.

  70. click to enlarge kliknite pre zväčšenie

  71. Enter the password you chose when encrypting the volume and click OK . Zadajte heslo, ktoré ste zvolili pri šifrovaní objeme a kliknite na tlačidlo OK.

  72. click to enlarge kliknite pre zväčšenie

  73. Note that the encrypted volume now shows up in the top pane and an icon representing the encrypted volume has appeared on the desktop. Všimnite si, že šifrovaný zväzok sa teraz ukazuje v hornom paneli a ikona symbolizujúca šifrovaný zväzok sa objavila na ploche. Click Exit . Kliknite na tlačidlo Koniec.

  74. click to enlarge kliknite pre zväčšenie

  75. Double-click on the TrueCrypt volume icon on the desktop and you have a fresh, blank, encrypted disk to use just as you would any other disk. Double-kliknite na ikonu hlasitosti TrueCrypt na ploche a máte čerstvé, prázdne, šifrovaný disk používať rovnako, ako by ste iný disk.

  76. click to enlarge kliknite pre zväčšenie

  77. When you are finished using your encrypted volume, open TrueCrypt again by selecting Applications -> Other -> TrueCrypt . Keď skončíte s pomocou svojho šifrovaný zväzok, otvorené TrueCrypt opäť výberom Aplikácie -> Ostatné -> TrueCrypt. Select your encrypted volume in the top pane, then click Dismount . Vyberte si šifrovaný zväzok v hornom paneli, kliknite na tlačidlo Odpojiť.

  78. click to enlarge kliknite pre zväčšenie

  79. TrueCrypt unmounts the volume and you should see that the top pane is now empty. TrueCrypt unmounts objemu a mali by ste vidieť, že horná tabuľa je teraz prázdny.

  80. click to enlarge kliknite pre zväčšenie

Related Posts: Súvisiace zmeny:
  • How to securely store files in Windows Ako bezpečne ukladať súbory vo Windows
  • How to mount a remote filesystem in Ubuntu Ako sa pripojiť vzdialený súborový systém v Ubuntu
  • How to analyze disk usage in Ubuntu Ako analyzovať využitie disku v Ubuntu
  • How to automatically sign in to Ubuntu Ako sa automaticky prihlásiť do Ubuntu
  • How to move or copy photos from your digital camera to your PC in Ubuntu Ako presunúť alebo skopírovať fotografie z digitálneho fotoaparátu do počítača s Ubuntu
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Get Help jednoduchá cvičenie, rovnako ako to vo vašej e-mailovej schránky každý deň - zadarmo! Just enter your email address below: Stačí zadať e-mailovú adresu:

    You can always opt out of this email subscription at any time. Vždy sa môžete odhlásiť z tohto e-mailu predplatného kedykoľvek.

    { 3 comments… read them below or (3 komentáre ... prečítať nižšie alebo add one pridať jedno } )

    1 1 gnuman gnuman 11.13.08 at 6:31 am 11.13.08 at 6:31 am

    Great tutorial on how to use TrueCrypt to encrypt a USB drive. Veľké tutoriál, ako používať TrueCrypt na kryptovanie USB disku.

    2 2 AlesZib 12.21.08 at 11:03 pm AlesZib 12.21.08 v 1103: pm

    I was just wondering, can I use such encrypted USB on other PCs. Len ma napadlo, môžem použiť ako šifrované USB na iných počítačoch. I guess they need to have TrueCrypt instaled? Myslím, že musia mať TrueCrypt nainštalovaný? Is it possible to have the program for both ubuntu and Windows on a USB and run it from there (they of course should not be encrypted)? Je možné mať program, ako pre Ubuntu a Windows na USB a spustite ho odtiaľ (ktoré samozrejme nesmie byť šifrované)?

    3 3 Marcos 02.02.09 at 10:50 am Marcos 02.02.09 v 10:50

    Hay alguna manera de que el montado/desmontado del USB se haga de forma Automatica tanto Windows como en Ubunutu? Hay alguna manera de que el Montado / desmontado del USB sa Haga de forma Automatica Windows tanto como en Ubunutu?

    Leave a Comment Zanechať komentár

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Môžete použiť tieto HTML tagy a atribúty: href = "" <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> del datetime <em> <i> <q Cite=""> <strike> <strong>