Article 5BQDN How to use cryptdevice or rd.luks.name?

How to use cryptdevice or rd.luks.name?

by
slac
from LinuxQuestions.org on (#5BQDN)
I set up a configuration of LUKS over LVM and I want to set a kernel parameter using cryptdevice or rd.luks.name but I can not do it (or I don't know).

The kernel parameter could be either:

Code:cryptdevice=UUID=device-UUID:root root=/dev/mapper/rootor

Code:rd.luks.name=device-UUID=root root=/dev/mapper/rootI want to do that so I can mount the encrypted root partition, seems like the parameters neither of those parameters work since I am not able to set /dev/VolGroup0/root to /dev/mapper/root. I want to tell fstab where to mount it:

Code:/dev/mapper/root / ext4 defaults 1 1Also, what would be the difference of adding that line from above or the next to the fstab? :

Code:/dev/VolGroup0/root / crypto_LUKS defaults 1 1latest?d=yIl2AUoC8zA latest?i=jG04FOgYPfs:UPjjoUCosfM:F7zBnMy latest?i=jG04FOgYPfs:UPjjoUCosfM:V_sGLiP latest?d=qj6IDK7rITs latest?i=jG04FOgYPfs:UPjjoUCosfM:gIN9vFwjG04FOgYPfs
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