LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-23-2019, 07:47 AM   #1
MrLinuxUser12
LQ Newbie
 
Registered: May 2017
Posts: 13

Rep: Reputation: Disabled
Exclamation Installing GRUB on encrypted system with multiple drives


I am working on an (almost) fully encrypted system for my computer, with only /boot and /boot/efi being exposed. In itself that isn't very difficult, but I happen to have two drives which I want to encrypt, making this problem a little harder to solve.

The Setup

My plan is to have one drive hold /boot, /boot/efi, and an encrypted system partition including the system root /. The other drive contains only one luks partition which holds the /home partition. This leads to the problem that both drives need to be decrypted at startup in order to mount the directories correctly.

I want to enter only one password to decrypt both drives. To do this, I've set a password for the system drive, and generated a keyfile for the storage drive, the keyfile being stored in a directory of the encrypted system drive. Using the keyfile, the storage drive can be opened. Of course, I'll need to do some registration in crypttab and fstab to enable automatic mounting of the decrypted /home on startup.

The Issue

Unfortunately, the installers for Manjaro (both graphical and architect) fail installing GRUB correctly on my setup (architect hangs, graphical installs a grub that doesn't ask for a password, but instead already fails to find a disk with a specific UUID, most likely the decrypted mapped disk --> encryption must not have been registered correctly in grub). So, it seems I have to do this install on my own.

The Question

How would you go about installing GRUB on my encrypted system?

Last edited by MrLinuxUser12; 01-23-2019 at 07:52 AM.
 
Old 01-30-2019, 03:57 PM   #2
MrLinuxUser12
LQ Newbie
 
Registered: May 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
To give this question a proper answer:

The problem really was/is caused by the manjaro installer. I've found a workaround in this thread: https://forum.manjaro.org/t/manjaro-...n/72101?page=2
 
  


Reply

Tags
boot, encryption, grub



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
Encrypted system now has GRUB rescue error: Unkown File System Bendthe_skonit Linux - Newbie 4 02-24-2018 07:33 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:12 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