Results 1 to 6 of 6

Thread: Unable to Encrypt Drive

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    2

    Default Unable to Encrypt Drive

    I'm attempting to install Backtrack 4 R2 for the first time on my USB drive with encryption following the tutorial in the "How To" section.

    This is my input:
    root@bt:~# cryptsetup -y --cipher aes-xts-plain --key-size 512 luksFormat /dev/sdb5

    And I receive this output:
    WARNING!
    ========
    This will overwrite data on /dev/sdb5 irrevocably.

    Are you sure? (Type uppercase yes): YES
    Command failed: Can not access device

    How can I allow it to access the device? Or what have I done wrong?

  2. #2
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default Re: Unable to Encrypt Drive

    Why are there at least 5 partitions on your drive?
    Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69

  3. #3
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    2

    Default Re: Unable to Encrypt Drive

    I simply followed the instructions that were provided. I take it by your response, however, that I must have made a mistake somewhere?

  4. #4
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default Re: Unable to Encrypt Drive

    Well you should have some basic knowledge about partitioning schemes under Linux before running a command like that.
    Also thinking about what you are executing helps a lot to prevent deleting a partition with data on it you do not intend to delete.
    And yes that happened to me as well, so it is a piece of advice from my own experience
    Tiocfaidh ár lá

  5. #5
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default Re: Unable to Encrypt Drive

    Quote Originally Posted by KMDave View Post
    Well you should have some basic knowledge about partitioning schemes under Linux before running a command like that.
    Also thinking about what you are executing helps a lot to prevent deleting a partition with data on it you do not intend to delete.
    And yes that happened to me as well, so it is a piece of advice from my own experience
    What he said!! ^^^


    If there is already data on the drive, then I can kinda understand trying to encrypt sda5, but man, that's a lot of partitions. On my two systems that are full disk encrypted, there are only two partitions, though neither are external drives, the partitioning should be the same. Sda1 is /boot and sda2 is / . /boot is not encrypted, and / is. Maybe if you gave us an idea of the drive's partitioning scheme, we can give you a push in the right direction.
    Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69

  6. #6
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default Re: Unable to Encrypt Drive

    You might wan to try a
    Code:
    fdisk -l
    and see which partitions you have
    Tiocfaidh ár lá

Similar Threads

  1. Replies: 0
    Last Post: 10-30-2009, 10:16 PM
  2. Unable to encrypt packets with airtun-ng. HELP
    By akballow in forum OLD Newbie Area
    Replies: 3
    Last Post: 09-22-2009, 06:28 AM
  3. Unable to mount second hard drive
    By unwir3d in forum OLD Newbie Area
    Replies: 4
    Last Post: 12-08-2008, 11:56 AM
  4. BT3 unable to mount/view hard drive
    By KrazyDayz in forum OLD Newbie Area
    Replies: 3
    Last Post: 04-29-2008, 05:53 PM
  5. Unable to locate Hard drive
    By WyseArse in forum OLD Newbie Area
    Replies: 2
    Last Post: 10-13-2007, 11:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •