View previous topic :: View next topic |
Author |
Message |
shyan n00b
Joined: 21 Nov 2017 Posts: 2 Location: Argentina
|
Posted: Tue Nov 21, 2017 12:50 pm Post subject: Problem with disk encryption |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54278 Location: 56N 3W
|
Posted: Tue Nov 21, 2017 1:26 pm Post subject: |
|
|
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 |
|
|
shyan n00b
Joined: 21 Nov 2017 Posts: 2 Location: Argentina
|
Posted: Tue Nov 21, 2017 1:55 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54278 Location: 56N 3W
|
Posted: Tue Nov 21, 2017 4:02 pm Post subject: |
|
|
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 |
|
|
|