On 17.08.2012, Mateusz Marzantowicz wrote: 

> 3) Modify /etc/default/grub by changing GRUB_CMDLINE_LINUX:
> rd.luks.key=<filename>:<device>

I agree that the available documentation is horrible. However,
I think you should mention here that <device> should be specified with
the UUID prefix, e.g.

 rd.luks.key=/mykeyfile:UUID=xxxxxxxx

> 4) Recreate /boot/grub2/grub.cfg file.
> 5) Reboot and see how your partition is unlocked without passphrase.

As far as I remember last time I looked into dracut and udev sources,
a keyfile found here is probed against all available devices, so you
should be able to unlock several encrypted partitions with just one
keyfile, just as it works with a conventional passphrase.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to