Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with disk encryption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
shyan
n00b
n00b


Joined: 21 Nov 2017
Posts: 2
Location: Argentina

PostPosted: Tue Nov 21, 2017 12:50 pm    Post subject: Problem with disk encryption Reply with quote

Hi everyone.

I installed Gentoo in the notebook yesterday, encripting /bin, /var, /usr, /tmp and /home with cryptsetup in LUKS format, but in the boot the kernel say that can not start the sys init ( OpenRC ) that are in /usr.

How I can resolve this issue?
Do I need create the initramfs with encrypt support? Because I didn´t.
_________________
Thank you very much.
Regards

Shyan - Joaquin Manuel Crespo
Invierno OS founder and developper.
C developper and ethical hacking.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54278
Location: 56N 3W

PostPosted: Tue Nov 21, 2017 1:26 pm    Post subject: Reply with quote

shyan,

Welcome to Gentoo.

Yes you must unlock the encrypted things before you can use them.
That means an initrd since you need user space tools for that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
shyan
n00b
n00b


Joined: 21 Nov 2017
Posts: 2
Location: Argentina

PostPosted: Tue Nov 21, 2017 1:55 pm    Post subject: Reply with quote

Ok, great and thank you Neddy.
One question, Why the kernel need that if in the kernel compilation I did mark with [*] in all options for crypto devices?
_________________
Thank you very much.
Regards

Shyan - Joaquin Manuel Crespo
Invierno OS founder and developper.
C developper and ethical hacking.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54278
Location: 56N 3W

PostPosted: Tue Nov 21, 2017 4:02 pm    Post subject: Reply with quote

shyan,

The kernel options provide the kernel things you need so that the encryted devices can be made available to use.
To actually use them needs programs that are not a part of the kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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