-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Sunday 2007-11-25 at 15:38 +0100, Jan Tiggy wrote:


Well I tried and it doesn't work somehow.

The /etc/cryptotab looks like this (just for one partition at present):

/dev/loop0  /dev/sdb1    /srv/more     reiserfs   twofish256 defaults

The /etc/fstab contains:

dev/sdb1    /srv/more   reiserfs noauto,user,loop,encryption=twofish256


It must be /dev/sdb1, there is a slash missing. And, there are two numbers missing at the end of the line.


Then while mounting with:

mount /srv/more

and entering the password I'm getting:

ioctl: LOOP_SET_STATUS: Invalid argument

When you see that, have a look at the log or dmesg output. There you can see, or you should see, what the real cause is.


But when I remove the fstab line then the cryptosystem mounts perfectly
during the boot.

fstab works diferently; normally you should not define the same entry on both files. You also need to edit /etc/sysconfig/kernel:

MODULES_LOADED_ON_BOOT="cryptoloop twofish"


[...]

Ah, I see you did something similar later. You also need twofish there.

- -- Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFHSdultTMYHG2NR9URAq0GAJ4+C+G5u+3Id7ymzQ/8OIQxIyYsWQCfeMnk
GycPf+pPd5Pu9K9sV14/bxA=
=v3w7
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to