dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

kernel device-mapper driver

(1/6) > >>

Onyarian:
Hi,

I have import a fuse.sce and a lvm2.sce, then I loadsce this two and execute truecrypt.
Now, with truecrypt I can create an encrypted volume, but when I go to open this encrypted volume it comes the next error:


--- Quote ---/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Command failed

--- End quote ---

Perhaps is necessary to activate it in kernel.

After that I want to combine fuse.sce, lvm2.sce and truecrypt in one truecrypt.sce.
Is possible to remit this truecrypt.sce to the repo? bacause is impossible to make directly an truecrypt.sce from the debian repo.

*(I have made the changes in boot parameters, /etc/group, and /etc/sudoers to make work truecrypt.)

Jason W:
"importsce raid-dm-3.8.10-tinycore" to get the dm-mod kernel module.


I am open to creating a meta package for dependencies of things like truecrypt that are not available in Debian to ease installation.   And for things useful that are not available in Debian, I will consider hosting a premade package.

Onyarian:
Thanks Jason,

with raid-dm-3.8.10-tinycore I get a step more, but now after mounting the encrypted file truecrypt hangs and I don't see any error. In /mnt there is a device dm0 (OK) and a truecrypt1 folder (not OK) but not another device truecrypt1 to work with. I have to make more proves.

With the meta package, perhaps there is an option to send scripts, something like:

--- Quote ---importsce fuse
importsce lvm2
importsce raid-dm-3.8.10-tinycore
loadsce fuse
loadsce lmv2
loadsce raid-dm-...
cp /tmp/tcloop/fuse /tmp/package
cp /tmp/tcloop/lvm2 /tmp/package
cp /tmp/tcloop/raid-dm... /tmp/package
cp /home/tc/truecrypt/truecrypt /tmp/package/usr/bin
cp /home/tc/truecrypt/... /tmp/package/....
mksquashfs package truecrypt.sce
cp /tmp/truecrypt.sce /mnt/sda1/dce5/sce/
....or something so

--- End quote ---

Jason W:
ok, let me try it out also and perhaps be able to see what the issue is.

Jason W:
Here is what I did to make a truecrypt.sce, and it is working here to create and mount/unmount a  container.

First, get truecrypt:

wget http://www.truecrypt.org/download/truecrypt-7.1a-linux-x86.tar.gz



Then  "importsce truecrypt-dep"

Move the sce to current dir (note the period at the end of the line, it is part of the command for those not familiar):

mv /etc/sysconfig/tcedir/sce/truecrypt-dep.sce .

Untar the truecrypt tarball:

sudo tar xvf truecrypt-7.1a-linux-x86.tar.gz

Then run the install utility:

sudo ./truecrypt-7.1a-setup-x86

It will ask you whether to install to system or make a package in /tmp, option #2 is make a package in /tmp and do that.

Then unsquash the deps sce and delete it if desired:

sudo unsquashfs -d pkg truecrypt-dep.sce
rm truecryptdep.sce

then untar the package in /tmp to that pkg/ dir:

sudo tar xvf /tmp/truecrypt_7.1a_i386.tar.gz -C pkg/

Now make an sce package of it:

mksquashfs pkg/ truecrypt.sce
mv truecrypt.sce /etc/sysconfig/tcedir/sce/

loadsce truecrypt

#####

If you don't need truecrypt to be part of the dependency sce, it is simpler.

wget http://www.truecrypt.org/download/truecrypt-7.1a-linux-x86.tar.gz

importsce truecrypt-dep

sudo tar xvf truecrypt-7.1a-linux-x86.tar.gz

sudo ./truecrypt-7.1a-setup-x86   #  Pick option 2

sudo tar xvf /tmp/truecrypt_7.1a_i386.tar.gz -C pkg/

sudo mksquashfs pkg/ truecript.sce

mv truecrypt.sce /etc/sysconfig/tcedir/sce/

loadsce truecrypt truecrypt-dep



Though I am not totally against hosting packages or fetch scripts, packages that are not legacy go out of date so fast, and scripts do the same.  But how-to's don't get broken by a package update upstream, or if download location has changed, etc.  Submitted README's are always welcome and will be at least considered.

I will make a meta package called truecrypt-dep, it is available now.  I will also make a README for truecrypt outlining this.

Navigation

[0] Message Index

[#] Next page

Go to full version