LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Manjaro mount encrypted openSUSE /home partition (https://www.linuxquestions.org/questions/linux-software-2/manjaro-mount-encrypted-opensuse-home-partition-4175596289/)

JZL240I-U 12-28-2016 10:43 AM

Manjaro mount encrypted openSUSE /home partition
 
I use tumbleweed on my netbook. Recently the little machine struggles to juggle all my expectations in its little CPU so I downloaded and installed manjaro (lean, xfce, good for oldtimers I read...).

I created an encrypted /home in the original SUSE install. When I added manjaro I used SUSE's encrypted /home for manjaro as well. Booting manjaro I saw an emergency / repair console inviting me to add the necessary repairs to the system.

I looked (in manjaro) at /etc/fstab. The entry for /home was

Code:

UUID-<longish-number> /home  LUKS  defaults,noatime  0  2
which I replaced with SUSE's

Code:

/dev/mapper/cr_home /home  ext4  acl, user_xattr, nofail  0  2
hoping that this would be the remedy. The netbook now boots into manjaro but /home is empty and obviously no partition mounted in /home.

How can I make manjaro recognize the encrypted home so that it asks for the password and then continues booting as SUSE does?

bbuske 12-28-2016 11:55 AM

Hello,

in order to mount the encrypted partition outside of openSUSE, you need to follow some additional steps. Please check the following links for some information:

https://doc.opensuse.org/documentati...ptofs.y2.homes
https://en.opensuse.org/SDB:Encrypted_filesystems

and here for a possible solution (if it is LUKS):

https://evilshit.wordpress.com/2012/...ions-manually/

I imagine the respective key files, that openSUSE created in your home directory are still present and untouched?

JZL240I-U 12-29-2016 11:38 AM

Ah, it looked so convincing. But...

I used the steps proposed in "How to mount a LUKS encrypted partition on boot" you provided with your links. Now the screen stays dark when grub2 is done. I triple checked the UUIDs. No console available with <ctrl><alt><fn> either. How to debug that?

Thanks for your trying to help :).

bbuske 12-29-2016 12:39 PM

Hello,

I am sorry that it did not work out. I have found encryption somewhat bothersome and the additional security it provides not worth the trouble. I instead use an unencrypted drive with a strong password and KDEwallet, while I use key encryption for individual sensitive files as needed.

As to your problem, schau mal hier: :)

http://askubuntu.com/questions/16207...have-to-fix-it

This is mainly for Ubuntu, but has some good ideas. Especially have a look at the LUKS Encryption part. In addition you could also try with "nomodeset" or "quiet splash" boot options to see what is happening. Otherwise, maybe you could use a rescue disk or an live CD, to get into a working system and analyze from there.

Hope it works for you.

JZL240I-U 12-30-2016 04:57 AM

Yuhuuuh, that did it :D.

I changed the grub2 "linux-line" to noquiet and nosplash (as suggested in the ubuntu link) -- then I could see the query for the password of the encrypted partition. All is working now. Thank you. The combination of both links (LUKS and grub2) is the solution, marking this thread as solved now.

P.S.: I still have tumbleweed installed in case of need ;).

bbuske 12-30-2016 07:51 AM

Hey,

I'm glad that it worked out!

Cheers,

Ben


All times are GMT -5. The time now is 08:24 AM.