EDIT: Sorry - this post was ****
EDIT: Sorry - this post was ****
Last edited by Lypsis; May 20th, 2006 at 01:06 PM.
Am I missing something but 4.2 was released in april are we talking the same set up here and will it work on BB 5-10 2.6.10-12-686-smp kernel.
I have it installed (according to this howto) on Dapper LTS with 2.6.15-23 kernel..Havent yet tried to actually use it, but it installed fine at least..I mean i havent encrypted any drives with it, i have checked that u can run it..
Hi all. I have a question.
When I download and compile the linux source which is in /usr/src/linux using the the step suggested in the first post of this thread...does this actually replace the existing kernel i have? or does it just compile it and everything remains in the /usr/src/linux directory for the sole purpose of compiling the truecrypt.
I did this last week for using Truecrypt with my 2.6.12_i686 kernel, and it didn't replace my default kernel in the /boot folder (That is, I haven't noticed any change of behavior when starting up and running my kubuntu).Originally Posted by sefs
Normally a certain person would move the kernel to /boot manually after building a kernel. I think the truecrypt build script doesn't even build the kernel as a whole but only the modules. But hey... you could always view the internals of the build and install scripts of Truecrypt if you can read the code... It would save tou the trouble of a post to this forum....
Prior to building TrueCrypt 4.2 on my system, I didn't even manually compile my kernel modules, nor did I manually specifiy a gcc version. The build script figured everything out and did everything for me. The only thing it asked was wheter I wanted to use my current kernel config file. I now think that if a user answers with 'yes', it will use the config file of the currently running kernel from the /boot folder...
Thanks TrueCrypt creators for making things easy!
Last edited by freeweazl; May 29th, 2006 at 05:55 PM.
I suppose it only uses the source to compile the kernel module for Truecrypt, you dont have to actually change the whole kernel..The last step after compilation is installing the kernel module, it says so on the howto. The source is needed to compile the module correctly for the current kernel, and this is also why it needs to be recompiled after kernel updates, with the new kernels sources.
Anyone can do any amount of work provided it isn't the work he is supposed
to be doing at the moment.
-- Robert Benchley
Yep. I first tried kernel headers, but they weren't enough. I wish someone would explain or point me to a clear explanation of what kernel headers accomplish vs. the source.
The main problem with Truecrypt at present seems to be in creating decent-sized volumes in Linux. I haven't tried yet in Dapper, but in Breezy (and this isn't limited to Ubuntu -- read the Truecrypt forums for more info) I was limited to about 2 GB without crashing, even after making an initial FAT32 volume and then converting to ext3.
Last edited by flyingbrass; May 31st, 2006 at 12:41 PM.
I'm not a specialist in linux or complilations but it may be that
1) the headers are used for software compilation that does not require a kernel module. (maybe totally dependant on its own code? or something like that?)
2) the source is needed for software which has as part of it a "kernel module" that needs to "plug in" to th linux kernel or something like that.
I am just guessing there.
Truecrypt installed easily in Dapper. Someone should make a .deb.
Don't consider this a proper howto for Dapper because I might be forgetting or overlooking something. I installed Truecrypt several days ago after a fresh Dapper install. The steps below are to the best of my recollection. I didn't have to bother with everything listed in the first post here.
sudo apt-get install build-essential
Install the kernel source:
sudo apt-get install linux-source-2.6.15
I don't remember if I had to manually untar the source. I think it happened automatically (to my surprise), but check in /usr/src and make sure you have a directory named linux-source-2.6.15, not just a file with tar.bz2 at the end. If you only have the tar.bz2 file:
sudo tar -xjvf /usr/src/linux-source-2.6.15.tar.bz2
Create a link to the source:
sudo ln -s /usr/src/linux-source-2.6.15 /usr/src/linux
Go to http://www.truecrypt.org/downloads.php and download "Other (source code)."
Extract the file (if in nautilus right click it and select extract here).
Read the readme, which tells you to cd into the Linux directory, and then:
When running the install script change the man directory to /usr/share/man
IIRC, at some point it asked whether to use the config of the running kernel. Yes.
Be forewarned that when creating volumes in Linux you only have the choice between a FAT32 filesystem and none. Using mkfs to convert to ext3 doesn't work for volumes over about 2 GB. If you try, the whole system locks up hard. There are posts about this in the Truecrypt forum. I'm hoping this issue will be solved in their next release. Apart from that, it seems to work pretty well.
Last edited by flyingbrass; June 1st, 2006 at 07:54 AM.
What happens with truecrypt when you upgrade your kernel ? with new kernel images coming out every other week, don't tell me I need to compile a whole new kernel just to make truecrypt work ?