Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-12-2009, 04:39 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
dm-crypt, location of the source

Hello everyone,

i've installed Debian's root tree on encrypted partition. The kernel asks password; "Enter passphrase to unlock /dev/...". I would like to know where, and in what source files, is this part, eg password prompt. This system uses 2.6.26-1 kernel, i've searched the source in crypto, fs, device-mapper parts and no luck. I've even grepped the whole tree, still can't find it.

Basically, i would like to implement another way of getting passphrase, not via keyboard prompt. Therefore, a simple answer : where the hell is this thing, and if it ain't in kernel source, how can i rebuild the kernel with my changes

Thank you in advance.
Old 03-12-2009, 05:57 PM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,789
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
Sounds like the LUKS prompt. You can use a keyfile instead of a keyboard prompt. Look for or try "man" cryptsetup. The command should be in your initrd file if nowhere else...


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
Kernel Source Location linuxjamil Linux - Newbie 2 05-15-2008 01:25 AM
Kernel Source Location pete1234 Linux - Kernel 8 08-27-2006 04:08 PM
Looking for source tree location Kaao Linux - Desktop 2 08-23-2006 09:31 AM
Kernel Source Location alltime Linux - General 2 10-18-2005 12:21 AM
Location of kernel source Echo Kilo Linux - General 2 12-19-2004 06:15 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:48 PM.

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