Bogdan Cristea wrote:
I am trying to mount a file as encrypted filesystem on openSuSE 10.3 following indications from: http://en.opensuse.org/SDB:Using_the_Crypto_File_System#Use_a_file_as_encryp...
I am able to execute the first two steps with no problem:
1. dd if=/dev/urandom of=loop_fs bs=1024 count=20000
2. sudo /sbin/losetup -e 3des /dev/loop0 loop_fs
but at the third step I get an error and I am not able to figure out what it is:
3. sudo /sbin/mke2fs /dev/loop0 mke2fs 1.40.2 (12-Jul-2007) mke2fs: Device size reported to be zero. Invalid partition specified, or partition table wasn't reread after running fdisk, due to a modified partition being busy and in use. You may need to reboot to re-read your partition table.
Can anyone tell me please how to solve this issue?
Hi, I read the link that you gave and the first step is to make sure that you have the "cryptoloop" module installed with any dependencies. "If the commands below get error messages, it may be that you need to load the kernel module which does the encryption: modprobe cryptoloop" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org