You are not logged in.

#1 2011-03-23 03:34:25

jwhendy
Member
Registered: 2010-04-01
Posts: 621

[SOLVED] cryptsetup luksFormat would not ask for passphrase!?

I was just reinstalling and following the same procedure I did the last time. cfdisk, make /boot then leave the rest for /, then create a luks volume:

# cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2

I got the big warning message and had to type "yes" but then it just went back to the prompt. No request for any password at all! I tried this several times with the same result. Tried luksOpen just for the heck of it and got the error that it wasn't a valid luks device or something to that effect.

Going through the installer is working, but this really puzzled me. Why in the world wouldn't cryptsetup have asked for a passphrase?

I am pretty sure the last time it forced me to manually do 'modprobe dm_mod' but this time it didn't. I think the netinstall image is the same as it was a month ago, so I don't think that was it.

Thoughts?

Last edited by jwhendy (2011-03-24 16:27:49)

Offline

#2 2011-03-24 10:38:50

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: [SOLVED] cryptsetup luksFormat would not ask for passphrase!?

Did you load the modules for AES?

Offline

#3 2011-03-24 11:05:20

vik_k
Member
From: Pune, India
Registered: 2009-07-12
Posts: 227
Website

Re: [SOLVED] cryptsetup luksFormat would not ask for passphrase!?

uhh.. maybe silly ques.. but u typed YES not yes?? right??


"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette

Offline

#4 2011-03-24 14:55:15

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] cryptsetup luksFormat would not ask for passphrase!?

Well, I've already installed so I can't retry this right now, but if it's case sensitive this might be my biggest display of silliness yet!

Offline

#5 2011-03-24 16:07:09

vik_k
Member
From: Pune, India
Registered: 2009-07-12
Posts: 227
Website

Re: [SOLVED] cryptsetup luksFormat would not ask for passphrase!?

yep.. it is case sensitive.. tongue


"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette

Offline

#6 2011-03-24 16:28:03

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] cryptsetup luksFormat would not ask for passphrase!?

Marked solved -- many thanks!

Offline

Board footer

Powered by FluxBB