Help Needed with Mounting Encrypted Drive - Error: “Cannot Find Valid EROFS Superblock”

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help Needed with Mounting Encrypted Drive - Error: “Cannot Find Valid EROFS Superblock”

512 Views
martin29533
Contributor I

Hi everyone,

I am following this guide: NXP i.MX Linux User’s Guide, specifically section 10.5.3.3 on full disk encryption.

Everything goes smoothly until step 16, where I attempt to remount the encrypted drive. However, I encounter the following error:

 

 

root@compulab-imx8mp:~# mount /dev/mapper/encrypted /mnt/encrypted/
[ 1938.658624] erofs: (device dm-0): erofs_read_superblock: cannot find valid erofs superblock
mount: /mnt/encrypted: wrong fs type, bad option, bad superblock on /dev/mapper/encrypted, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

 

 

 

I also tried specifying the file system type directly:

 

 mount -t ext4 /dev/mapper/encrypted /mnt/encrypted/

 

But I still get the same result.

I’ve restarted the entire process multiple times but always run into this issue at the same step. Has anyone encountered a similar problem or have any suggestions on what might be going wrong? Any help would be greatly appreciated!

Thank you in advance!

 

0 Kudos
Reply
1 Reply

464 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

How you create the file system on the device and what is the log shown?

Before reboot, make that the device is unmounted and deactivate.

 

Regards

Harvey

0 Kudos
Reply