dm-crypt.saout.de archive mirror
 help / color / mirror / Atom feed
* [dm-crypt] [DM-Verity] Corruption after activation during boot
@ 2021-03-20 11:22 Aditya Prakash
  2021-03-24  8:57 ` [dm-crypt] " Tom Eccles
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Prakash @ 2021-03-20 11:22 UTC (permalink / raw)
  To: dm-crypt


[-- Attachment #1.1: Type: text/plain, Size: 503 bytes --]

Hi,
I am using the same device (/dev/sda2) for data and hash with --hash-offset
set. The hash offset is set to 4096 added to the total space used in
/dev/sda. When I verify the verity target without activating, it succeeds
and gives valid (V) status. However, when I try to load it during boot, it
gives an error with corruption at 0 and 1 block and is stuck in the boot
loop.

Is there something wrong I am doing with the hash-offset? Any help or
guidance would be really appreciated.


Thanks,
Aditya

[-- Attachment #1.2: Type: text/html, Size: 609 bytes --]

[-- Attachment #2: Type: text/plain, Size: 147 bytes --]

_______________________________________________
dm-crypt mailing list -- dm-crypt@saout.de
To unsubscribe send an email to dm-crypt-leave@saout.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-25  1:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20 11:22 [dm-crypt] [DM-Verity] Corruption after activation during boot Aditya Prakash
2021-03-24  8:57 ` [dm-crypt] " Tom Eccles
2021-03-24  9:45   ` Milan Broz
2021-03-24 23:51     ` Aditya Prakash
2021-03-25  0:10       ` Milan Broz
2021-03-25  1:24         ` Aditya Prakash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).