Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • difficulty booting with dm-verity

$
0
0
Hello,

I try to use dm-verity to check my rootfs but always get the following error:
device-mapper: table: 253:0: verity: Data device lookup failed (-ENXIO)

I recompile the kernel with the configuration attached
I booted from a live Linux, run the command
veritysetup format /dev/sda2 /dev/sda3

Then modify the grub.cfg to add the md-mod.create to the kernel parameter with the value given by the previous command as following
dm-mod.create="verity,,,ro,0 131072 verity 1 /dev/sda2 /dev/sda3 4096 4096 16384 1 sha256 hash salt 0 "

Did I miss a step or a config somewhere?

Best regards
Alexandre
config.txt

grub.txt

Statistics: Posted by afr — 2024-05-07 01:49



Viewing all articles
Browse latest Browse all 2901

Trending Articles