Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

Reading a LUKS keyfile from a FAT USB Drive during boot


Philipp Ludwig

Question

My laptop is running an encrypted funtoo installation, which prompts me for the password of the root volume during boot. This works nice, but since I'm lazy I'd like to read the key from an USB drive.

Using the commandline parameter root_key=keyfile.bin this works fine if I boot my custom kernel, where support for FAT fileystems is built into the kernel (not as a module).

However, using the debian kernel this does not work, since the initramfs cannot mount the device - I guess because of missing support for the FAT fileysystem. I tried adding fat and vfat to /usr/share/genkernel/defaults in the line MODULES_FS, but without any luck.

Is this even possible or do I need to use something like ext4 on the USB drive?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Thanks for your explanation and ongoing support oleg! I will look into alternative builder for the initramfs and maybe add a guide for the Surface Pro 4 to the Wiki. I will mark this as solved for now.

Edit: Wow, seems that I have made two different accounts. That's embarassing.

Link to comment
Share on other sites

×
×
  • Create New...