How to encrypt a USB thumb drive in Ubuntu如何加密USB拇指驅動器在Ubuntu的

by Ken Murray on November 12, 2008 肯穆雷 08年11月十二號

Linux操作系統安全

TrueCrypt is a free, open source, system for establishing and maintaining an on-the-fly-encrypted filesystem. TrueCrypt是一個自由,開源系統的建立和維持一個即時加密的文件。 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可以為Linux , Windows和Mac OS X的加密卷可以使用任何支持的操作系統不管哪一個操作系統,他們就創造了。

  1. To install TrueCrypt visit要安裝TrueCrypt訪問 http://www.truecrypt.org/downloads.php , scroll down to Linux , select Ubuntu - x86.deb , then click Download . ,向下滾動 Linux , Ubuntu的選擇-x 86.deb,然後點擊下載。

  2. click to enlarge點擊放大

  3. When the download is complete, browse to it in the File Browser, right-click on it, and select Extract Here .當下載完成後,瀏覽到它在文件瀏覽器,右擊它,並選擇提取物在這裡

  4. click to enlarge點擊放大

  5. Now double-click on the extracted file and click Run when prompted what to do with the file.現在雙擊提取檔案,然後按一下運行提示時如何處理該文件。

  6. click to enlarge點擊放大

  7. Next, click Extract .deb Package File .下一步單擊提取。 deb軟件包文件。

  8. click to enlarge點擊放大

  9. You must agree to the TrueCrypt License.您必須同意TrueCrypt許可證。 Click I accept and agree to be bound by the license terms .按一下我接受並同意遵守授權條款

  10. click to enlarge點擊放大

  11. The TrueCrypt installation package is extracted and placed in /tmp在TrueCrypt安裝包中提取,並放置在/ tmp的

  12. click to enlarge點擊放大

  13. Using the File Browser, browse to /tmp and right-click on the TrueCrypt .deb file, then select Open with “GDebi Package Installer” .使用文件瀏覽器,瀏覽到/ tmp的和右擊TrueCrypt 。 deb文件 ,然後選擇網球公開賽“ GDebi安裝程序包” 。

  14. click to enlarge點擊放大

  15. Now click Install Package .現在點擊安裝包。

  16. click to enlarge點擊放大

  17. When prompted, enter your password and click OK .當提示,輸入您的密碼然後單擊確定。

  18. click to enlarge點擊放大

  19. The package manager will automatically download and install any dependencies as well as install TrueCrypt.該軟件包管理器會自動下載和安裝任何依賴性,以及安裝TrueCrypt 。

  20. click to enlarge點擊放大


    click to enlarge點擊放大

  21. Run TrueCrypt by clicking Applications -> Other -> TrueCrypt .運行TrueCrypt通過點擊應用 -> “其他- >” T r ueCrypt。

  22. click to enlarge點擊放大

  23. Click Create Volume to start the Volume Creation Wizard . 單擊創建開始卷創建嚮導

  24. click to enlarge點擊放大

  25. In this example I’m going to create an encrypted volume on an entire USB stick rather than the default encrypted file container.在這個例子中我要創建一個加密卷上的整個USB記憶棒,而不是默認的加密文件容器。 Click Create a volume within a partition/drive then click Next .點擊創建一個體積內的分區/硬盤然後單擊下一步。

  26. click to enlarge點擊放大

  27. The default Volume Type is a Standard TrueCrypt volume , which is fine with me.預設的卷類型是一個標準TrueCrypt卷 ,這是我的罰款。 Click Next . 單擊下一步。

  28. click to enlarge點擊放大

  29. Next we have to choose the Volume Location .下一步,我們必須選擇卷的位置 Click Select Device .按一下選擇裝置。

  30. click to enlarge點擊放大

  31. My USB stick shows up as /dev/sdb , so I selected /dev/sdb and clicked OK .我的USB記憶棒顯示為的/ dev /康體局 ,所以我選擇的/ dev /康體發展局及按下 Your USB stick may show up as a different device.您的USB記憶棒可能顯示為不同的設備。 Make sure you are selecting the correct device.請確保您已選擇正確的設備。

  32. click to enlarge點擊放大

  33. Now the Volume Location shows /dev/sdb .現在的位置顯示卷的/ dev /康體局 Click Next . 單擊下一步。

  34. click to enlarge點擊放大

  35. When prompted if you’re sure you want to encrypt the entire device, click Yes .當提示,如果您肯定要加密整個設備單擊是。

  36. click to enlarge點擊放大

  37. The following error message surprised me.下面的錯誤信息讓我吃驚。 I would have though TrueCrypt would have given me the option to delete the partitions.我本來雖然TrueCrypt將讓我選擇刪除分區。 Instead I had to do it manually.反之,我只好把手工操作。 Click OK . 單擊確定。

  38. click to enlarge點擊放大

  39. Now click Applications -> Accessories -> Terminal .現在點擊應用 -> “附件- >”終端

  40. click to enlarge點擊放大

  41. The following steps will delete the existing partition from the USB stick.下面的步驟將刪除現有的分區從USB棒。 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.這將清除任何文件在設備上,以便確保您有一個備份,如果有什麼問題可以認為要保留。

    In the terminal window type sudo fdisk /dev/sdb substituting sdb with the correct device name for your USB stick.在終端窗口輸入須藤的Fdisk的/ dev /深圳發展銀行深圳發展銀行代用正確的設備名稱為您的USB記憶棒。 Enter your password if prompted, then simply enter d to delete the partition, then w to write the changes to the device.輸入您的密碼,如果提示,然後只要輸入D鍵刪除分區,然後瓦特撰寫的變化裝置。 Close the terminal window.關閉終端窗口。


  42. click to enlarge點擊放大

  43. Now we’re back at the TrueCrypt Volume Creation Wizard.現在,我們回到了TrueCrypt卷創建嚮導。 Click Next . 單擊下一步。

  44. click to enlarge點擊放大

  45. Enter your password when prompted and click OK .輸入您的密碼提示時然後單擊確定。

  46. click to enlarge點擊放大

  47. The default Encryption Options are good enough for me.默認的加密選項都不夠好對我來說。 Click Next . 單擊下一步。

  48. click to enlarge點擊放大

  49. Now enter and confirm the password you want to use for your encrypted volume, then click Next .現在,輸入和確認密碼要使用的加密卷, 然後單擊下一步。

  50. click to enlarge點擊放大

  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警告我,我選擇的密碼太短,但看到這僅僅是一個例子我點擊是確認 ,我是很好的短期密碼。

  52. click to enlarge點擊放大

  53. I chose to accept the default Format Options .我選擇接受默認的格式選項 Note that if you want to be able to use your encrypted USB stick with Windows systems too, you must use the FAT filesystem.請注意,如果您希望能夠使用加密的USB隨身碟與Windows系統太多,您必須使用FAT文件 Click Next . 單擊下一步。

  54. click to enlarge點擊放大

  55. Wiggle your mouse cursor around within the TrueCrypt window for a bit, then click Format .扭動你的鼠標光標周圍的TrueCrypt窗口有點,然後按一下格式。

  56. click to enlarge點擊放大

  57. You will be warned that all files currently on your USB stick will be erased.您將被警告說,目前所有文件在您的USB記憶棒將會被刪除。 Click Yes . 單擊是。

  58. click to enlarge點擊放大

  59. You might want to grab a coffee at this stage.您可能想要抓住一個咖啡在這個階段。 Formatting the volume took far longer for me than the estimated 105 seconds.格式的數量遠了,我比估計105秒。

  60. click to enlarge點擊放大

  61. Hopefully when you come back from coffee, you’ll see the following and click OK .我希望當你回來的咖啡,您會看到下面然後單擊確定。

  62. click to enlarge點擊放大

  63. We’re not going to create another TrueCrypt volume, so click Exit .我們不打算再創建新的TrueCrypt卷,所以單擊退出。

  64. click to enlarge點擊放大

  65. Now we need to mount the encrypted volume so we can use it.現在我們需要安裝加密的體積,所以我們可以使用它。 Select Slot 1 in the top pane, then click Select Device .選取槽1頂部窗格,然後按一下選擇裝置

  66. click to enlarge點擊放大

  67. I chose /dev/sdb and clicked OK .我選擇的/ dev /康體發展局及按下

  68. click to enlarge點擊放大

  69. Now click Mount .現在點擊

  70. click to enlarge點擊放大

  71. Enter the password you chose when encrypting the volume and click OK .輸入密碼時選擇加密的數量然後單擊確定。

  72. click to enlarge點擊放大

  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.請注意,加密的數量現在出現在頂部窗格和一個圖標代表的加密卷已經出現在桌面上。 Click Exit . 單擊退出。

  74. click to enlarge點擊放大

  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.雙擊TrueCrypt卷圖標在桌面上和你有一個新的空白,加密磁盤使用就像你將任何其他磁盤。

  76. click to enlarge點擊放大

  77. When you are finished using your encrypted volume, open TrueCrypt again by selecting Applications -> Other -> TrueCrypt .當您完成使用加密卷,打開TrueCrypt再次選擇應用 -> “其他- >” T r ueCrypt。 Select your encrypted volume in the top pane, then click Dismount .選擇您的加密卷的頂部窗格,然後按一下卸除

  78. click to enlarge點擊放大

  79. TrueCrypt unmounts the volume and you should see that the top pane is now empty. TrueCrypt unmounts的數量和你應該看到,頂部窗格現在是空的。

  80. click to enlarge點擊放大

Related Posts: 相關文章:
  • How to securely store files in Windows如何安全地存儲在Windows文件
  • How to mount a remote filesystem in Ubuntu如何裝入一個偏遠的Ubuntu的文件
  • How to automatically sign in to Ubuntu如何自動登錄到Ubuntu的
  • How to move or copy photos from your digital camera to your PC in Ubuntu如何移動或複製的照片從數碼相機到您的PC在Ubuntu的
  • How to increase the screen resolutions available to Ubuntu while running in Parallels for OS X如何提高屏幕分辨率提供給Ubuntu的同時運行在平行針對OS X
  • Get Simple Help tutorials just like this one in your email inbox every day - for free!獲取簡單的幫助教程就這樣一個在您的電子郵件收件匣每一天-是免費的! Just enter your email address below:只要輸入您的電子郵件地址如下:

    You can always opt out of this email subscription at any time.您可以隨時退出這個郵件訂閱在任何時候。


    Bookmark and Share 書籤和共享

    { 1 comment… read it below or 1評論...閱讀低於或 add one添加一個 }

    1 1 gnuman gnuman 11.13.08 at 6:31 am 11.13.08於上午06時31分

    Great tutorial on how to use TrueCrypt to encrypt a USB drive.大補習關於如何使用TrueCrypt加密USB驅動器。

    Leave a Comment發表您的評論

    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> 您可以使用這些HTML標記和屬性: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <del datetime="">的<em> <i> <q cite=""> <strike>的<strong>