FS#11524 - cryptkey on external drive (ex. SD/MMC)

Attached to Project: Arch Linux
Opened by Manuel C. (ekerazha) - Friday, 19 September 2008, 11:28 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 07 June 2009, 23:31 GMT
Task Type Support Request
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I open a "Support Request" this time (on the forum nobody could help me), I think this isn't a bug.

I want to decrypt the root partition using a keyfile on an external drive (ex. SD/MMC, but I had the same issue using a USB stick).

So I tried to add to the mkinitcpio.conf file these MODULES

"mmc_core sdhci nls_cp437 vfat"

and I added to the kernel line of grub/menu.lst

cryptkey=/dev/mmcblk0p1:vfat:/myfile.key

but booting the system, it says "Keyfile could not be opened. Reverting to passphrase.". Note that removing/inserting the SD card, it DOES detect the card (I receive the message of device removed etc.).

What could it be? Thank you very much.
This task depends upon

Closed by  Thomas Bächler (brain0)
Sunday, 07 June 2009, 23:31 GMT
Reason for closing:  None
Comment by Manuel C. (ekerazha) - Friday, 19 September 2008, 18:55 GMT
I've also tried /dev/disk/by-id/mmc......etc. inside cryptkey (instead of /dev/mmcblk0p1), but it still doesn't work.
Comment by Thomas Bächler (brain0) - Sunday, 28 September 2008, 20:09 GMT
There's a weird bug in mkinitcpio, use a filename without dots and dashes.
Comment by Manuel C. (ekerazha) - Thursday, 04 December 2008, 14:11 GMT
I've already spent many days trying to make this work, without success, but I have no more time now. So I reverted to the passphrase method. Atm, I think you could close this task.

Loading...