Ask your questions here.
Post a reply

encrypted installation

Mon Apr 18, 2011 8:11 pm

it might be obvious, but i am lost.

I have choosen the refractainstaller-new
then expert.
I picked to create a separat boot and to create an encrpyted root partition.
I did not chose anything else (write extra-data or create a separate home).

I get this output:
boot_dev is /dev/sda1
Cleaning up...
Creating filesystem on /dev/sda2
You will need to create a passphrase


I sit in front of the screen, waiting for me to enter the password, but nothing seems to happen anymore.
So: is it due to cryptsetup luksOpen simply taking that long, or is something wrong?
It is a very old PC (something like P3 with a bit more than 200MB of Ram).

Re: encrypted installation

Tue Apr 19, 2011 1:40 am

Something is definitely wrong. Thanks for pointing it out. Sorry I missed it.

Edited to remove erroneous assumptions about the error.

Re: encrypted installation

Tue Apr 19, 2011 2:36 am

Tried fixing it and tried disabling error logging, but it's still doing the same thing. I'll have to look into it some more. Meanwhile, use refractainstaller-nogui.sh if you want encrypted partitions.

Re: encrypted installation

Tue Apr 19, 2011 2:58 am

There's nothing wrong with the installer that's in the released version (6.0.4). The problem is with the .desktop file. Edit /usr/share/refracta-installer-new.desktop to change 'gksu /usr/local/bin/refractainstaller-new' to
Code:
su -c /usr/local/bin/refractainstaller-new
or start the script from a root terminal.

Re: encrypted installation

Tue Apr 19, 2011 6:40 am

Mhh... first things first.
After the message:
"you will need to create a passphrase"
Shall it go on immediately ?

-------------------------------------
I did a non-encrypted install (to got my daily dose of success), and that ran through without any problems. Awesome on my stoneage PC... awesome. It flies.

Re: encrypted installation

Tue Apr 19, 2011 10:40 am

Yes, there should be no delay at that point. You should be asked to type YES.

Re: encrypted installation

Tue Apr 19, 2011 3:47 pm

fsmithred wrote:Yes, there should be no delay at that point. You should be asked to type YES.

Ok, i think i got it now (just read the bug thread too).
As known i like it chatty (one of the UNIX-things i don't like that much: as long there is no output all is ok... I like a short: "all good". Or kinda like that. I _hate_ that when doing neve-ending tar-operations).
I will try again, but not so soon (else tell me that i shall do so).

Re: encrypted installation

Tue Apr 19, 2011 4:45 pm

No hurry. I got it to run last night by changing the .desktop file. It has to do with gksu, but I'm not sure what the problem is. There was also a problem with gksu in the .desktop file for the Time, Timezone and Keyboard script, and I changed that before the final release. With 'su -c' the first thing that happens is a terminal opens and asks you for a password. It wants the root password.
Post a reply