Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crypt Prompt (dm_crypt)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
JohnnyPedderson
n00b
n00b


Joined: 21 Jul 2008
Posts: 7

PostPosted: Wed Jul 23, 2008 4:49 pm    Post subject: Crypt Prompt (dm_crypt) Reply with quote

Hallo,

I have successfully crypted my hard disk!
now I would have gladly this prompt:
http://gentoo-wiki.com/Image:Crypt_console.png

but how I make this?

Thank you..!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2971
Location: Germany

PostPosted: Wed Jul 23, 2008 5:10 pm    Post subject: Reply with quote

In the init script that runs the cryptsetup luksOpen command, run a 'clear' first (to clear the screen) and then cat the text file that contains the ascii art. Then it will show the ascii art on top and the plain old LUKS prompt below. Well, if you're lucky and the kernel doesn't scroll some USB detection messages on the console or something after you cleared it.
Back to top
View user's profile Send private message
JohnnyPedderson
n00b
n00b


Joined: 21 Jul 2008
Posts: 7

PostPosted: Wed Jul 23, 2008 5:13 pm    Post subject: Reply with quote

But i have no init script :O

EDIT: Wir können gerne in Deutscher Sprache sprechen!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2971
Location: Germany

PostPosted: Wed Jul 23, 2008 6:09 pm    Post subject: Reply with quote

Wether it's an init script or whatever doesn't matter. You add the prompt to whatever is calling cryptsetup luksOpen on your system. cryptsetup itself does not have a fancy prompt, so you'll have to output something fancy before calling cryptsetup yourself.
Back to top
View user's profile Send private message
JohnnyPedderson
n00b
n00b


Joined: 21 Jul 2008
Posts: 7

PostPosted: Wed Jul 23, 2008 6:33 pm    Post subject: Reply with quote

Ok thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum