Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

how do i set up automounting encrypted partition?

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
picarica
Guru
Guru
Posts: 366
Joined: Sat Aug 11, 2018 12:41 am

how do i set up automounting encrypted partition?

  • Quote

Post by picarica » Mon Oct 28, 2019 6:19 pm

so i would like to make my openrc or grub to automatically mount my /home encrypted partition but that it will still ask for passphrase
now i get error at but that dolvm couldnt found any lvm partition, i have this in my defaukt/grub

Code: Select all

GRUB_CMDLINE_LINUX="dolvm crypt_home=UUID=4d663460-f28f-4aa6-882a-974187b7701a home=/dev/mapper/vg0-home"
i followed this guide https://wiki.gentoo.org/wiki/Full_Disk_ ... Simplified
but i guess it works on for all encrypted system

this is my dissetup
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Sun Nov 03, 2019 5:43 pm

Rather than mounting it at grub level, do it via openrc. Configure /etc/conf.d/dmcrypt accordingly and make sure the dmcrypt service is started at boot level.

Code: Select all

target='vg0-home'
source=UUID='4d663460-f28f-4aa6-882a-974187b7701a'
key='/full/path/to/homekey'
Plus fstab entry for /dev/mapper/vg0-home.

Actually, I just see that this is in the guide you were using.
Top
Chiitoo
Ninja Apprentice
Ninja Apprentice
User avatar
Posts: 3057
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Thu Nov 21, 2019 12:03 pm

Moved from Installing Gentoo to Duplicate Threads in favour of [topic=1103648]fstab cant mount my encrypted /home partition[/topic].
Kindest of regardses.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic