LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 12-31-2010, 06:35 AM   #1
paliga
Member
 
Registered: Feb 2010
Posts: 39

Rep: Reputation: 0
"mkinitrd -C" Option works only with luksFormat'ed, not with cryptsetup'ed devices


Hi,

I was looking for a way to encrypt a partition and to mount it at boot time.

What I tried first was something like:

Code:
cryptsetup crypted_home /dev/sda3
mkfs.ext4 /dev/mapper/crypted_home

/etc/fstab:
/dev/sda3 /home 

mkinitrd -c -k 2.6.33.4-smp -m ext4 -f ext4 -C /dev/sda3
... but it didnt work. :/ I remembered that the mkinitrd manual mentioned luks devices, so I did exactly the same, but for the first line:

Code:
cryptsetup luksFormat /dev/sda3
cryptsetup luksOpen /dev/sda3 crypted_home
.. now it works fine, BUT I would like it to work with plain dm-crypt, without luks. Is there a way to accomplish that?

Im using Slackware 12.2(1?).

Thanks in advance for any help.

cheerios...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 10:35 AM
evdev/xorg help? USB mouse/kbd: 2.6.24="just works">2.6.25="unplug/replug to work". GrapefruiTgirl Linux - Hardware 4 12-13-2012 02:23 PM
"Shutdown" and "Restart" option missing after upgrade hansalfredche Mandriva 8 11-02-2006 07:23 AM
XF86Config : Option "Resolution" "800" carboncopy Slackware 2 12-16-2003 10:13 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration