LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-22-2017, 01:23 PM   #1
sellerie
LQ Newbie
 
Registered: Nov 2016
Location: Aachen / Germany
Distribution: Arch Linux / pfSense
Posts: 4

Rep: Reputation: Disabled
Question How to decrypt non-root partition on boot? (arch linux // systemd/lvm)


Hello,

I am currently trying to get the boot process on
arch Linux do decrypt a partition on a separate hard drive that is not root,
still I would like to get asked for the password of it upon boot process.
I know how to set this up with an encrypted root partition inside an LVM including other partitions,
but this is a whole other drive.
Also I wouldn't like to put both together in one VG because
I only want my root to be on that particular other hard drive (SSD), but nothing else besides that.
Can I somehow make LVM only write to specific hard drives in one VG
or how can I make systemd to ask for the password on boot?
 
Old 03-23-2017, 10:40 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
From the Arch Wiki:
dm-crypt/Encrypting a non-root file system
https://wiki.archlinux.org/index.php...ot_file_system
 
  


Reply

Tags
luks, lvm, non-root, systemd


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
[SOLVED] Unable to decrypt root fs with UEFI+encrypted LVM arcctgx Slackware 5 08-28-2016 01:12 PM
arch linux: start asterisk as root at boot aagaag Linux - Software 1 07-04-2016 10:08 AM
Can't decrypt partition without root [SOLVED] Archy1 Debian 7 08-09-2015 09:42 PM
[SOLVED] Arch linux: No /dev/mapper/lvm-root ERROR linux555 Linux - Newbie 7 05-07-2013 11:03 AM
How to convert non LVM root partition to LVM? pinga123 Linux - Newbie 5 04-18-2012 11:08 PM

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

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

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