LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-23-2007, 05:58 AM   #1
JAYCEE1
LQ Newbie
 
Registered: Jul 2007
Distribution: Mint 18.2
Posts: 15

Rep: Reputation: 2
TrueCrypt Problems-Unable to mount


I'm not able to get TrueCrypt to work. I made the keyfile and I found it in the file system.

When I type truecrypt -vl there is no info.

The polish tutorial that I'm using only says "something went wrong" but it doesn't say what.

How can I make TrueCrypt work?

Thanks!
 
Old 09-18-2007, 12:37 PM   #2
richardpuerto
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
re:Unable to mount Truecrypt volume

Try using these instructions. It seems like you only created the Key file. You also need to create the encrypted volume and then format it.
See below:

The key generation
To generate a key type:
truecrypt -- keyfile-create key.txt
Of course you can choose another keyname, and the extension.
Is your mouse connected directly to the computer where TrueCrypt is running?
Press “Y”, then you will be prompted to move your mouse
If everything was OK, the following text will be displayed: Keyfile created.
The virtual volume creation
To create a new volume you have to consider its name and type. There are only two types of such volume: normal and hidden. What is the difference between them? The hidden is just that, hidden (the placement is different - more info on TrueCrypt homepage).
In a terminal type:
truecrypt -c home.txt

You create a volume named home.txt. The extension is at the user’s
discretion, I’ve chosen *.txt, because it is more difficult for
a potential hacker to discover that it is a volume

Volume type:
1) Normal
2) Hidden
Select [1]: select 1

Filesystem:
1) FAT
2) None
Select [1]: select 2, because you will create other filesystem than FAT
on your volume, default is FAT

Enter volume size (bytes - size/sizeK/sizeM/sizeG): 10M -
now you state a size for your volume, I have chosen 10 MB

Hash algorithm:
1) RIPEMD-160
2) SHA-1
3) Whirlpool
Select [1]: choose hash, I suggest SHA-1, default is RIPEMD-160

Encryption algorithm:
1 ) AES
2 ) Blowfish
3 ) CAST5
4 ) Serpent
5 ) Triple DES
6 ) Twofish
7 ) AES-Twofish
8 ) AES-Twofish-Serpent
9 ) Serpent-AES
10 ) Serpent-Twofish-AES
11 ) Twofish-Serpent Select [1]: choose the algorithm, default is AES

Enter password for new volume ‘home.txt’:
press [Enter] if you don’t want any password
Re-enter password: press [Enter] again

Enter keyfile path [none]: here enter a full path to the key or
leave empty if you don’t have any key
Enter keyfile path [finish]: you will be prompt again to enter
the path. In case you have more than one key type another path, and
if you have entered all the keypaths, leave empty and press [Enter]

TrueCrypt will now collect random data.

Is your mouse connected directly to the computer where TrueCrypt is running?
Press “Y” if your mouse is directly connected to your PC,
but try pressing “n” and see what happens

Please type at least 320 randomly chosen characters and then press Enter:

if you enter fewer than required the program will show you
how many are missing
Now the program will start to create your volume. The time needed for this operation depends on your CPU and the size of the volume. The script will let you know when it is complete (”Volume created”). In root’s home directory there should be a file “home.txt”. You can try to open it in a text processor, my congratulations if you manage to read anything from it.
Volume mapping and creation of the filesystem.
As you remember you didn’t choose the filesystem for your volume during the creation process. That’s why you have to do it now. This is required because TrueCrypt uses the linux tool mount to mount a volume which needs to be passed a filesystem as an option.
Enter:
truecrypt /root/home.txt -k /root/key
Enter password for '/root/home.txt':
if there is no password to this volume just press [Enter]
OK. To check if mapping has gone well type:
truecrypt -vl shows info about mapped devices
.
If there is no info, it means that something has gone wrong.
Now you create a filesystem:
mkfs.ext3 /dev/mapper/truecrypt0 you can choose any filesystem
The filesystem has been created.
Mounting created volumes
Now when you have created a filesystem on your volume and mapped it, you can mount it to any directory.
To do this type:
truecrypt -d /dev/mapper/truecrypt0
unmaps the volume
mkdir encrypted -
creates a directory named “encrypted”, this is the directory where you are
going to mount the volume
truecrypt /root/home.txt -k /root/key /root/encrypted
mounts volume to encrypted directories
Done! From now on all data saved in “encrypted” directory will be encrypted.
 
  


Reply

Tags
encrypt, security, truecrypt, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with folder permissions, and truecrypt. spicyed Linux - General 7 07-31-2008 12:27 PM
Mount a Truecrypt volume as /home/knoppix docinthebox Linux - Software 3 06-07-2007 02:16 PM
Problems with truecrypt Cereal765 Linux - Software 4 03-13-2007 01:59 PM
can't mount truecrypt volume on FC4 obmuc Linux - Software 0 11-25-2006 04:03 PM
How to automatically execute a command (TrueCrypt) on mount cbonar Linux - General 2 08-27-2006 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration