LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-24-2008, 02:41 PM   #1
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Rep: Reputation: 0
finding module


hi all,

i'm novice in linux, I have a problem with encrypting root fs and it has failure in the following error message when i want to use cryptsetup to provide encrytion layer , with this error:

Quote:
Command failed: BLKROGET failed on device: Inappropriate ioctl for device
is seems because of not existing 'dm_mod' module in kernel, is it true?
if that's the reason, now! how can i catch it, that's not exist im my available repository, please guide me what must i do? i didn't find it in mirrors for source
 
Old 12-26-2008, 10:53 AM   #2
Saptech
Member
 
Registered: Nov 2000
Location: Third Stone from the Sun
Distribution: Mageia 7, Devuan & Void Linux
Posts: 172

Rep: Reputation: 40
You're not saying which distro you are using but I found this on Ubuntu's forum.

Quote:
Re: HOWTO: Full encrypted system: root, home, swap
It was something simple. I was trying to make the encrypted filesystem on a mount instead of a drive or partition. Now I can run
Code:

# cryptsetup -d /etc/keys/backup create backup /dev/sdd
# mount /dev/mapper/backup mnt/usb

successfully. The incompatible libdevmapper was because I was forgetting to use 'sudo'.

Also, the following works correctly now.
Code:

# cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/sdd
Maybe it can be of help. here's the link below.

http://ubuntuforums.org/showthread.php?t=120091&page=7
 
Old 12-26-2008, 02:54 PM   #3
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Original Poster
Rep: Reputation: 0
hi,
thanks that finally someone is here

yes , that was exactly what i did (with su) ,instead for using later as a root partition, as i see in this link : http://www.linuxjournal.com/print/7743

but in this way ,
when i type this code:
Code:
cryptsetup -d /etc/root-key create root /dev/sda9
i had this problem:
Code:
Command failed: BLKROGET failed on device: Inappropriate ioctl for device
that isn't because of not existence of dm_crypt module but i think that the reason is not existence of dm-mod module , but i didn't have it in my fc10 repository, and i didn't find it anywhere,

please help me!
 
Old 12-27-2008, 02:37 PM   #4
Saptech
Member
 
Registered: Nov 2000
Location: Third Stone from the Sun
Distribution: Mageia 7, Devuan & Void Linux
Posts: 172

Rep: Reputation: 40
Sorry. That's all the help I can offer. I haven't used encryption for any OS and don't know anything about it. Try googling for more info.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Module depenencies dagrafixman Linux - Newbie 2 03-30-2004 08:36 AM
Finding module dependencies PR0T0N Linux - General 1 02-12-2004 02:22 AM
Finding Module Dependencies???... CrAzY G Linux - Newbie 1 01-17-2004 12:22 PM
Finding Module Dependencies xAXISx Mandriva 1 12-07-2003 12:38 PM
finding module dependencies jakublgz Linux - Newbie 9 07-28-2002 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration