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?
Question
Philipp Ludwig
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