Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Truecrypt encrypted drive - mounting problems

  1. #1
    Join Date
    Apr 2013
    Beans
    11

    Truecrypt encrypted drive - mounting problems

    I noticed I have problems with mounting encrypted HDD seagate 2tb,

    Since last Wednesday, probably after ubuntu update - kernel update,

    I can't mount encrypted drive , truecrypt gives message:

    Code:
    device-mapper: resume ioctl failed: Invalid argument
    Command failed
    I read I need to rebuild truecrypt module.

    Can you help me with the syntax , how can I rebuild that module?

    What to type in terminal?

    truecrypt version is 7.1a

  2. #2
    Join Date
    Feb 2006
    Beans
    457

    Re: Truecrypt encrypted drive - mounting problems

    miro8, I had this a week or so ago when attempting to access a TrueCrypt 7.1a created under Ubuntu 12.04lts from a freshly installed Ubuntu 12.10 with the LVM option + encryption. After searching about I decided that this may be down to LVM + encryption so a fresh install without LVM worked as expected.

    Good luck, hope your backups are sound.

  3. #3
    Join Date
    Apr 2013
    Beans
    11

    Re: Truecrypt encrypted drive - mounting problems

    thanks for the answer, you mean fresh install of partition without LVM where data is located (encrypted), or just fresh install of operating system partition without LVM?

    1st and most important step fro me now is to copy data from encrypted partition on safe place.

  4. #4
    Join Date
    Feb 2006
    Beans
    457

    Re: Truecrypt encrypted drive - mounting problems

    miro8,
    If you can create a backup of unencrypted data in a safe place then I would do it.
    As I didn't have all that much data I need to access I used DVDs + USB memory sticks to store backups.
    I then did a clean install of 12.10 with encrypted /home option, created a new set of TrueCrypt containers and filled them with the unencrypted backups.
    It all worked with TrueCrypt and Ubuntu working together without problems.

    You may well be able to manipulate LVM to short cut these steps but I do not have the knowledge to guide you.

    You can never have too many working backups.

    Hope it all goes as expected.

  5. #5
    Join Date
    Apr 2013
    Beans
    11

    Re: Truecrypt encrypted drive - mounting problems

    I understand, you used truecrypt containers( encrypted files) , but in my case I encrypted whole drive.

    It's too risky for me to make tests with the disk while data is stored, so first I want to make sure I can get access to files so I can backup.
    But I'm not sure what kind of backup can I do , since partition encrypted with treucrypt is hidden and ext4.
    Last edited by miro8; April 23rd, 2013 at 11:37 AM.

  6. #6
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,883
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Truecrypt encrypted drive - mounting problems

    @miro,
    Have you tried a fresh installation of truecrypt on a live flash drive?

    I find it most handy. At least it will eliminate the number of things that may go wrong (fresh, working 'live' usb + fresh TC installation).
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  7. #7
    Join Date
    Apr 2013
    Beans
    11

    Re: Truecrypt encrypted drive - mounting problems

    hello,

    @varunendra

    here is the update, sorry I was busy.

    I installed ubuntu live stick from installation cd (command was usb-creator-gtk) and boot from it, installed truecrypt - the same version what I use on that disk.

    What happened is that with the default truecrypt settings I got the same error as specified in the first post, so I couldn't mount it,

    then I unchecked option in truecrypt settings : settings->preferences->system integration: "DO NOT USE KERNEL CRYPTOGRAPHIC SERVICES"

    and I could finally mount and see the data.

    But from what I've read, without using kernel cryptographic services truecrypt performance will be very slow.

    So most important is I can backup data now but what to so now?! I thought clean and new installation of ubuntu might solve the problem, knowing I need to uncheck this option probably I will need to look some alternative software.

    I choosed truecrypt because it's multiplatform software.

    Still need help

  8. #8
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,883
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Truecrypt encrypted drive - mounting problems

    As far as I know, the properties of an encrypted drive/container are independent of version of TC used to create it.

    Given the descriptions so far, I doubt a broken kernel upgrade, or maybe a bug in the new kernel. If you haven't removed the older kernel after update, please try booting into the older one, and retry mounting with default options.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  9. #9
    Join Date
    Apr 2013
    Beans
    11

    Re: Truecrypt encrypted drive - mounting problems

    Thanks for response, how can I actually boot with the old kernel?

    BTW still I need to determine if there was kernel update in this month?
    Last edited by miro8; April 26th, 2013 at 08:54 AM.

  10. #10
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,883
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Truecrypt encrypted drive - mounting problems

    You're welcome

    To see which kernel versions are installed :
    Code:
    dpkg --get-selections | grep linux-image
    To see current kernel in use:
    Code:
    uname -mr
    To boot with an older kernel (if exists), choose "Older versions.." from GRUB Menu. To bring up the grub menu, press 'Shift' or 'Esc' key while the computer is booting.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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