LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-28-2016, 10:43 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,462

Rep: Reputation: Disabled
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?

Last edited by JZL240I-U; 12-28-2016 at 12:03 PM.
 
Old 12-28-2016, 11:55 AM   #2
bbuske
Member
 
Registered: Dec 2016
Location: Caracas, DC, Venezuela
Distribution: Ubuntu 20.04 LTS
Posts: 109

Rep: Reputation: 15
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?

Last edited by bbuske; 12-28-2016 at 11:56 AM. Reason: Added some additional info
 
Old 12-29-2016, 11:38 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,462

Original Poster
Rep: Reputation: Disabled
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 .
 
Old 12-29-2016, 12:39 PM   #4
bbuske
Member
 
Registered: Dec 2016
Location: Caracas, DC, Venezuela
Distribution: Ubuntu 20.04 LTS
Posts: 109

Rep: Reputation: 15
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.
 
Old 12-30-2016, 04:57 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,462

Original Poster
Rep: Reputation: Disabled
Yuhuuuh, that did it .

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 .

Last edited by JZL240I-U; 12-30-2016 at 05:02 AM.
 
Old 12-30-2016, 07:51 AM   #6
bbuske
Member
 
Registered: Dec 2016
Location: Caracas, DC, Venezuela
Distribution: Ubuntu 20.04 LTS
Posts: 109

Rep: Reputation: 15
Hey,

I'm glad that it worked out!

Cheers,

Ben
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Manjaro and LUKS /home partition syg00 Arch 5 06-16-2015 10:45 PM
fresh install with encrypted home partition w00ly Ubuntu 5 11-13-2009 01:32 AM
[SOLVED] How to mount an encrypted partition in opensuse 11.1 entz SUSE / openSUSE 4 11-03-2009 06:39 PM
[Slackware 13.0]Cryptsetup problem with encrypted home partition dlinux Slackware 3 08-29-2009 12:18 PM
LXer: Encrypted home partition in Linux LXer Syndicated Linux News 0 05-03-2007 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration