Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Mon Jul 16, 2018 6:24 pm

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
PostPosted: Sun Jun 18, 2006 1:04 pm 
Offline

Joined: Tue Jun 06, 2006 5:02 pm
Posts: 5
Location: Germany
Dear kurobox fans,

yes I would like to use a tool to mount an encrypted hard disk partition. Currently I love to use the tool truecrypt on Windows as it is open source and well known.

As Truecrypt now also is available for Linux ... I tried to compile it on my kurobox hd but got millions of errors. Would someone be able to help me on this or could suggest a different software maybe ?

This is my linux version (Sylver image)
cat /proc/version
Linux version 2.6.15.6-kuroboxhg (root@KURO-BOX) (gcc version 3.4.4) #3 Sun Mar 12 00:59:51 CET 2006

Truecrypt can be downloaded here (select other for source code)
http://www.truecrypt.org/downloads.php
truecrypt-4.2-source-code.tar.gz
# copy via ftp to e.g. /mnt/share/
# then untar
tar xzf truecrypt-4.2-source-code.tar.gz
cd truecrypt-4.2
cd Linux
./build.sh

## now the problem occurs ...
## Checking build requirements...
## Linux kernel (2.6.15.6-kuroboxhg) source directory [/usr/src/linux]:

## what do I have to put as the source directory here ?

Here is some description on how to continue ... but I got stuck here
http://wiki.ubuntuusers.de/TrueCrypt

Help is highly appreciated.
:roll:

_________________
.... love kurobox ....


Top
   
 Post subject:
PostPosted: Tue Jun 20, 2006 4:12 am 
Offline

Joined: Mon Mar 27, 2006 3:03 pm
Posts: 19
Location: Austin, TX
Quote:
## now the problem occurs ...
## Checking build requirements...
## Linux kernel (2.6.15.6-kuroboxhg) source directory [/usr/src/linux]:

## what do I have to put as the source directory here ?


I'm not using Sylver's Image, but I just typed in "/usr/src/linux-2.6.16.20" at that prompt because that's where I put the kernel sources.

You can get the Linux kernel sources from kernel.org.

In your case:

ftp://ftp.kernel.org/pub/linux/kernel/v ... .6.tar.bz2

This is typically extracted to a directory such as /usr/src/linux-2.6.15.6 with a symbolic link called /usr/src/linux that points to it.

It builds for me, but I don't yet know how to test it. I had to "export ARCH=ppc" before it would build.

There were also five warnings (undefined dm_get_device, dm_put_device, etc.) that I know nothing about. The warnings did not stop the build. I have no idea if it works. If I get around to testing it, I'll let you know.


Top
   
 Post subject:
PostPosted: Tue Jun 20, 2006 12:53 pm 
Offline

Joined: Mon May 30, 2005 9:01 am
Posts: 279
Location: France, St Cyr-L'Ecole (78)
You need to put kernel sources in /usr/src/linux directory, but to install truecrypt, you need device mapper module (and the AES encryption module) to be enabled in the kernel !
So you need to compile your own kernel with this enabled !


Top
   
 Post subject:
PostPosted: Tue Jun 20, 2006 2:40 pm 
Offline

Joined: Sun Jun 12, 2005 1:31 am
Posts: 220
Normal you leave the kernel source in a versioned directory /usr/src/linux-2.6.15 then create a link to /usr/src/linux


Top
   
 Post subject:
PostPosted: Fri Jun 23, 2006 5:58 pm 
Offline

Joined: Tue Jun 06, 2006 5:02 pm
Posts: 5
Location: Germany
Here I found some info on encrypted containers also ...
http://www.linuxquestions.org/linux/ans ... Containers

Doing the Kernel upgrade (I am a bit scared)
#log into kurobox as root
cd /usr/src/
wget ftp://ftp.kernel.org/pub/linux/kernel/v ... 5.6.tar.gz
tar xvzf 'linux-2.6.15.6.tar.gz'
ln -s /usr/src/linux-2.6.15.6 /usr/src/linux
cd linux-2.6.15.6

#copy the config file from Sylver to the linux sources
#before you start menuconfig to do the changes
cp /boot/confighg /usr/src/linux-2.6.15.6/.config

make menuconfig

#activate necessary options
#when I checked the settings, for all features already M was entered
#which should mean that modularized support is already available
#and should be in the compiled kernel of the Sylver image
#Am I wrong ?
#Device Drivers -> Multi-Device Support (RAID and LVM) -> Device Mapper Support
#Device Drivers -> Multi-Device Support (RAID and LVM) -> Crypt Target Support
#Device Drivers -> Block Devices -> Loopback Device Support
#Cryptographic Options ->

make modules_prepare &
(this is where I am right now ... the Box is working hard. Will check tomorrow. I started make with '&' to be able to close my putty session without stopping the process)

... I actually do not know yet on what needs to be done to actually install and activate new Linux kernel ...

_________________
.... love kurobox ....


Top
   
 Post subject:
PostPosted: Fri Jun 23, 2006 7:03 pm 
Offline

Joined: Mon May 30, 2005 9:01 am
Posts: 279
Location: France, St Cyr-L'Ecole (78)
Adding these module should be enought !
At least for me it worked :)


Top
   
 Post subject:
PostPosted: Mon Jul 17, 2006 7:10 pm 
Offline

Joined: Tue May 02, 2006 11:26 pm
Posts: 7
I've been trying to get this to work too. How did it turn out for you?


Top
   
 Post subject:
PostPosted: Sat Nov 04, 2006 6:12 pm 
Offline

Joined: Tue May 02, 2006 11:26 pm
Posts: 7
I got it working for a little while, but I remember it took a LOT more that what is described above. For one thing, you have to download and install device-mapper.1.01.05.tar.gz and set up the crypt target and edit the init.d files to make the target appear.

I can't seem to get it working anymore and my kernel won't load any modules.


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited