AnsweredAssumed Answered

Boot encrypted root file system from sd card

Question asked by Alexander Lampret on Feb 5, 2018
Latest reply on Feb 5, 2018 by D. RY

Hello everyone,


I try to boot from an encrypted sd card but it's not possible. What have I missed?

Main setup was done as shown here: Installing Ubuntu Rootfs on NXP i.MX6 boards 

The first partition is vfat and the second one ext4 with LUKS.


On boot I get "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block"


What's necessary for booting? Unfortunately I found hundreds of tutorial how to sign uboot but nothing related encrypting root fs of Linux and booting into it.


Storing the key will be a separate question. For the moment I would be happy if key file is stored on vfat partition (partition one on sd card)


Thx in advance!


Best regards,