Problem with decryption
Hi!
I've encrypted a file in Slackware 10.2 with the following commands: Code:
dd if=/dev/urandom of=/mnt/sda4/enc.img bs=1024k count=700 Code:
losetup -e twofish /dev/loop0 /mnt/sda4/enc.img Code:
mount: you must specify the filesystem type The kernel in Slackware is vanilla 2.6.14.2, and I use the original kernel in Mandriva. Anyone can help me how to decrypt this image in Mandriva? |
"mount: you must specify the filesystem type"
You need to add the filesystem type to your mount command: mount -t ext2 /dev/loop0 /mnt/enc ---------------------------- Steve Stites |
If you type the wrong password for losetup, you'll also get this error message...
|
With mount -t ext2, I get this:
mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so Password is correct. |
Maybe a filesystem check (e2fsck) can tell more?
|
Code:
# e2fsck /dev/loop0 |
Does it work OK on the system you created the file on (slackware) ?
I'm running out of ideas here :( |
Yes, it woks fine on slackware.
|
Is it possible, that I need a key to decrypt it?
|
All times are GMT -5. The time now is 05:15 AM. |