Article 5G73M grub and encrypted partition

grub and encrypted partition

by
drahal
from LinuxQuestions.org on (#5G73M)
I'm installing gentoo on a uefi system with a gpt partition table on my disk. I have come towards the end of the installation process. My parititons are:

partition 1 = efi
partition 2 = swap
partition 3 = root (encrypted)
-/dev/mapper/luks1

I currently have the luks1 opened since im still in the live env. I have all of them in fstab but for root i have /dev/mapper/luks1 instead of the partition 3. Now i supposedly have to edit my grub.cfg for crypt_root and real_root. I have never done this before. What exactly do i put in the /etc/default/grub? Do i put it under GRUB_CMDLINE_LINUX? I dont use lvm i only have my root encrypted.latest?d=yIl2AUoC8zA latest?i=zp0rpOy1xbQ:iASBKV3GLxY:F7zBnMy latest?i=zp0rpOy1xbQ:iASBKV3GLxY:V_sGLiP latest?d=qj6IDK7rITs latest?i=zp0rpOy1xbQ:iASBKV3GLxY:gIN9vFwzp0rpOy1xbQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments