LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trying to use losetup, ioctl tells me argument is invalid (https://www.linuxquestions.org/questions/linux-software-2/trying-to-use-losetup-ioctl-tells-me-argument-is-invalid-305686/)

Ephracis 03-24-2005 06:13 PM

trying to use losetup, ioctl tells me argument is invalid
 
I have /dev/hda5 mounted on /home and want to encrypt it. I thought I could do that by using losetup but no luck. here is the result:

Code:

losetup -e aes-256 /dev/loop0 /dev/hda5
Password:
ioctl: LOOP_SET_STATUS: Invalid argument

I have compiled aes, md5, des, blowfish and some other cryptos into the kernel (no module).

michaelk 03-26-2005 09:40 AM

Try using aes256 instead of aes-256?

Ephracis 03-26-2005 09:48 AM

Quote:

Originally posted by michaelk
Try using aes256 instead of aes-256?
Thanks, I will try that. By the way, what other cryptos can I use and what are they called?

Another questions: do I need to format the partition or do something with it. I am currently using it without it being encrypted and I have a couple of gb on it. Is it as easy as just moving the data and remount it using an encryption and then move the data back?

michaelk 03-26-2005 10:11 AM

I'm the wrong person to ask. A quick search found this site.

http://www.infoanarchy.org/wiki/inde...isk_Encryption


All times are GMT -5. The time now is 09:33 PM.